11#ifndef TLAPACK_TRSM_TRI
12#define TLAPACK_TRSM_TRI
71template <
typename matrixA_t,
typename matrixB_t, TLAPACK_SCALAR alpha_t>
82 using range = std::pair<idx_t, idx_t>;
97 for (idx_t j = 0; j < n; j++) {
98 for (idx_t i = 0; i < j + 1; i++) {
104 for (idx_t j = 0; j < n; j++) {
105 for (idx_t i = j; i < n; i++) {
void trmm_out(Side side, Uplo uplo, Op transA, Diag diag, Op transB, const alpha_t &alpha, const matrixA_t &A, const matrixB_t &B, const beta_t &beta, matrixC_t &C)
Triangular matrix-matrix multiply:
Definition trmm_out.hpp:82
void trsm_tri(Side sideA, Uplo uploB, Op transA, Diag diagA, const alpha_t &alpha, const matrixA_t &A, matrixB_t &B)
Solve the triangular matrix-vector equation.
Definition trsm_tri.hpp:72
void trsm(Side side, Uplo uplo, Op trans, Diag diag, const alpha_t &alpha, const matrixA_t &A, matrixB_t &B)
Solve the triangular matrix-vector equation.
Definition trsm.hpp:76
Multiplies a matrix by a scalar.
Sort the numbers in D in increasing order (if ID = 'I') or in decreasing order (if ID = 'D' ).
Definition arrayTraits.hpp:15
typename traits::real_type_traits< Types..., int >::type real_type
The common real type of the list of types.
Definition scalar_type_traits.hpp:113
constexpr T conj(const T &x) noexcept
Extends std::conj() to real datatypes.
Definition utils.hpp:100
Diag
Definition types.hpp:197
@ NonUnit
The main diagonal is not assumed to consist of 1's.
Side
Definition types.hpp:271
Op
Definition types.hpp:227
@ ConjTrans
conjugate transpose
Uplo
Definition types.hpp:50
@ Upper
0 <= i <= j, 0 <= j <= n.
@ Lower
0 <= i <= m, 0 <= j <= i.