Definition at line 964 of file Schur.cpp.
◆ invertMat()
Definition at line 966 of file Schur.cpp.
969 const auto nb =
m.size1();
971 if (nb !=
m.size2()) {
973 "It should be square matrix %d != %d", nb,
m.size2());
977 inv.resize(nb, nb,
false);
983 info =
lapack_dgetrf(nb, nb, &*inv.data().begin(), nb, &*ipiv.begin());
986 "lapack error info = %d", info);
987 info =
lapack_dgetri(nb, &*inv.data().begin(), nb, &*ipiv.begin(),
988 &*
m.data().begin(),
m.data().size());
991 "lapack error info = %d", info);
The documentation for this struct was generated from the following file:
static __CLPK_integer lapack_dgetri(__CLPK_integer n, __CLPK_doublereal *a, __CLPK_integer lda, __CLPK_integer *ipiv, __CLPK_doublereal *work, __CLPK_integer lwork)
static __CLPK_integer lapack_dgetrf(__CLPK_integer m, __CLPK_integer n, __CLPK_doublereal *a, __CLPK_integer lda, __CLPK_integer *ipiv)