Hermitian Matrix<T>.Subtract Outer Product In Place Method
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
Overload List
| Subtract | Updates the matrix by subtracting the outer product of a vector with itself. |
| Subtract | Updates a Hermitian matrix by subtracting the product of a matrix and its transpose. |
| Subtract | Updates a Hermitian matrix by subtracting the outer product of a vector and its conjugate transpose. |
| Subtract | Updates the matrix by subtracting the outer product of two vectors. |
SubtractOuterProductInPlace(Matrix<T>, MatrixOperationSide)
Updates a Hermitian matrix by subtracting the product
of a matrix and its transpose.
public HermitianMatrix<T> SubtractOuterProductInPlace(
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>. |
SubtractOuterProductInPlace(Vector<T>, MatrixOperationSide)
Updates a Hermitian matrix by subtracting the outer product of a
vector and its conjugate transpose.
public HermitianMatrix<T> SubtractOuterProductInPlace(
Vector<T> vector,
MatrixOperationSide side = MatrixOperationSide.Right
)Parameters
- vector Vector<T>
- A Vector<T>.
- side MatrixOperationSide (Optional)
- Optional. Specifies whether the conjugate-transposed vector is the left or right operand. The default is Right.
Return Value
HermitianMatrix<T>A reference to this instance.
Exceptions
| Argument | vector is null. |
| Dimension | The length of vector does not equal the number of rows in this HermitianMatrix<T>. |