Stan  2.10.0
probability, sampling & optimization
Public Member Functions | List of all members
stan::optimization::ModelAdaptor< M > Class Template Reference

#include <bfgs.hpp>

Public Member Functions

 ModelAdaptor (M &model, const std::vector< int > &params_i, std::ostream *msgs)
 
size_t fevals () const
 
int operator() (const Eigen::Matrix< double, Eigen::Dynamic, 1 > &x, double &f)
 
int operator() (const Eigen::Matrix< double, Eigen::Dynamic, 1 > &x, double &f, Eigen::Matrix< double, Eigen::Dynamic, 1 > &g)
 
int df (const Eigen::Matrix< double, Eigen::Dynamic, 1 > &x, Eigen::Matrix< double, Eigen::Dynamic, 1 > &g)
 

Detailed Description

template<class M>
class stan::optimization::ModelAdaptor< M >

Definition at line 288 of file bfgs.hpp.

Constructor & Destructor Documentation

template<class M>
stan::optimization::ModelAdaptor< M >::ModelAdaptor ( M &  model,
const std::vector< int > &  params_i,
std::ostream *  msgs 
)
inline

Definition at line 297 of file bfgs.hpp.

Member Function Documentation

template<class M>
int stan::optimization::ModelAdaptor< M >::df ( const Eigen::Matrix< double, Eigen::Dynamic, 1 > &  x,
Eigen::Matrix< double, Eigen::Dynamic, 1 > &  g 
)
inline

Definition at line 376 of file bfgs.hpp.

template<class M>
size_t stan::optimization::ModelAdaptor< M >::fevals ( ) const
inline

Definition at line 302 of file bfgs.hpp.

template<class M>
int stan::optimization::ModelAdaptor< M >::operator() ( const Eigen::Matrix< double, Eigen::Dynamic, 1 > &  x,
double &  f 
)
inline

Definition at line 303 of file bfgs.hpp.

template<class M>
int stan::optimization::ModelAdaptor< M >::operator() ( const Eigen::Matrix< double, Eigen::Dynamic, 1 > &  x,
double &  f,
Eigen::Matrix< double, Eigen::Dynamic, 1 > &  g 
)
inline

Definition at line 332 of file bfgs.hpp.


The documentation for this class was generated from the following file:

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