.. index:: pair: class; gpr::pairlocal::TiledLayoutSource .. _doxid-classgpr_1_1pairlocal_1_1_tiled_layout_source: class gpr::pairlocal::TiledLayoutSource ======================================= .. toctree:: :hidden: Overview ~~~~~~~~ Covariance tiles between the observations of one or two tiled training layouts (every observation's energy and gradient channels contiguous, in the order the layout's tile index lists them). :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class TiledLayoutSource { public: // methods bool :ref:`prepare`(const :ref:`AtomsConfiguration`& configuration, const Eigen::VectorXd& theta, const Eigen::MatrixXd& x_tiled, Eigen::Index tile_size, const Eigen::VectorXd& tile_ind); bool :ref:`prepare`(const :ref:`AtomsConfiguration`& configuration, const Eigen::VectorXd& theta, const Eigen::MatrixXd& left, Eigen::Index left_tile, const Eigen::VectorXd& left_ind, const Eigen::MatrixXd& right, Eigen::Index right_tile, const Eigen::VectorXd& right_ind); bool :target:`prepare`(const :ref:`AtomsConfiguration`& configuration, const Eigen::VectorXd& theta, const Eigen::MatrixXd& left, Eigen::Index left_tile, const Eigen::VectorXd& left_ind, const Eigen::MatrixXd& right, Eigen::Index right_tile, const Eigen::VectorXd& right_ind, double far_radius); bool :target:`ready`() const; void :ref:`tile`(Eigen::Index i, Eigen::Index j, Eigen::MatrixXd& out); }; .. _details-classgpr_1_1pairlocal_1_1_tiled_layout_source: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Covariance tiles between the observations of one or two tiled training layouts (every observation's energy and gradient channels contiguous, in the order the layout's tile index lists them). Methods ------- .. index:: pair: function; prepare .. _doxid-classgpr_1_1pairlocal_1_1_tiled_layout_source_1a89d4e31cc3a35cb0f33878037aca46bd: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool prepare(const :ref:`AtomsConfiguration`& configuration, const Eigen::VectorXd& theta, const Eigen::MatrixXd& x_tiled, Eigen::Index tile_size, const Eigen::VectorXd& tile_ind) Prepares the tiles among the observations of ``x_tiled``; false when the tiles do not cover the configuration or the parameters. .. index:: pair: function; prepare .. _doxid-classgpr_1_1pairlocal_1_1_tiled_layout_source_1ac3972520206801ecfce98e213927dfc8: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool prepare(const :ref:`AtomsConfiguration`& configuration, const Eigen::VectorXd& theta, const Eigen::MatrixXd& left, Eigen::Index left_tile, const Eigen::VectorXd& left_ind, const Eigen::MatrixXd& right, Eigen::Index right_tile, const Eigen::VectorXd& right_ind) Prepares the cross tiles between the observations of ``left`` (rows) and ``right`` (columns). .. index:: pair: function; tile .. _doxid-classgpr_1_1pairlocal_1_1_tiled_layout_source_1a12ed69ade9f5ccc4ddd91b5e3ae143e9: .. ref-code-block:: cpp :class: doxyrest-title-code-block void tile(Eigen::Index i, Eigen::Index j, Eigen::MatrixXd& out) The covariance tile between left observation i and right observation j in the layouts' channel orders.