DistributedMatrix<T>.ElementwisePowCore Method

Definition

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

Overload List

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

ElementwisePowCore(T, Matrix<T>)

Raises the element of a matrix to a constant power.
C#
protected override Matrix<T> ElementwisePowCore(
	T exponent,
	Matrix<T> result
)

Parameters

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

ElementwisePowCore(Int32, Matrix<T>)

Raises the element of a matrix to a constant power.
C#
protected override 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