faunus
Public Member Functions | List of all members
Faunus::Table< Tcoeff, base > Class Template Reference

Dynamic table for 1d data. More...

#include <table_1d.h>

Inheritance diagram for Faunus::Table< Tcoeff, base >:
Inheritance graph
[legend]
Collaboration diagram for Faunus::Table< Tcoeff, base >:
Collaboration graph
[legend]

Public Member Functions

 Table (const Tvec &bw={1, 1}, const Tvec &lo={0, 0}, const Tvec &hi={2, 2})
 
template<typename OtherDerived >
 Table (const Eigen::MatrixBase< OtherDerived > &other)
 
template<typename OtherDerived >
Tableoperator= (const Eigen::MatrixBase< OtherDerived > &other)
 
template<typename OtherDerived >
 Table (const Eigen::ArrayBase< OtherDerived > &other)
 
template<typename OtherDerived >
Tableoperator= (const Eigen::ArrayBase< OtherDerived > &other)
 
void reInitializer (const Tvec &bw, const Tvec &lo, const Tvec &hi)
 
void round (Tvec &v) const
 
void to_index (Tvec &v) const
 
Tcoeff & operator[] (const Tvec &v)
 
bool isInRange (const Tvec &v) const
 
Tvec hist2buf (int) const
 
void buf2hist (const Tvec &v)
 
base getBlock (const Tvec &slice)
 
Tcoeff avg (const Tvec &v) const
 
void save (const std::string &filename, Tcoeff scale=1, Tcoeff translate=0) const
 
void saveRow (const std::string &filename, const Tvec &v, Tcoeff scale=1, Tcoeff translate=0)
 
void load (const std::string &filename)
 

Detailed Description

template<typename Tcoeff = double, typename base = Eigen::Matrix<Tcoeff, Eigen::Dynamic, Eigen::Dynamic>>
class Faunus::Table< Tcoeff, base >

Dynamic table for 1d data.

Todo:
This really needs documentation and general refactoring!

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