ILinear Algebra Operations<T>.Triangular Multiply In Place Method
Definition
Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Triangular | Product of a triangular matrix and a vector. |
Triangular | Product of a triangular and a general matrix. |
TriangularMultiplyInPlace(MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)
Product of a triangular matrix and a vector.
void TriangularMultiplyInPlace(
MatrixTriangle storedTriangle,
TransposeOperation transposeOperation,
MatrixDiagonal diagonal,
int n,
ReadOnlySpan<T> a,
int lda,
Span<T> x,
int incx
)
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 the matrix is unit triangular.
- n Int32
- The number of rows and columns in the matrix a.
- a ReadOnlySpan<T>
- A span that contains the elements of the matrix.
- lda Int32
- The leading dimension of the matrix a.
- x Span<T>
- A span containing the elements of the vector x. The elements of x are overwritten with the result.
- incx Int32
- The distance between elements in x.
Remarks
This method is similar to the BLAS routine DTRMV.
TriangularMultiplyInPlace(MatrixOperationSide, MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Int32, T, ReadOnlySpan<T>, Int32, Span<T>, Int32)
Product of a triangular and a general matrix.
void TriangularMultiplyInPlace(
MatrixOperationSide side,
MatrixTriangle storedTriangle,
TransposeOperation transA,
MatrixDiagonal diag,
int m,
int n,
T alpha,
ReadOnlySpan<T> a,
int lda,
Span<T> b,
int ldb
)
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 the matrix 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 ReadOnlySpan<T>
- A span that contains the elements of the first matrix.
- lda Int32
- The leading dimension of the matrix a.
- b Span<T>
- A span that contains the elements of the second matrix.
- ldb Int32
- The leading dimension of the matrix b.