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

Raises the element of a matrix to a constant power.

Definition

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

Parameters

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

Return Value

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

See Also