Matrix.Elementwise Pow<T>(Vector<T>, Dimension, Matrix<T>) Method
Raises the elements of a vector broadcast along the specified dimension
to a power from the corresponding elements in a matrix
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A matrix whose elements are the product of the corresponding elements of left and right.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> ElementwisePow<T>(
Vector<T> left,
Dimension broadcastDimension,
Matrix<T> right
)
Parameters
- left Vector<T>
- A vector.
- broadcastDimension Dimension
- A value that specifies whether the elements in left should be broadcast across rows or columns.
- right Matrix<T>
- A matrox.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the product of the corresponding elements of left and right.
Exceptions
Argument | left is null -or- right is null |
Dimension | left and right do not have the same dimension. |