Matrix.Subtract<T>(Vector<T>, Dimension, Vector<T>) Method
Subtracts one broadcast vector from another to form a matrix.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A matrix whose elements are the sum of the corresponding elements of left and right.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> Subtract<T>(
Vector<T> left,
Dimension leftBroadcastDimension,
Vector<T> right
)
Parameters
- left Vector<T>
- A matrix.
- leftBroadcastDimension Dimension
- A value that specifies whether the elements in left should be broadcast across rows or columns.
- right Vector<T>
- A vector.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the sum of the corresponding elements of left and right.
Exceptions
Argument | left is null -or- right is null |