00001 // This is core/vnl/vnl_copy.h 00002 #ifndef vnl_copy_h_ 00003 #define vnl_copy_h_ 00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE 00005 #pragma interface 00006 #endif 00007 //: 00008 // \file 00009 // \brief Easy conversion between vectors and matrices templated over different types. 00010 // \author fsm 00011 // 00012 // \verbatim 00013 // Modifications 00014 // LSB (Manchester) 26/3/01 Tidied documentation 00015 // \endverbatim 00016 00017 //: Easy conversion between vectors and matrices templated over different types. 00018 // \relatesalso vnl_matrix 00019 // \relatesalso vnl_vector 00020 template <class S, class T> 00021 void vnl_copy(S const *src, T *dst, unsigned n); 00022 00023 00024 //: Easy conversion between vectors and matrices templated over different types. 00025 // \relatesalso vnl_matrix 00026 // \relatesalso vnl_vector 00027 template <class S, class T> 00028 void vnl_copy(S const &, T &); 00029 00030 #endif // vnl_copy_h_