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