DenseMatrix<T>.AddConjugateOuterProductInPlace Method

Definition

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

Overload List

AddConjugateOuterProductInPlace(Vector<T>) Updates a matrix with the scaled conjugate outer product of two vectors.
AddConjugateOuterProductInPlace(T, Vector<T>) Updates a matrix with the scaled conjugate outer product of two vectors.
AddConjugateOuterProductInPlace(T, Vector<T>, Vector<T>) Updates a matrix with the scaled conjugate outer product of two vectors.

AddConjugateOuterProductInPlace(Vector<T>)

Updates a matrix with the scaled conjugate outer product of two vectors.
C#
public DenseMatrix<T> AddConjugateOuterProductInPlace(
	Vector<T> vector
)

Parameters

vector  Vector<T>
The vector.

Return Value

DenseMatrix<T>
A reference to this instance.

Remarks

The length of vector must equal the number of rows and columns of this matrix.

This operation is sometimes called vector rank-1 update.

Exceptions

ArgumentNullException

vector is null.

DimensionMismatchException

The length of vector does not equal the number of rows or columns in this matrix.

AddConjugateOuterProductInPlace(T, Vector<T>)

Updates a matrix with the scaled conjugate outer product of two vectors.
C#
public DenseMatrix<T> AddConjugateOuterProductInPlace(
	T factor,
	Vector<T> vector
)

Parameters

factor  T
The scale factor.
vector  Vector<T>
The vector.

Return Value

DenseMatrix<T>
A reference to this instance.

Remarks

The length of vector must equal the number of rows and columns of this matrix.

This operation is sometimes called vector rank-1 update.

Exceptions

ArgumentNullException

vector is null.

DimensionMismatchException

The length of vector does not equal the number of rows or columns in this matrix.

AddConjugateOuterProductInPlace(T, Vector<T>, Vector<T>)

Updates a matrix with the scaled conjugate outer product of two vectors.
C#
public DenseMatrix<T> AddConjugateOuterProductInPlace(
	T factor,
	Vector<T> left,
	Vector<T> right
)

Parameters

factor  T
The scale factor.
left  Vector<T>
The first (column) vector.
right  Vector<T>
The second (row) vector.

Return Value

DenseMatrix<T>
A reference to this instance.

Remarks

The length of the vector left must equal the number of rows of this matrix. The length of the vector right must equal the number of columns of this matrix. If either condition is violated, an exception of type DimensionMismatchException is thrown.

This operation is sometimes called left rank-1 update.

Exceptions

ArgumentNullException

left is null.

-or-

right is null.

DimensionMismatchException

The length of left does not equal the number of rows in this matrix, or the length of left does not equal the number of columns.

See Also