SymmetricMatrix<T>.FromOuterProduct Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

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

FromOuterProduct(Matrix<T>)

Constructs a new symmetric matrix by multiplying a matrix on the left by its transpose.
C#
public static SymmetricMatrix<T> FromOuterProduct(
	Matrix<T> matrix
)

Parameters

matrix  Matrix<T>
A Matrix<T>.

Return Value

SymmetricMatrix<T>
The new SymmetricMatrix<T>.

Remarks

This method uses the BLAS routine DSYRK.

Exceptions

ArgumentNullExceptionmatrix is null

FromOuterProduct(Matrix<T>, MatrixOperationSide)

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

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

ArgumentNullExceptionmatrix is null

See Also