Matrix.Elementwise Pow<T>(Matrix<T>, Matrix<Int 32>) Method
Raises the elements of a matrix to an integer power
from the corresponding elements in another matrix.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A new matrix whose elements are equal to the elements of left raised to the power with exponent the corresponding element in right .
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> ElementwisePow<T>(
Matrix<T> left,
Matrix<int> right
)
Parameters
Type Parameters
- T
Return Value
Matrix<T>A new matrix whose elements are equal to the elements of left raised to the power with exponent the corresponding element in right .
Exceptions
Argument | left is null -or- right is null |
Dimension | The length of left does not equal the length of right. |