Vector<T>.ElementwisePowCore(Int32, Vector<T>) Method

Raises the element of a vector to a constant power.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
protected virtual Vector<T> ElementwisePowCore(
	int exponent,
	Vector<T> result
)

Parameters

exponent  Int32
A number.
result  Vector<T>
The vector that is to hold the result. May be null.

Return Value

Vector<T>
A vector whose elements are the corresponding elements of this vector raised to the power exponent.

See Also