SymmetricMatrix<T>.AddOuterProductInPlace Method

Definition

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

Overload List

AddOuterProductInPlace(Vector<T>) Updates the matrix by adding the outer product of a vector with itself.
AddOuterProductInPlace(T, Vector<T>) Updates the matrix by adding the scaled outer product of a vector with itself.
AddOuterProductInPlace(Vector<T>, Vector<T>) Updates the matrix by adding the outer product of two vectors.
AddOuterProductInPlace(T, Vector<T>, Vector<T>) Updates this symmetric matrix by adding the scaled outer product of two vectors.

AddOuterProductInPlace(T, Vector<T>, Vector<T>)

Updates this symmetric matrix by adding the scaled outer product of two vectors.
C#
public override Matrix<T> AddOuterProductInPlace(
	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

Matrix<T>
A reference to this instance.

Remarks

For symmetric matrices, when left and right are the same vector, this uses the optimized level 2 BLAS routine DSYR. Otherwise, it falls back to the general implementation.

See Also