Matrix.Elementwise Pow Into<T>(Matrix<T>, T, 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#
A matrix whose elements are the corresponding elements of matrix raised to the power exponent.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> ElementwisePowInto<T>(
Matrix<T> matrix,
T exponent,
Matrix<T> result
)
Parameters
- matrix Matrix<T>
- A matrix.
- exponent T
- A number.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the corresponding elements of matrix raised to the power exponent.
Exceptions
Argument | matrix is null |