00001 // Copyright (C) 2008-2011 NICTA (www.nicta.com.au) 00002 // Copyright (C) 2008-2011 Conrad Sanderson 00003 // 00004 // This file is part of the Armadillo C++ library. 00005 // It is provided without any warranty of fitness 00006 // for any purpose. You can redistribute this file 00007 // and/or modify it under the terms of the GNU 00008 // Lesser General Public License (LGPL) as published 00009 // by the Free Software Foundation, either version 3 00010 // of the License or (at your option) any later version. 00011 // (see http://www.opensource.org/licenses for more info) 00012 00013 00016 00017 00018 00023 00024 template<typename elem_type, typename derived> 00025 struct Base 00026 { 00027 arma_inline const derived& get_ref() const; 00028 00029 arma_inline const Op<derived,op_htrans> t() const; 00030 arma_inline const Op<derived,op_strans> st() const; 00031 00032 inline void print(const std::string extra_text = "") const; 00033 inline void print(std::ostream& user_stream, const std::string extra_text = "") const; 00034 00035 inline void raw_print(const std::string extra_text = "") const; 00036 inline void raw_print(std::ostream& user_stream, const std::string extra_text = "") const; 00037 00038 arma_deprecated inline void print_trans(const std::string extra_text = "") const; 00039 arma_deprecated inline void print_trans(std::ostream& user_stream, const std::string extra_text = "") const; 00040 00041 arma_deprecated inline void raw_print_trans(const std::string extra_text = "") const; 00042 arma_deprecated inline void raw_print_trans(std::ostream& user_stream, const std::string extra_text = "") const; 00043 }; 00044 00045 00046