Definition at line 1147 of file Schur.cpp.
◆ invertMat()
Definition at line 1148 of file Schur.cpp.
1152 auto &
m = row_ptr->getMat();
1156 const int nb =
m.size1();
1159 for (
int cc = 0; cc != nb; ++cc) {
1164 inv.resize(nb, nb,
false);
1166 auto ptr = &*inv.data().begin();
1167 for (
int c = 0;
c != nb; ++
c, ptr += nb + 1)
1169 ipiv.resize(nb,
false);
1170 lapack_work.resize(nb * nb,
false);
1172 lapack_dsysv(
'L', nb, nb, &*
m.data().begin(), nb, &*ipiv.begin(),
1173 &*inv.data().begin(), nb, &*lapack_work.begin(), nb * nb);
1176 "Can not invert matrix info = %d", info);
The documentation for this struct was generated from the following file:
static __CLPK_integer lapack_dsysv(char uplo, __CLPK_integer n, __CLPK_integer nrhs, __CLPK_doublereal *a, __CLPK_integer lda, __CLPK_integer *ipiv, __CLPK_doublereal *b, __CLPK_integer ldb, __CLPK_doublereal *work, __CLPK_integer lwork)