Public Member Functions | Public Attributes | List of all members
values Class Reference
Inheritance diagram for values:
stan::callbacks::stream_writer stan::callbacks::stream_writer stan::callbacks::stream_writer stan::callbacks::writer stan::callbacks::writer stan::callbacks::writer

Public Member Functions

 values (std::ostream &stream)
 
void operator() (const std::vector< std::string > &names)
 
void operator() (const std::vector< double > &state)
 
 values (std::ostream &stream)
 
void operator() (const std::vector< std::string > &names)
 
void operator() (const std::vector< double > &state)
 
 values (std::ostream &stream)
 
void operator() (const std::vector< std::string > &names)
 
void operator() (const std::vector< double > &state)
 
void operator() ()
 
void operator() (const std::string &message)
 

Public Attributes

std::vector< std::stringnames_
 
std::vector< std::vector< double > > states_
 

Detailed Description

Definition at line 18 of file bfgs_test.cpp.

Constructor & Destructor Documentation

values::values ( std::ostream &  stream)
inline
values::values ( std::ostream &  stream)
inline
values::values ( std::ostream &  stream)
inline

Member Function Documentation

void values::operator() ( const std::vector< std::string > &  names)
inlinevirtual

Writes a set of names.

Parameters
[in]namesNames in a std::vector

Reimplemented from stan::callbacks::stream_writer.

Definition at line 33 of file bfgs_test.cpp.

References gen_hdf5record::names.

33  {
34  names_ = names;
35  }
std::vector< std::string > names_
Definition: bfgs_test.cpp:21
void values::operator() ( const std::vector< std::string > &  names)
inlinevirtual

Writes a set of names.

Parameters
[in]namesNames in a std::vector

Reimplemented from stan::callbacks::stream_writer.

Definition at line 33 of file lbfgs_test.cpp.

References gen_hdf5record::names.

33  {
34  names_ = names;
35  }
std::vector< std::string > names_
Definition: bfgs_test.cpp:21
void values::operator() ( const std::vector< std::string > &  names)
inlinevirtual

Writes a set of names.

Parameters
[in]namesNames in a std::vector

Reimplemented from stan::callbacks::stream_writer.

Definition at line 34 of file newton_test.cpp.

References gen_hdf5record::names.

34  {
35  names_ = names;
36  }
std::vector< std::string > names_
Definition: bfgs_test.cpp:21
void values::operator() ( const std::vector< double > &  state)
inlinevirtual

Writes a set of values.

Parameters
[in]stateValues in a std::vector

Reimplemented from stan::callbacks::stream_writer.

Definition at line 42 of file lbfgs_test.cpp.

42  {
43  states_.push_back(state);
44  }
std::vector< std::vector< double > > states_
Definition: bfgs_test.cpp:22
void values::operator() ( const std::vector< double > &  state)
inlinevirtual

Writes a set of values.

Parameters
[in]stateValues in a std::vector

Reimplemented from stan::callbacks::stream_writer.

Definition at line 42 of file bfgs_test.cpp.

42  {
43  states_.push_back(state);
44  }
std::vector< std::vector< double > > states_
Definition: bfgs_test.cpp:22
void values::operator() ( const std::vector< double > &  state)
inlinevirtual

Writes a set of values.

Parameters
[in]stateValues in a std::vector

Reimplemented from stan::callbacks::stream_writer.

Definition at line 43 of file newton_test.cpp.

43  {
44  states_.push_back(state);
45  }
std::vector< std::vector< double > > states_
Definition: bfgs_test.cpp:22
void stan::callbacks::stream_writer::operator() ( void  )
inlinevirtualinherited

Writes the comment_prefix to the stream followed by a newline.

Reimplemented from stan::callbacks::writer.

Definition at line 62 of file stream_writer.hpp.

References stan::callbacks::stream_writer::comment_prefix_, allTimeWatchdog::endl, and stan::callbacks::stream_writer::output_.

void stan::callbacks::stream_writer::operator() ( const std::string message)
inlinevirtualinherited

Writes the comment_prefix then the message followed by a newline.

Parameters
[in]messageA string

Reimplemented from stan::callbacks::writer.

Definition at line 71 of file stream_writer.hpp.

References stan::callbacks::stream_writer::comment_prefix_, allTimeWatchdog::endl, and stan::callbacks::stream_writer::output_.

Member Data Documentation

std::vector< std::string > values::names_

Definition at line 21 of file bfgs_test.cpp.

std::vector< std::vector< double > > values::states_

Definition at line 22 of file bfgs_test.cpp.


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