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