Owner of a gpr_fes_t. Arrays are row-major, one row per point. More...
#include <gpr/capi/gpridge.hpp>
Classes | |
| struct | Prediction |
Public Member Functions | |
| FreeEnergySurrogate ()=default | |
| FreeEnergySurrogate (gpr_fes_t h, adopt_t) noexcept | |
| ~FreeEnergySurrogate () | |
| FreeEnergySurrogate (const FreeEnergySurrogate &)=delete | |
| FreeEnergySurrogate & | operator= (const FreeEnergySurrogate &)=delete |
| FreeEnergySurrogate (FreeEnergySurrogate &&other) noexcept | |
| FreeEnergySurrogate & | operator= (FreeEnergySurrogate &&other) noexcept |
| void | reset () noexcept |
| gpr_fes_t | handle () const noexcept |
| operator bool () const noexcept | |
| int | dimension () const |
| int | n_observations () const |
| void | train (const std::vector< double > &s, const std::vector< double > &F, const std::vector< double > &F_noise_var, const std::vector< double > &grad_F, const std::vector< double > &grad_noise_var, const std::vector< std::uint8_t > &grad_present, int n_obs) |
| Prediction | predict (const std::vector< double > &s_query, int n_queries, bool with_gradient, bool with_variance) const |
| FesRateReport | rate_path (const std::vector< double > &path, int n_path, int reactant_index, int product_index, const std::vector< double > &diffusion, const FesRateConfig &config) const |
Static Public Member Functions | |
| static FreeEnergySurrogate | create (int dimension, const ModelConfig &model_config=model_config_defaults(), const FesConfig &config=fes_config_defaults(), const std::vector< double > &grad_noise_var={}) |
Owner of a gpr_fes_t. Arrays are row-major, one row per point.
Definition at line 859 of file gpridge.hpp.
|
default |
Definition at line 862 of file gpridge.hpp.
|
inline |
Definition at line 863 of file gpridge.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 870 of file gpridge.hpp.
|
inlinestaticnodiscard |
Definition at line 885 of file gpridge.hpp.
|
inlinenodiscard |
Definition at line 913 of file gpridge.hpp.
|
inlinenodiscardnoexcept |
Definition at line 904 of file gpridge.hpp.
|
inlinenodiscard |
Definition at line 917 of file gpridge.hpp.
|
inlineexplicitnodiscardnoexcept |
Definition at line 908 of file gpridge.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 875 of file gpridge.hpp.
|
inlinenodiscard |
Definition at line 945 of file gpridge.hpp.
|
inlinenodiscard |
Definition at line 965 of file gpridge.hpp.
|
inlinenoexcept |
Definition at line 898 of file gpridge.hpp.
|
inline |
Values only when grad_F is empty; otherwise grad_F, grad_noise_var and grad_present are all given.
Definition at line 924 of file gpridge.hpp.