Updates a symmetric matrix with the scaled outer product
of a vector and a transposed vector.
Namespace: Extreme.Mathematics.Generic.LinearAlgebraAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public SymmetricMatrix<T> AddSymmetricOuterProduct(
T factor,
Vector<T> left,
Vector<T> right
)
Public Function AddSymmetricOuterProduct (
factor As T,
left As Vector(Of T),
right As Vector(Of T)
) As SymmetricMatrix(Of T)
public:
SymmetricMatrix<T>^ AddSymmetricOuterProduct(
T factor,
Vector<T>^ left,
Vector<T>^ right
)
member AddSymmetricOuterProduct :
factor : 'T *
left : Vector<'T> *
right : Vector<'T> -> SymmetricMatrix<'T>
Parameters
- factor
- Type: T
The scale factor. - left
- Type: Extreme.Mathematics.GenericVectorT
A VectorT. - right
- Type: Extreme.Mathematics.GenericVectorT
A VectorT.
Return Value
Type:
SymmetricMatrixTA reference to this instance.
The symmetric outer product of two vectors A and B
is defined as ABT + BAT. Where an outer product of
two vectors is in general not symmetrical, adding the transpose ensures that
the result is symmetrical.
The length of left must equal
the number of rows and columns of this instance.
This method uses the level 2 BLAS routine DSYR2.
Numerical Libraries
Supported in: 5.x, 4.x
Reference