int vector_int::fprintf ( FILE *  stream,
const char *  format 
) const

Function that prints the contents of the vector.

This function writes the elements of the vector v line-by-line to the stream stream using the format specifier format, which should be one of the g, e or f formats for floating point numbers and d for integers. The function returns 0 for success and GSL_FAILED if there was a problem writing to the file. For a vector V, V.fprintf(stdout, %.5e) prints contents of V to stdout V.fprintf("filename", %.5e) prints contents to file

All Classes Files Functions Variables Typedefs Friends Defines