Hermitian Matrix<T>.From 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
From | Constructs a new Hermitian matrix by multiplying a matrix by its transpose. |
From | Constructs a new Hermitian matrix by multiplying a matrix on the left and the right by another matrix and its transpose. |
FromOuterProduct(Matrix<T>, MatrixOperationSide)
Constructs a new Hermitian matrix by multiplying a matrix
by its transpose.
public static HermitianMatrix<T> FromOuterProduct(
Matrix<T> matrix,
MatrixOperationSide side = MatrixOperationSide.Right
)
Parameters
- matrix Matrix<T>
- A Matrix<T>.
- side MatrixOperationSide (Optional)
- Specifies whether the transposed matrix is the left or right operand.
Return Value
HermitianMatrix<T>The new HermitianMatrix<T>.
Remarks
This method uses the BLAS routine ZHERK.
Exceptions
Argument | matrix is null. |
FromOuterProduct(Matrix<T>, Matrix<T>, MatrixOperationSide)
Constructs a new Hermitian matrix
by multiplying a matrix on the left and the right by another matrix and its transpose.
public static HermitianMatrix<T> FromOuterProduct(
Matrix<T> matrix,
Matrix<T> middleMatrix,
MatrixOperationSide side
)
Parameters
- matrix Matrix<T>
- A Matrix<T>.
- middleMatrix Matrix<T>
- The matrix
- side MatrixOperationSide
- Specifies whether the transposed matrix is the left or right operand.
Return Value
HermitianMatrix<T>The new HermitianMatrix<T>.
Exceptions
Argument | matrix is null. |