.. index:: pair: struct; gpr::ski::DSkipReport .. _doxid-structgpr_1_1ski_1_1_d_skip_report: struct gpr::ski::DSkipReport ============================ .. toctree:: :hidden: Overview ~~~~~~~~ D-SKIP: the ARD kernel is a product over dimensions, and the product of two low-rank factors is compressed back to low rank by Lanczos. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct DSkipReport { // fields std::vector :ref:`rank_after_product`; double :ref:`relative_error` = 0.0; Eigen::Index :ref:`exact_rank` = 0; bool :ref:`rank_bounded` = false; }; .. _details-structgpr_1_1ski_1_1_d_skip_report: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ D-SKIP: the ARD kernel is a product over dimensions, and the product of two low-rank factors is compressed back to low rank by Lanczos. The report is the point. A product kernel keeps a useful low-rank representation only if the rank needed after each multiply stays bounded; on a flat spectrum it does not, and rankAfterEachProduct() shows where it stops being cheaper than the exact matrix. Fields ------ .. index:: pair: variable; rank_after_product .. _doxid-structgpr_1_1ski_1_1_d_skip_report_1aee752499757a1b2bd65dce4c33af3a2f: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector rank_after_product one entry per dimension .. index:: pair: variable; relative_error .. _doxid-structgpr_1_1ski_1_1_d_skip_report_1a33b678be0813990df1c122d9bd687a28: .. ref-code-block:: cpp :class: doxyrest-title-code-block double relative_error = 0.0 against the exact product .. index:: pair: variable; exact_rank .. _doxid-structgpr_1_1ski_1_1_d_skip_report_1a5cf69a3eb99a3d786f169d8b113ac588: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::Index exact_rank = 0 numerical rank of the exact matrix .. index:: pair: variable; rank_bounded .. _doxid-structgpr_1_1ski_1_1_d_skip_report_1a5dd8f4e67aa65bf3e656e61a19de341a: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool rank_bounded = false did the rank stay below the matrix size