Matrix<T>.Subtract In Place(Vector<T>, Dimension) Method
Subtracts a vector broadcast along the specified dimension from this matrix in-place.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A reference to this instance.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public Matrix<T> SubtractInPlace(
Vector<T> vector,
Dimension broadcastDimension
)
Parameters
- vector Vector<T>
- The vector to broadcast and subtract.
- broadcastDimension Dimension
- A value that specifies whether the elements in vector should be broadcast across rows or columns.
Return Value
Matrix<T>A reference to this instance.
Exceptions
Argument | vector is null |
Dimension | The length of vector does not equal the length of this instance. |