Vector<T>.ElementwisePowCore Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

ElementwisePowCore(Int32, Vector<T>) Raises the element of a vector to a constant power.
ElementwisePowCore(T, Vector<T>) Raises the element of a vector to a constant power.

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

Raises the element of a vector to a constant power.
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.

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

Raises the element of a vector to a constant power.
C#
protected virtual Vector<T> ElementwisePowCore(
	T exponent,
	Vector<T> result
)

Parameters

exponent  T
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