Linear Algebra Operations.Triangular Multiply In Place 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
Triangular | Product of a triangular and a general matrix. |
Triangular | Product of a triangular matrix and a vector. |
TriangularMultiplyInPlace<T, TStorage, TStorage2D>(MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, TStorage2D, TStorage)
Product of a triangular matrix and a vector.
public static void TriangularMultiplyInPlace<T, TStorage, TStorage2D>(
MatrixTriangle storedTriangle,
TransposeOperation transposeOperation,
MatrixDiagonal diagonal,
int n,
TStorage2D a,
TStorage x
)
where TStorage : Object, IStorageSlice<T>
where TStorage2D : Object, IStorage2D<T>
Parameters
- storedTriangle MatrixTriangle
- Specifies whether the matrix is an upper or lower triangular matrix.
- transposeOperation TransposeOperation
- Specifies the operation to be performed on the matrix a.
- diagonal MatrixDiagonal
- Specifies whether or not a is unit triangular.
- n Int32
- The number of rows and columns in the matrix a.
- a TStorage2D
- A span that contains the elements of the matrix.
- x TStorage
- A reference to a one-dimensional array containing the elements of the vector x. The elements of x are overwritten with the result.
Type Parameters
- T
- TStorage
- TStorage2D
Remarks
This method is similar to the BLAS routine DTRMV.
TriangularMultiplyInPlace<T, TStorage2D>(MatrixOperationSide, MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Int32, T, TStorage2D, TStorage2D)
Product of a triangular and a general matrix.
public static void TriangularMultiplyInPlace<T, TStorage2D>(
MatrixOperationSide side,
MatrixTriangle storedTriangle,
TransposeOperation transA,
MatrixDiagonal diag,
int m,
int n,
T alpha,
TStorage2D a,
TStorage2D b
)
where TStorage2D : Object, IStorage2D<T>
Parameters
- side MatrixOperationSide
- Specifies on which side the triangular matrix a is to be multiplied.
- storedTriangle MatrixTriangle
- Specifies whether the elements of the matrix a are stored in the upper or lower triangular part.
- transA TransposeOperation
- Specifies the operation to be performed on the matrix a.
- diag MatrixDiagonal
- Specifies whether or not a is unit triangular.
- m Int32
- The number of rows in the matrix a and the number of columns of the matrix b.
- n Int32
- The number of columns in the matrix b and the matrix b.
- alpha T
- The scalar used to multiply the matrix-vector 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.
Type Parameters
- T
- TStorage2D