Click or drag to resize

VectorMathPow Method (Double, Int32, Double, Double, Int32, Int32)

Raises each element of an array to the constant power. And rewrite original Array with operation result.

Namespace:  FinMath
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static void Pow(
	this double[] data,
	int dataOffset,
	double degree,
	double[] result,
	int resultOffset,
	int length
)

Parameters

data
Type: SystemDouble
Array of operation arguments.
dataOffset
Type: SystemInt32
Start offset in data array.
degree
Type: SystemDouble
Scalar value that is the constant power.
result
Type: SystemDouble
Array to store operation results.
resultOffset
Type: SystemInt32
Start offset in result array.
length
Type: SystemInt32
Number of computations to perform.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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