Classes | |
class | graphgen::symmetric_matrix< T > |
Symmetric matrix container data type<T>. More... | |
Typedefs | |
typedef RNG_DRAND48 | graphgen::RNG |
Functions | |
template<class Ch, class Tr> | |
std::basic_ostream< Ch, Tr > & | graphgen::tab (std::basic_ostream< Ch, Tr > &s) |
output a tab character to an output stream using a manipulator stream << tab << "something" | |
void | graphgen::err (const char *msg) |
unsigned int | graphgen::ltm_index (unsigned int i, unsigned int j) |
calculate storage index of a_{ij} in a lower triangular matrix for storage of symmetric matrices |
integer pool
unsigned int graphgen::ltm_index | ( | unsigned int | i, | |
unsigned int | j | |||
) | [inline] |
calculate storage index of a_{ij} in a lower triangular matrix for storage of symmetric matrices
this is used in weight storage tables (half memory usage), and for correlation histograms