Definition at line 510 of file Schur.cpp.
◆ invertMat()
Definition at line 511 of file Schur.cpp.
515 const int nb =
m.size1();
518 for (
int cc = 0; cc != nb; ++cc) {
523 inv.resize(nb, nb,
false);
525 auto ptr = &*inv.data().begin();
526 for (
int c = 0;
c != nb; ++
c, ptr += nb + 1)
528 ipiv.resize(nb,
false);
529 lapack_work.resize(nb * nb,
false);
531 lapack_dsysv(
'L', nb, nb, &*
m.data().begin(), nb, &*ipiv.begin(),
532 &*inv.data().begin(), nb, &*lapack_work.begin(), nb * nb);
535 "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)