class gpr::linalg::linop::DenseResultCache¶
Overview¶
Results of the dense backend for the factor they were computed from. More…
#include <gpr/linalg/linop/CovarianceSolver.h>
class DenseResultCache {
public:
// methods
const EigenMatrix* inverse(const EigenMatrix& factor) const;
void storeInverse(const EigenMatrix& factor, const EigenMatrix& inverse);
void clear();
long inverseEvaluations() const;
};
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¶
long inverseEvaluations() const
Evaluations that missed, for tests.