Linear Algebra Operations.Symmetric Rank Update Method
Definition
Namespace: Numerics.NET.LinearAlgebra
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 k update of a symmetric matrix. |
Symmetric | Performs a rank k update of a symmetric matrix. |
Symmetric | Performs a rank one update of a symmetric matrix. |
Symmetric | Performs a symmetric rank two update of a symmetric matrix. |
SymmetricRankUpdate<T, TStorage, TStorage2D>(MatrixTriangle, Int32, T, TStorage, TStorage2D)
Performs a rank one update of a symmetric matrix.
public static void SymmetricRankUpdate<T, TStorage, TStorage2D>(
MatrixTriangle storedTriangle,
int n,
T alpha,
TStorage x,
TStorage2D a
)
where TStorage : Object, IStorageSlice<T>
where TStorage2D : Object, IStorage2D<T>
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 TStorage
- A reference to a one-dimensional array containing the elements of the vector x.
- a TStorage2D
- A span that contains the elements of the matrix.
Type Parameters
- T
- TStorage
- TStorage2D
Remarks
This method is similar to the BLAS routine DSYR.
SymmetricRankUpdate<T, TStorage, TStorage2D>(MatrixTriangle, Int32, T, TStorage, TStorage, TStorage2D)
Performs a symmetric rank two update of a symmetric matrix.
public static void SymmetricRankUpdate<T, TStorage, TStorage2D>(
MatrixTriangle storedTriangle,
int n,
T alpha,
TStorage x,
TStorage y,
TStorage2D a
)
where TStorage : Object, IStorageSlice<T>
where TStorage2D : Object, IStorage2D<T>
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 TStorage
- A reference to a one-dimensional array containing the elements of the vector x.
- y TStorage
- A reference to a one-dimensional array containing the elements of the vector y.
- a TStorage2D
- A span that contains the elements of the matrix.
Type Parameters
- T
- TStorage
- TStorage2D
Remarks
This method is similar to the BLAS routine DSYR2.
SymmetricRankUpdate<T, TStorage2D>(MatrixTriangle, TransposeOperation, Int32, Int32, T, TStorage2D, T, TStorage2D)
Performs a rank k update of a symmetric matrix.
public static void SymmetricRankUpdate<T, TStorage2D>(
MatrixTriangle storedTriangle,
TransposeOperation trans,
int n,
int k,
T alpha,
TStorage2D a,
T beta,
TStorage2D c
)
where TStorage2D : Object, IStorage2D<T>
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 TStorage2D
- A span that contains the elements of the first matrix.
- beta T
- The scalar used to multiply c.
- c TStorage2D
- A span that contains the elements of the third matrix.
Type Parameters
- T
- TStorage2D
SymmetricRankUpdate<T, TStorage2D>(MatrixTriangle, TransposeOperation, Int32, Int32, T, TStorage2D, TStorage2D, T, TStorage2D)
Performs a rank k update of a symmetric matrix.
public static void SymmetricRankUpdate<T, TStorage2D>(
MatrixTriangle storedTriangle,
TransposeOperation trans,
int n,
int k,
T alpha,
TStorage2D a,
TStorage2D b,
T beta,
TStorage2D c
)
where TStorage2D : Object, IStorage2D<T>
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 TStorage2D
- A span that contains the elements of the first matrix.
- b TStorage2D
- A span that contains the elements of the second matrix.
- beta T
- The scalar used to multiply c.
- c TStorage2D
- A span that contains the elements of the third matrix.
Type Parameters
- T
- TStorage2D