histogram.cpp
void write_vect(char *fn,vector<realtype> res)
{
    ofstream output(fn);
    vector<realtype>::iterator it1 = res.begin();
    while(it1!=res.end())
    {
        output << (*it1) << endl;
        it1++;
    }
    output.close();
}
//store a vector in plain text in file
store a vector in plain text in file
store a vector in plain text in file
void write_vect(char *fn,vector<realtype> res)
{
    ofstream output(fn);
    vector<realtype>::iterator it1 = res.begin();
    while(it1!=res.end())
    {
        output << (*it1) << endl;
        it1++;
    }
    output.close();
}
void write_vect ( char * fn , vector < realtype > res ) { ofstream output ( fn ) ; vector < realtype > :: iterator it1 = res . begin ( ) ; while ( it1 != res . end ( ) ) { output << ( * it1 ) << endl ; it1 ++ ; } output . close ( ) ; }
store a vector in plain text in file
store a vector in plain text in file