Click or drag to resize

VectorMathPow Method (Vector, Double, Vector)

Raises each element of a vector to the constant power. And rewrite original vector with operation result.

Namespace:  FinMath
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static void Pow(
	this Vector data,
	double degree,
	Vector result
)

Parameters

data
Type: FinMath.LinearAlgebraVector
Vector of operation arguments.
degree
Type: SystemDouble
Scalar value that is the constant power.
result
Type: FinMath.LinearAlgebraVector
Vector to store operation results.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also