Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_binary.h

Go to the documentation of this file.
00001 #ifndef vnl_binary_h_
00002 #define vnl_binary_h_
00003 // This is vxl/vnl/vnl_binary.h
00004 
00005 //: \file
00006 //  \brief Functions for saving and loading matrices and vectors in binary format.
00007 //  \author fsm@robots.ox.ac.uk
00008 // The point of doing that is to 1) make it 
00009 // go faster and 2) ensure that no accuracy is lost in the
00010 // process of saving to disk. It doesn't matter that the
00011 // format is architecture dependent.
00012 
00013 
00014 // Modifictaions
00015 //  LSB (Manchester) 23/3/01
00016 
00017 
00018 #include <vcl_iosfwd.h>
00019 template <class T> class vnl_vector;
00020 template <class T> class vnl_matrix;
00021 template <class T> class vnl_diag_matrix;
00022 
00023 template <class T> bool vnl_binary_save(vcl_ostream &, vnl_vector<T> const &);
00024 template <class T> bool vnl_binary_save(vcl_ostream &, vnl_matrix<T> const &);
00025 template <class T> bool vnl_binary_save(vcl_ostream &, vnl_diag_matrix<T> const &);
00026 
00027 template <class T> bool vnl_binary_load(vcl_istream &, vnl_vector<T> &);
00028 template <class T> bool vnl_binary_load(vcl_istream &, vnl_matrix<T> &);
00029 template <class T> bool vnl_binary_load(vcl_istream &, vnl_diag_matrix<T> &);
00030 
00031 #endif // vnl_binary_h_

Generated at Wed Mar 12 01:13:14 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000