00001 // Copyright (C) 2010 NICTA and the authors listed below 00002 // http://nicta.com.au 00003 // 00004 // Authors: 00005 // - Conrad Sanderson (conradsand at ieee dot org) 00006 // 00007 // This file is part of the Armadillo C++ library. 00008 // It is provided without any warranty of fitness 00009 // for any purpose. You can redistribute this file 00010 // and/or modify it under the terms of the GNU 00011 // Lesser General Public License (LGPL) as published 00012 // by the Free Software Foundation, either version 3 00013 // of the License or (at your option) any later version. 00014 // (see http://www.opensource.org/licenses for more info) 00015 00016 00017 //! \addtogroup itpp_wrap 00018 //! @{ 00019 00020 00021 #ifdef ARMA_USE_ITPP 00022 00023 #include <itpp/base/mat.h> 00024 #include <itpp/base/vec.h> 00025 00026 #else 00027 00028 namespace itpp 00029 { 00030 00031 template<typename eT> 00032 class Mat 00033 { 00034 public: 00035 00036 int rows() const { return 0; } 00037 int cols() const { return 0; } 00038 int size() const { return 0; } 00039 const eT* _data() const { return 0; } 00040 eT* _data() { return 0; } 00041 00042 00043 private: 00044 00045 Mat(); 00046 Mat(const Mat& m); 00047 const Mat& operator=(const Mat& m); 00048 ~Mat(); 00049 }; 00050 00051 00052 template<typename eT> 00053 class Vec 00054 { 00055 public: 00056 00057 int size() const { return 0; } 00058 int length() const { return 0; } 00059 const eT* _data() const { return 0; } 00060 eT* _data() { return 0; } 00061 00062 00063 private: 00064 00065 Vec(); 00066 Vec(const Vec& m); 00067 const Vec& operator=(const Vec& m); 00068 ~Vec(); 00069 }; 00070 00071 typedef Mat<short int> smat; 00072 typedef Vec<short int> svec; 00073 00074 typedef Mat<int> imat; 00075 typedef Vec<int> ivec; 00076 00077 typedef Mat<double> mat; 00078 typedef Vec<double> vec; 00079 00080 typedef Mat< std::complex<double> > cmat; 00081 typedef Vec< std::complex<double> > cvec; 00082 } 00083 00084 #endif 00085 00086 00087 //! @}