00001 // This is core/vnl/io/vnl_io_sparse_matrix.h 00002 #ifndef vnl_io_sparse_matrix_h 00003 #define vnl_io_sparse_matrix_h 00004 //: 00005 // \file 00006 // \author Louise Butcher 00007 // \date 20-Mar-2001 00008 00009 #include <vnl/vnl_sparse_matrix.h> 00010 #include <vsl/vsl_binary_io.h> 00011 00012 //: Binary save vnl_sparse_matrix to stream. 00013 // \relatesalso vnl_sparse_matrix 00014 template <class T> 00015 void vsl_b_write(vsl_b_ostream & os, const vnl_sparse_matrix<T> & v); 00016 00017 //: Binary load vnl_sparse_matrix from stream. 00018 // \relatesalso vnl_sparse_matrix 00019 template <class T> 00020 void vsl_b_read(vsl_b_istream & is, vnl_sparse_matrix<T> & v); 00021 00022 //: Print human readable summary of object to a stream 00023 // \relatesalso vnl_sparse_matrix 00024 template <class T> 00025 void vsl_print_summary(vcl_ostream & os,const vnl_sparse_matrix<T> & b); 00026 00027 #endif // vnl_io_sparse_matrix_h