Raises the element of a matrix to a constant power.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public static Matrix<T> ElementwisePowInto<T>(
Matrix<T> matrix,
int exponent,
Matrix<T> result
)
Public Shared Function ElementwisePowInto(Of T) (
matrix As Matrix(Of T),
exponent As Integer,
result As Matrix(Of T)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ ElementwisePowInto(
Matrix<T>^ matrix,
int exponent,
Matrix<T>^ result
)
static member ElementwisePowInto :
matrix : Matrix<'T> *
exponent : int *
result : Matrix<'T> -> Matrix<'T>
Parameters
- matrix
- Type: Extreme.MathematicsMatrixT
A matrix. - exponent
- Type: SystemInt32
A number. - 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
the corresponding elements of
matrix
raised to the power
exponent.
Numerical Libraries
Supported in: 6.0
Reference