Skip to content
fn

dtrsm

void dtrsm(bool upper, bool unit_diag, int M, int N, const double * A, int lda, double * B, int ldb)

Double-precision triangular solve with a matrix right-hand side (TRSM).

Identical contract to strsm but for double buffers; dispatches to cblas_dtrsm.

Math

X=A−1BX = A^{-1} B

References

Accelerate.framework cblas_dtrsm.

Parameters

upperbool
Whether AA is upper or lower triangular.
unit_diagbool
Treat the diagonal of AA as all ones.
M, Nint
A∈RM×MA \in \mathbb{R}^{M \times M}, B∈RM×NB \in \mathbb{R}^{M \times N}.
Aconst double*
Row-major triangular matrix buffer.
ldaint
Leading dimension of AA.
Bdouble*
Row-major right-hand sides, replaced by the solution.
ldbint
Leading dimension of BB.