HermitianMatrix<T>.FromOuterProduct Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

FromOuterProduct(Matrix<T>, MatrixOperationSide) Constructs a new Hermitian matrix by multiplying a matrix by its transpose.
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.

FromOuterProduct(Matrix<T>, MatrixOperationSide)

Constructs a new Hermitian matrix by multiplying a matrix by its transpose.
C#
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

ArgumentNullException

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.
C#
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

ArgumentNullException

matrix is null.

See Also