Matrix.Elementwise Pow Into<T>(Matrix<T>, Matrix<T>, 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#
A matrix whose elements are equal to the elements of left raised to a power with exponent equal to the corresponding element of right .
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> ElementwisePowInto<T>(
Matrix<T> left,
Matrix<T> right,
Matrix<T> result
)
Parameters
- left Matrix<T>
- A matrix.
- right Matrix<T>
- A matrix.
- 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 equal to the elements of left raised to a power with exponent equal to the corresponding element of right .
Exceptions
Argument | left is null -or- right is null |
Dimension | The length of left does not equal the length of right. |