Raises the elements of a matrix to an integer power
from the corresponding elements in another matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> ElementwisePowInto<T>(
Matrix<T> left,
Matrix<int> right,
Matrix<T> result
)
Public Shared Function ElementwisePowInto(Of T) (
left As Matrix(Of T),
right As Matrix(Of Integer),
result As Matrix(Of T)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ ElementwisePowInto(
Matrix<T>^ left,
Matrix<int>^ right,
Matrix<T>^ result
)
static member ElementwisePowInto :
left : Matrix<'T> *
right : Matrix<int> *
result : Matrix<'T> -> Matrix<'T>
Parameters
- left
- Type: Extreme.MathematicsMatrixT
A matrix. - right
- Type: Extreme.MathematicsMatrixInt32
A matrix. - result
- Type: Extreme.MathematicsMatrixT
The matrix that is to hold the result. May be .
Type Parameters
- T
Return Value
Type:
MatrixTA matrix whose elements are equal to
the elements of
left raised to a power with exponent
equal to the corresponding element of
right .
Reference