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