Hermitian Matrix<T>.Subtract Outer Product Method
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Subtract | Updates a Hermitian matrix by subtracting the product of a matrix and its transpose. |
Subtract | Updates a Hermitian matrix with the outer product of a vector and its transpose. |
SubtractOuterProduct(Matrix<T>, MatrixOperationSide)
Updates a Hermitian matrix by subtracting the product
of a matrix and its transpose.
public HermitianMatrix<T> SubtractOuterProduct(
Matrix<T> matrix,
MatrixOperationSide side = MatrixOperationSide.Right
)
Parameters
- matrix Matrix<T>
- A Matrix<T>.
- side MatrixOperationSide (Optional)
- Optional. Specifies whether the transposed matrix is the left or right operand. The default is Right.
Return Value
HermitianMatrix<T>A reference to this instance.
Remarks
This method uses the level 3 BLAS routine ZHERK.
Exceptions
Dimension | The number of rows of matrix does not equal the number of rows in this HermitianMatrix<T>. |
SubtractOuterProduct(Vector<T>, MatrixOperationSide)
Updates a Hermitian matrix with the outer product of
a vector and its transpose.
public HermitianMatrix<T> SubtractOuterProduct(
Vector<T> vector,
MatrixOperationSide side = MatrixOperationSide.Right
)
Parameters
- vector Vector<T>
- A Vector<T>.
- side MatrixOperationSide (Optional)
- Optional. Specifies whether the transposed vector is the left or right operand. The default is Right.
Return Value
HermitianMatrix<T>A reference to this instance.
Exceptions
Dimension | The length of vector does not equal the number of rows in this HermitianMatrix<T>. |