00001 // Copyright (C) 2009-2010 NICTA (www.nicta.com.au) 00002 // Copyright (C) 2009-2010 Conrad Sanderson 00003 // Copyright (C) 2009-2010 Dimitrios Bouzas 00004 // 00005 // This file is part of the Armadillo C++ library. 00006 // It is provided without any warranty of fitness 00007 // for any purpose. You can redistribute this file 00008 // and/or modify it under the terms of the GNU 00009 // Lesser General Public License (LGPL) as published 00010 // by the Free Software Foundation, either version 3 00011 // of the License or (at your option) any later version. 00012 // (see http://www.opensource.org/licenses for more info) 00013 00014 00015 00018 00019 00022 template<typename T1> 00023 arma_inline 00024 const Op<T1, op_repmat> 00025 repmat(const Base<typename T1::elem_type,T1>& A, const uword r, const uword c) 00026 { 00027 arma_extra_debug_sigprint(); 00028 00029 return Op<T1, op_repmat>(A.get_ref(), r, c); 00030 } 00031 00032 00033