Definition at line 928 of file Schur.cpp.
◆ invertMat()
Definition at line 930 of file Schur.cpp.
933 const auto nb =
m.size1();
935 if (nb !=
m.size2()) {
937 "It should be square matrix %d != %d", nb,
m.size2());
941 inv.resize(nb, nb,
false);
943 m.resize(2 * nb, 2 * nb,
false);
950 info =
lapack_dgetrf(nb, nb, &*inv.data().begin(), nb, &*ipiv.begin());
953 "lapack error info = %d", info);
954 info =
lapack_dgetri(nb, &*inv.data().begin(), nb, &*ipiv.begin(),
955 &*
m.data().begin(),
m.data().size());
958 "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)