Ascent  0.1.1
An open source architecture for time-based simulations.
asc::History Class Reference
Inheritance diagram for asc::History:
asc::HistorySparse< sample_size >

Public Member Functions

 History (const size_t sim, const size_t steps)
 
 History (const size_t sim)
 
void error (const std::string &description)
 
void push_back (const double value)
 
size_t size () const
 
double & back ()
 
double & front ()
 
const std::deque< double > & history () const
 
const std::deque< double > & time () const
 
template<typename Function >
Eigen::VectorXd fit2D (double &relative_error, Function func) const
 
double derivative () const
 
template<typename Function >
double extrapolate (const double xest, double &relative_error, Function func) const
 
double extrapParabolic (const double xest, double &relative_error) const
 
double integral () const
 
double mean () const
 
double stdDeviation () const
 

Public Attributes

size_t steps
 
bool infinite
 
const double & t
 
const double dt
 

Protected Member Functions

Eigen::Vector3d parabolic (double x) const
 

Protected Attributes

std::deque< double > th
 
std::deque< double > x
 

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