Inertia after factorization

Python API

InertiaAfterLDL(d, dSub)
Parameters
  • d – A vector containing the main diagonal of \(D\)

  • dSub – A vector containing the subdiagonal of \(D\)

Return type

The resulting InertiaType instance

C++ API

InertiaType ldl::Inertia(const Matrix<Base<F>> &d, const Matrix<F> &dSub)
InertiaType ldl::Inertia(const AbstractDistMatrix<Base<F>> &d, const AbstractDistMatrix<F> &dSub)

C API

ElError ElInertiaAfterLDL_s(ElConstMatrix_s d, ElConstMatrix_s dSub, ElInertiaType* inertia)
ElError ElInertiaAfterLDL_d(ElConstMatrix_d d, ElConstMatrix_d dSub, ElInertiaType* inertia)
ElError ElInertiaAfterLDL_c(ElConstMatrix_s d, ElConstMatrix_c dSub, ElInertiaType* inertia)
ElError ElInertiaAfterLDL_z(ElConstMatrix_d d, ElConstMatrix_z dSub, ElInertiaType* inertia)
ElError ElInertiaAfterLDLDist_s(ElConstDistMatrix_s d, ElConstDistMatrix_s dSub, ElInertiaType* inertia)
ElError ElInertiaAfterLDLDist_d(ElConstDistMatrix_d d, ElConstDistMatrix_d dSub, ElInertiaType* inertia)
ElError ElInertiaAfterLDLDist_c(ElConstDistMatrix_s d, ElConstDistMatrix_c dSub, ElInertiaType* inertia)
ElError ElInertiaAfterLDLDist_z(ElConstDistMatrix_d d, ElConstDistMatrix_z dSub, ElInertiaType* inertia)