Matrix.Elementwise Pow<T>(Matrix<T>, Int 32) 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> ElementwisePow<T>(
Matrix<T> matrix,
int exponent
)
Parameters
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 |