DistributedMatrix<T>.ElementwisePowCore Method

Definition

Namespace: Numerics.NET.Distributed
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

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