op_trimat_bones.hpp
Go to the documentation of this file.
00001 // Copyright (C) 2010 NICTA (www.nicta.com.au)
00002 // Copyright (C) 2010 Conrad Sanderson
00003 // Copyright (C) 2011 Ryan Curtin
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 
00017 
00018 
00019 
00020 class op_trimat
00021   {
00022   public:
00023   
00024   template<typename eT>
00025   inline static void fill_zeros(Mat<eT>& A, const bool upper);
00026   
00027   //
00028   
00029   template<typename T1>
00030   inline static void apply(Mat<typename T1::elem_type>& out, const Op<T1,op_trimat>& in);
00031   
00032   template<typename T1>
00033   inline static void apply(Mat<typename T1::elem_type>& out, const Op<Op<T1,op_htrans>, op_trimat>& in);
00034   
00035   //
00036   
00037   template<typename eT>
00038   inline static void apply_htrans(Mat<eT>& out, const Mat<eT>& A, const bool upper, const typename arma_not_cx<eT>::result* junk = 0);
00039   
00040   template<typename eT>
00041   inline static void apply_htrans(Mat<eT>& out, const Mat<eT>& A, const bool upper, const typename arma_cx_only<eT>::result* junk = 0);
00042   };
00043 
00044 
00045 


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Jan 7 2014 11:42:05