ILinear Algebra Operations<T, TVector, TMatrix>.Symmetric Rank Update Method
Definition
Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Symmetric | Performs a rank one update of a symmetric matrix. |
Symmetric | Performs a symmetric rank two update of a symmetric matrix. |
Symmetric | Performs a rank k update of a symmetric matrix. |
Symmetric | Performs a rank k update of a symmetric matrix. |
SymmetricRankUpdate(MatrixTriangle, Int32, T, TVector, TMatrix)
Performs a rank one update of a symmetric matrix.
void SymmetricRankUpdate(
MatrixTriangle storedTriangle,
int n,
T alpha,
TVector x,
TMatrix a
)
Parameters
- storedTriangle MatrixTriangle
- Specifies whether the matrix is an upper or lower triangular matrix.
- n Int32
- The number of rows and columns in the matrix a.
- alpha T
- The scalar used to multiply the outer product.
- x TVector
- A reference to a one-dimensional array containing the elements of the vector x.
- a TMatrix
- A span that contains the elements of the matrix.
Remarks
This method is similar to the BLAS routine DSYR.
SymmetricRankUpdate(MatrixTriangle, Int32, T, TVector, TVector, TMatrix)
Performs a symmetric rank two update of a symmetric matrix.
void SymmetricRankUpdate(
MatrixTriangle storedTriangle,
int n,
T alpha,
TVector x,
TVector y,
TMatrix a
)
Parameters
- storedTriangle MatrixTriangle
- Specifies whether the matrix is an upper or lower triangular matrix.
- n Int32
- The number of rows and columns in the matrix a.
- alpha T
- The scalar used to multiply the outer product.
- x TVector
- A reference to a one-dimensional array containing the elements of the vector x.
- y TVector
- A reference to a one-dimensional array containing the elements of the vector y.
- a TMatrix
- A span that contains the elements of the matrix.
Remarks
This method is similar to the BLAS routine DSYR2.
SymmetricRankUpdate(MatrixTriangle, TransposeOperation, Int32, Int32, T, TMatrix, T, TMatrix)
Performs a rank k update of a symmetric matrix.
void SymmetricRankUpdate(
MatrixTriangle storedTriangle,
TransposeOperation trans,
int n,
int k,
T alpha,
TMatrix a,
T beta,
TMatrix c
)
Parameters
- storedTriangle MatrixTriangle
- Specifies whether the elements of the matrix a are stored in the upper or lower triangular part.
- trans TransposeOperation
- Specifies the operation to be performed on the matrix a.
- n Int32
- The number of rows and columns in the matrix c.
- k Int32
- The number of columns in the matrix a transformed as specified by trans.
- alpha T
- The scalar used to multiply the matrix-matrix product.
- a TMatrix
- A span that contains the elements of the first matrix.
- beta T
- The scalar used to multiply c.
- c TMatrix
- A span that contains the elements of the third matrix.
SymmetricRankUpdate(MatrixTriangle, TransposeOperation, Int32, Int32, T, TMatrix, TMatrix, T, TMatrix)
Performs a rank k update of a symmetric matrix.
void SymmetricRankUpdate(
MatrixTriangle storedTriangle,
TransposeOperation trans,
int n,
int k,
T alpha,
TMatrix a,
TMatrix b,
T beta,
TMatrix c
)
Parameters
- storedTriangle MatrixTriangle
- Specifies whether the elements of the matrix a are stored in the upper or lower triangular part.
- trans TransposeOperation
- Specifies the operation to be performed on the matrix a.
- n Int32
- The number of rows and columns in the matrix c.
- k Int32
- The number of columns in the matrix a transformed as specified by trans.
- alpha T
- The scalar used to multiply the matrix-matrix product.
- a TMatrix
- A span that contains the elements of the first matrix.
- b TMatrix
- A span that contains the elements of the second matrix.
- beta T
- The scalar used to multiply c.
- c TMatrix
- A span that contains the elements of the third matrix.