Raises the elements of a matrix to an integer power
from the corresponding elements in another matrix.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static Matrix<T> ElementwisePow<T>(
Matrix<T> left,
Matrix<int> right
)
Public Shared Function ElementwisePow(Of T) (
left As Matrix(Of T),
right As Matrix(Of Integer)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ ElementwisePow(
Matrix<T>^ left,
Matrix<int>^ right
)
static member ElementwisePow :
left : Matrix<'T> *
right : Matrix<int> -> Matrix<'T>
Parameters
- left
- Type: Extreme.MathematicsMatrixT
A matrix. - right
- Type: Extreme.MathematicsMatrixInt32
A matrix containing exponents.
Type Parameters
- T
Return Value
Type:
MatrixTA new matrix whose elements are equal to
the elements of
left raised to the power with exponent
the corresponding element in
right .
Numerical Libraries
Supported in: 6.0
Reference