Matrix<T>.SubtractOuterProductInPlace Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0

Overload List

SubtractOuterProductInPlace(Vector<T>) Updates the matrix by subtracting the outer product of a vector with itself.
SubtractOuterProductInPlace(Vector<T>, Vector<T>) Updates the matrix by subtracting the outer product of two vectors.

SubtractOuterProductInPlace(Vector<T>)

Updates the matrix by subtracting the outer product of a vector with itself.
C#
public Matrix<T> SubtractOuterProductInPlace(
	Vector<T> vector
)

Parameters

vector  Vector<T>
A Vector<T>.

Return Value

Matrix<T>
A reference to this instance.

Exceptions

DimensionMismatchException

The length of vector does not equal the number of rows and columns of the matrix.

SubtractOuterProductInPlace(Vector<T>, Vector<T>)

Updates the matrix by subtracting the outer product of two vectors.
C#
public Matrix<T> SubtractOuterProductInPlace(
	Vector<T> left,
	Vector<T> right
)

Parameters

left  Vector<T>
The first (column) vector.
right  Vector<T>
The second (row) vector.

Return Value

Matrix<T>
A reference to this instance.

Exceptions

ArgumentNullException

left is null.

-or-

right is null.

DimensionMismatchException

The length of left does not equal the number of rows in this matrix, or the length of right does not equal the number of columns.

See Also