#include <gpr/ml/gp/PairLocalKernel.h>
Public Member Functions | |
| bool | prepare (const AtomsConfiguration &configuration, const Eigen::VectorXd &theta, const Eigen::MatrixXd &x_tiled, Eigen::Index tile_size, const Eigen::VectorXd &tile_ind) |
| bool | prepare (const 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 | prepare (const 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 | ready () const noexcept |
| void | tile (Eigen::Index i, Eigen::Index j, Eigen::MatrixXd &out) |
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).
Definition at line 171 of file PairLocalKernel.h.
| bool gpr::pairlocal::TiledLayoutSource::prepare | ( | const 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).
Definition at line 623 of file PairLocalKernel.cpp.
| bool gpr::pairlocal::TiledLayoutSource::prepare | ( | const 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 ) |
Definition at line 633 of file PairLocalKernel.cpp.
| bool gpr::pairlocal::TiledLayoutSource::prepare | ( | const 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.
Definition at line 613 of file PairLocalKernel.cpp.
|
inlinenodiscardnoexcept |
Definition at line 190 of file PairLocalKernel.h.
| void gpr::pairlocal::TiledLayoutSource::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.
Definition at line 664 of file PairLocalKernel.cpp.