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

Raises the elements of a matrix to a power from the corresponding elements in another matrix.

Definition

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

Parameters

right  Matrix<Int32>
The matrix that contains the exponents.
result  Matrix<T>
The matrix that is to hold the result. May be null.

Return Value

Matrix<T>
A matrix whose elements are the quotient of the corresponding elements of this matrix and right.

Exceptions

DimensionMismatchException This matrix and right do not have the same length.

See Also