|
linbox
|
utils More...
Data Structures | |
| class | showProgression |
| Show progression on the terminal (helper) More... | |
| class | Chrono< MyTimer > |
Namespaces | |
| namespace | LinBox |
| Namespace in which all linbox code resides. | |
| namespace | LinBox::Tag |
| Structure for tags. | |
Typedefs | |
| typedef std::vector< double > | dvector_t |
| vector of double | |
| typedef std::vector< std::string > | svector_t |
| typedef std::vector< dvector_t > | dmatrix_t |
| matrix of double | |
| typedef std::vector< svector_t > | smatrix_t |
Enumerations | |
| enum | TimeSelect { average = 1 , bestThree = 2 , bestOne = 3 , median = 4 , medmean = 5 } |
| selection of best times in a series. More... | |
| enum | Printer { dat = 1 , tex = 2 , xml = 3 , gnuplot = 4 , csv = 5 , html = 6 } |
| selection of printers More... | |
Functions | |
| bool | isDigit (const std::string &s) |
| Check if a string is actually a double. | |
| bool | fortifiedString (const std::string &s) |
| Tells is a string has double quotes around. | |
| std::string | unfortifyString (const std::string &s) |
| removes the surrounding quotes. | |
| std::string | fortifyString (const std::string &s) |
| adds surrounding quotes. | |
| template<class T> | |
| std::string | toString (T &nam) |
| Converts anything to a string. | |
| bool | findKeyword (size_t &i, const svector_t::const_iterator &begin, const svector_t::const_iterator &end, const std::string &keyword) |
| finds keyword betwen begin and end, return true if found and i is the index where it is (possibly correspondig to end) | |
| char | randomAlNum () |
random :alnum: char. [[:alnum:]] characters are in range | |
| std::string | randomAlNum (const size_t &m) |
random :alnum: string. | |
| std::string | getDateTime (const std::string &sep) |
| get ISO time and date | |
| smatrix_t | getMachineInformation () |
| get some machine information (not cpu yet) | |
| void | showAdvanceLinear (size_t curr, size_t min, size_t max) |
| show the advancement (on the terminal) suppose linear advancement | |
| void | showFinish (size_t curr, size_t all) |
| tells the current series of measure has completed (on the terminal) | |
| void | showSkip (size_t curr, size_t all) |
| tells the current series of measure was skipped (on the terminal) | |
| double | computeMFLOPS (const double &tim, const double mflo, const size_t rpt=1) |
| computes the number of megaflops. | |
| dvector_t & | insertTime (dvector_t &tim3, const double &tps) |
| inserts a time in a vector of 3 best times. | |
| double | computeMFLOPS (const dvector_t &tim, const double mflo, Tag::TimeSelect ts=Tag::TimeSelect::bestThree) |
| computes the number of megaflops. | |
utils