Vector<T>.ElementwisePowCore Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

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.

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.

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