Stan  2.14.0
probability, sampling & optimization
Namespaces | Functions
gradient.hpp File Reference
#include <stan/interface_callbacks/writer/base_writer.hpp>
#include <stan/math/rev/mat.hpp>
#include <stan/model/model_functional.hpp>
#include <sstream>
#include <stdexcept>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::model
 For compiling models.
 

Functions

template<class M >
void stan::model::gradient (const M &model, const Eigen::Matrix< double, Eigen::Dynamic, 1 > &x, double &f, Eigen::Matrix< double, Eigen::Dynamic, 1 > &grad_f, std::ostream *msgs=0)
 
template<class M >
void stan::model::gradient (const M &model, const Eigen::Matrix< double, Eigen::Dynamic, 1 > &x, double &f, Eigen::Matrix< double, Eigen::Dynamic, 1 > &grad_f, stan::interface_callbacks::writer::base_writer &writer)
 

     [ Stan Home Page ] © 2011–2016, Stan Development Team.