$search
00001 // Copyright (C) 2010-2011 NICTA (www.nicta.com.au) 00002 // Copyright (C) 2010-2011 Conrad Sanderson 00003 // Copyright (C) 2011 Alcatel Lucent 00004 // Copyright (C) 2011 Gerhard Schreiber 00005 // 00006 // This file is part of the Armadillo C++ library. 00007 // It is provided without any warranty of fitness 00008 // for any purpose. You can redistribute this file 00009 // and/or modify it under the terms of the GNU 00010 // Lesser General Public License (LGPL) as published 00011 // by the Free Software Foundation, either version 3 00012 // of the License or (at your option) any later version. 00013 // (see http://www.opensource.org/licenses for more info) 00014 00015 00018 00019 00020 00021 template<typename T1> 00022 inline 00023 Glue<T1, T1, glue_toeplitz> 00024 toeplitz(const Base<typename T1::elem_type,T1>& X) 00025 { 00026 arma_extra_debug_sigprint(); 00027 00028 return Glue<T1, T1, glue_toeplitz>( X.get_ref(), X.get_ref() ); 00029 } 00030 00031 00032 00033 template<typename T1, typename T2> 00034 inline 00035 Glue<T1, T2, glue_toeplitz> 00036 toeplitz(const Base<typename T1::elem_type,T1>& X, const Base<typename T1::elem_type,T2>& Y) 00037 { 00038 arma_extra_debug_sigprint(); 00039 00040 return Glue<T1, T2, glue_toeplitz>( X.get_ref(), Y.get_ref() ); 00041 } 00042 00043 00044 00045 template<typename T1> 00046 inline 00047 Glue<T1, T1, glue_toeplitz_circ> 00048 circ_toeplitz(const Base<typename T1::elem_type,T1>& X) 00049 { 00050 arma_extra_debug_sigprint(); 00051 00052 return Glue<T1, T1, glue_toeplitz_circ>( X.get_ref(), X.get_ref() ); 00053 } 00054 00055 00056