| NMathFunctionsPow(DoubleVector, Double) Method |
Creates a new vector with the same size as a given vector, whose values are the
result of applying the power function to each element of the vector with the
specified exponent.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleVector Pow(
DoubleVector v,
double x
)
Public Shared Function Pow (
v As DoubleVector,
x As Double
) As DoubleVector
public:
static DoubleVector^ Pow(
DoubleVector^ v,
double x
)
static member Pow :
v : DoubleVector *
x : float -> DoubleVector
Parameters
- v DoubleVector
- Vector of values for the first parameter.
- x Double
- An exponent.
Return Value
DoubleVectorRemarks u[i] = System.Math.Pow(v[i], x)
See Also