Click or drag to resize

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.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatVector Pow(
	FloatVector v,
	float x
)

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