10#ifndef TLAPACK_TRTRI_RECURSIVE_HH
11#define TLAPACK_TRTRI_RECURSIVE_HH
47template <TLAPACK_UPLO uplo_t, TLAPACK_SMATRIX matrix_t>
58 const idx_t n = nrows(
C);
73 if (
C(0, 0) !=
zero) {
79 "A diagonal of entry of triangular "
80 "matrix is exactly zero.");
100 "A diagonal of entry of triangular "
101 "matrix is exactly zero.");
109 "A diagonal of entry of triangular "
110 "matrix is exactly zero.");
132 "A diagonal of entry of triangular "
133 "matrix is exactly zero.");
141 "A diagonal of entry of triangular "
142 "matrix is exactly zero.");
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
int trtri_recursive(uplo_t uplo, Diag diag, matrix_t &C, const EcOpts &opts={})
TRTRI computes the inverse of a triangular matrix in-place Input is a triangular matrix,...
Definition trtri_recursive.hpp:48
#define tlapack_error_if(cond, info, detailedInfo)
Error handler with conditional.
Definition exceptionHandling.hpp:171
#define tlapack_check_false(cond)
Throw an error if cond is true.
Definition exceptionHandling.hpp:113
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 internal::LowerTriangle LOWER_TRIANGLE
Lower Triangle access.
Definition types.hpp:188
constexpr internal::UpperTriangle UPPER_TRIANGLE
Upper Triangle access.
Definition types.hpp:186
Diag
Definition types.hpp:197
@ Unit
The main diagonal is assumed to consist of 1's.
@ NonUnit
The main diagonal is not assumed to consist of 1's.
constexpr internal::RightSide RIGHT_SIDE
right side
Definition types.hpp:296
constexpr auto diag(T &A, int diagIdx=0) noexcept
Get the Diagonal of an Eigen Matrix.
Definition eigen.hpp:576
@ Upper
0 <= i <= j, 0 <= j <= n.
@ Lower
0 <= i <= m, 0 <= j <= i.
constexpr internal::NoTranspose NO_TRANS
no transpose
Definition types.hpp:260
constexpr internal::LeftSide LEFT_SIDE
left side
Definition types.hpp:294
Options for error checking.
Definition exceptionHandling.hpp:76