Function crpropa::serialize

Function Documentation

void crpropa::serialize(const string &filename, const ModelMatrixType &matrix)

Writes the ModelMatrix to disk as binary files with the format: Int (number of non zero elements), Int (size1), Int (size2) (Int, Int, Double) : (column, row, value) triples …