| NMathFunctionsPow(FloatVector, Single) 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 given vector.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatVector Pow(
FloatVector v,
float x
)
Public Shared Function Pow (
v As FloatVector,
x As Single
) As FloatVector
public:
static FloatVector^ Pow(
FloatVector^ v,
float x
)
static member Pow :
v : FloatVector *
x : float32 -> FloatVector
Parameters
- v FloatVector
- A vector.
- x Single
- An exponent.
Return Value
FloatVector
A new vector with the same size as
v, whose values are the
result of applying the power function to each element of
v.
Remarks u[i] = System.Math.Pow(v[i], x)
See Also