.. index:: pair: class; gpr::linalg::linop::DenseResultCache .. _doxid-classgpr_1_1linalg_1_1linop_1_1_dense_result_cache: class gpr::linalg::linop::DenseResultCache ========================================== .. toctree:: :hidden: Overview ~~~~~~~~ Results of the dense backend for the factor they were computed from. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class DenseResultCache { public: // methods const :ref:`EigenMatrix`* :target:`inverse`(const :ref:`EigenMatrix`& factor) const; void :target:`storeInverse`(const :ref:`EigenMatrix`& factor, const :ref:`EigenMatrix`& inverse); void :target:`clear`(); long :ref:`inverseEvaluations`() const; }; .. _details-classgpr_1_1linalg_1_1linop_1_1_dense_result_cache: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Results of the dense backend for the factor they were computed from. A hit requires the factor to be equal entry for entry, so a hit returns the bits a recomputation would. Only the inverse is kept: the entry compare costs O(n^2) per call, which an O(n^3) inverse repays and a variance diagonal, already cached upstream by the variance solve, does not. Methods ------- .. index:: pair: function; inverseEvaluations .. _doxid-classgpr_1_1linalg_1_1linop_1_1_dense_result_cache_1a5a31a50973301349d0e0a45ce724858d: .. ref-code-block:: cpp :class: doxyrest-title-code-block long inverseEvaluations() const Evaluations that missed, for tests.