00001 00002 /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ 00003 /* */ 00004 /* */ 00005 /* MV++ Numerical Matrix/Vector C++ Library */ 00006 /* MV++ Version 1.5 */ 00007 /* */ 00008 /* R. Pozo */ 00009 /* National Institute of Standards and Technology */ 00010 /* */ 00011 /* NOTICE */ 00012 /* */ 00013 /* Permission to use, copy, modify, and distribute this software and */ 00014 /* its documentation for any purpose and without fee is hereby granted */ 00015 /* provided that this permission notice appear in all copies and */ 00016 /* supporting documentation. */ 00017 /* */ 00018 /* Neither the Institution (National Institute of Standards and Technology) */ 00019 /* nor the author makes any representations about the suitability of this */ 00020 /* software for any purpose. This software is provided ``as is''without */ 00021 /* expressed or implied warranty. */ 00022 /* */ 00023 /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ 00024 00025 // read and write MV vectors as text files with (at most) one element 00026 // per line. 00027 00028 #ifndef _IOTEXT_H_ 00029 #define _IOTEXT_H_ 00030 00031 int readtxtfile_vec(const char *filename, MV_Vector_double *Aptr); 00032 int writetxtfile_vec(const char *filename, const MV_Vector_double &A); 00033 int readtxtfile_vec(const char *filename, MV_Vector_int *Aptr); 00034 int writetxtfile_vec(const char *filename, const MV_Vector_int &A); 00035 00036 #endif 00037