public void power(double exp) /* Transforms all the scalar values in 'this' by the rule: * f' = f^exp */ { for (int k = 0; k < size; ++k) f[k] = (float) Math.pow(f[k], exp); }