Raises the elements of a matrix to a power
from the corresponding elements in a vector broadcast along the specified dimension.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> ElementwisePowInto<T>(
Matrix<T> left,
Vector<int> right,
Dimension broadcastDimension,
Matrix<T> result
)
Public Shared Function ElementwisePowInto(Of T) (
left As Matrix(Of T),
right As Vector(Of Integer),
broadcastDimension As Dimension,
result As Matrix(Of T)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ ElementwisePowInto(
Matrix<T>^ left,
Vector<int>^ right,
Dimension broadcastDimension,
Matrix<T>^ result
)
static member ElementwisePowInto :
left : Matrix<'T> *
right : Vector<int> *
broadcastDimension : Dimension *
result : Matrix<'T> -> Matrix<'T>
Parameters
- left
- Type: Extreme.MathematicsMatrixT
A matrix. - right
- Type: Extreme.MathematicsVectorInt32
A vector. - broadcastDimension
- Type: Extreme.MathematicsDimension
A value that specifies whether the elements
in right should be broadcast across rows or columns. - 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 product of the corresponding elements of
left and
right.
Reference