![]() |
Stan
2.14.0
probability, sampling & optimization
|
#include <stan/interface_callbacks/writer/base_writer.hpp>#include <stan/model/finite_diff_grad.hpp>#include <stan/model/log_prob_grad.hpp>#include <cmath>#include <sstream>#include <vector>Go to the source code of this file.
Namespaces | |
| stan | |
| Probability, optimization and sampling library. | |
| stan::model | |
| For compiling models. | |
Functions | |
| template<bool propto, bool jacobian_adjust_transform, class M > | |
| int | stan::model::test_gradients (const M &model, std::vector< double > ¶ms_r, std::vector< int > ¶ms_i, double epsilon, double error, stan::interface_callbacks::writer::base_writer &writer) |
| Test the log_prob_grad() function's ability to produce accurate gradients using finite differences. More... | |