SymmetricMatrix<T>.SubtractOuterProduct Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

SubtractOuterProduct(Matrix<T>) Updates a symmetric matrix by subtracting the product of a matrix and its transpose.
SubtractOuterProduct(Vector<T>) Updates a symmetric matrix with the outer product of a vector and its transpose.

SubtractOuterProduct(Matrix<T>)

Updates a symmetric matrix by subtracting the product of a matrix and its transpose.
C#
public SymmetricMatrix<T> SubtractOuterProduct(
	Matrix<T> matrix
)

Parameters

matrix  Matrix<T>
A Matrix<T>.

Return Value

SymmetricMatrix<T>
A reference to this instance.

Remarks

This method uses the level 3 BLAS routine DSYRK.

Exceptions

DimensionMismatchException

The number of rows of matrix does not equal the number of rows in this SymmetricMatrix<T>.

SubtractOuterProduct(Vector<T>)

Updates a symmetric matrix with the outer product of a vector and its transpose.
C#
public SymmetricMatrix<T> SubtractOuterProduct(
	Vector<T> vector
)

Parameters

vector  Vector<T>
A Vector<T>.

Return Value

SymmetricMatrix<T>
A reference to this instance.

Exceptions

DimensionMismatchException

The length of vector does not equal the number of rows in this SymmetricMatrix<T>.

See Also