Symmetric Matrix<T>.Add Outer Product In Place Method
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
Overload List
| Add | Updates the matrix by adding the outer product of a vector with itself. |
| Add | Updates the matrix by adding the scaled outer product of a vector with itself. |
| Add | Updates the matrix by adding the outer product of two vectors. |
| Add | 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.
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.