Hermitian Matrix<T>.Add Hermitian Outer Product Method
Definition
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Add | Updates a Hermitian matrix with the scaled outer product of a vector and its transpose. |
Add | Updates a Hermitian matrix with the scaled outer product of a vector and a transposed vector. |
AddHermitianOuterProduct(T, Matrix<T>, Matrix<T>)
public HermitianMatrix<T> AddHermitianOuterProduct(
T factor,
Matrix<T> matrix1,
Matrix<T> matrix2
)
Parameters
Return Value
HermitianMatrix<T>A reference to this instance.
Remarks
The Hermitian outer product of two vectors A and B is defined as ABT + BAT. Where an outer product of two vectors is in general not Hermitian, adding the transpose ensures that the result is Hermitian.
The length of matrix1 must equal the number of rows and columns of this instance.
This method uses the level 3 BLAS routine DSYR2K.
Exceptions
Argument | matrix1 is null.
-or- matrix2 is null. |
Dimension | The length of matrix1 or matrix2 does not equal the number of rows in this HermitianMatrix<T>. |
AddHermitianOuterProduct(T, Vector<T>, Vector<T>)
public HermitianMatrix<T> AddHermitianOuterProduct(
T factor,
Vector<T> left,
Vector<T> right
)
Parameters
Return Value
HermitianMatrix<T>A reference to this instance.
Remarks
The Hermitian outer product of two vectors A and B is defined as ABT + BAT. Where an outer product of two vectors is in general not Hermitian, adding the transpose ensures that the result is Hermitian.
The length of left must equal the number of rows and columns of this instance.
This method uses the level 2 BLAS routine DSYR2.
Exceptions
Argument | left is null.
-or- right is null. |
Dimension | The length of left or right does not equal the number of rows in this HermitianMatrix<T>. |