Click or drag to resize

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

Parameters

v  DoubleVector
Vector of values for the first parameter.
x  Double
An exponent.

Return Value

DoubleVector
Remarks
u[i] = System.Math.Pow(v[i], x)
See Also