SymmetricMatrix<T>.SubtractOuterProduct Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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

DimensionMismatchExceptionThe 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

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

See Also