// This is core/vnl/vnl_matops.h #ifndef vnl_matops_h_ #define vnl_matops_h_ #ifdef VCL_NEEDS_PRAGMA_INTERFACE #pragma interface #endif //: // \file // \brief A collection of Matrix operations // \author Andrew W. Fitzgibbon, Oxford RRG // \date 05 Aug 96 // // \verbatim // Modifications // 23 may 97, Peter Vanroose - "NO_COMPLEX" option added // LSB (Manchester) 23/3/01 Documentation tidied // \endverbatim // //----------------------------------------------------------------------------- #include #include #include "vnl/vnl_export.h" //: A collection of vnl_matrix operations, provided as static methods. // Highlights include matrix glueing, and type conversions. // matlab_print has been moved to vnl_matlab_print.h. class VNL_EXPORT vnl_matops { public: static double homg_diff(vnl_matrix const& A, vnl_matrix const& B); //: Laminating static vnl_matrix cat(vnl_matrix const& A, vnl_matrix const& B); static vnl_matrix cat(vnl_matrix const& A, vnl_vector const& B); static vnl_matrix cat(vnl_vector const& A, vnl_matrix const& B); static vnl_matrix vcat(vnl_matrix const& A, vnl_matrix const& B); //: Conversions static vnl_matrix f2d(vnl_matrix const&); static vnl_vector f2d(vnl_vector const&); static vnl_matrix d2f(vnl_matrix const&); static vnl_vector d2f(vnl_vector const&); }; #endif // vnl_matops_h_