C-XSC - A C++ Class Library for Extended Scientific Computing  2.5.4
lrvecimat.inl
00001 /*
00002 **  CXSC is a C++ library for eXtended Scientific Computing (V 2.5.4)
00003 **
00004 **  Copyright (C) 1990-2000 Institut fuer Angewandte Mathematik,
00005 **                          Universitaet Karlsruhe, Germany
00006 **            (C) 2000-2014 Wiss. Rechnen/Softwaretechnologie
00007 **                          Universitaet Wuppertal, Germany   
00008 **
00009 **  This library is free software; you can redistribute it and/or
00010 **  modify it under the terms of the GNU Library General Public
00011 **  License as published by the Free Software Foundation; either
00012 **  version 2 of the License, or (at your option) any later version.
00013 **
00014 **  This library is distributed in the hope that it will be useful,
00015 **  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017 **  Library General Public License for more details.
00018 **
00019 **  You should have received a copy of the GNU Library General Public
00020 **  License along with this library; if not, write to the Free
00021 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022 */
00023 
00024 /* CVS $Id: lrvecimat.inl,v 1.23 2014/01/30 17:23:47 cxsc Exp $ */
00025 
00026 #ifndef _CXSC_LRVECIMAT_INL_INCLUDED
00027 #define _CXSC_LRVECIMAT_INL_INCLUDED
00028 
00029 namespace cxsc {
00030 
00031         INLINE void accumulate(idotprecision &dp, const imatrix_subv & rv1, const l_rvector &rv2)
00032 #if(CXSC_INDEX_CHECK)
00033         throw(OP_WITH_WRONG_DIM)
00034 #else
00035         throw()
00036 #endif
00037         { _vmvaccu<idotprecision,l_rvector,imatrix_subv>(dp,rv2,rv1); }
00038         INLINE void accumulate(idotprecision &dp, const l_rvector & rv1, const imatrix_subv &rv2)
00039 #if(CXSC_INDEX_CHECK)
00040         throw(OP_WITH_WRONG_DIM)
00041 #else
00042         throw()
00043 #endif
00044         { _vmvaccu<idotprecision,l_rvector,imatrix_subv>(dp,rv1,rv2); }
00045         INLINE void accumulate(idotprecision &dp, const imatrix_subv & rv1, const l_rvector_slice &rv2)
00046 #if(CXSC_INDEX_CHECK)
00047         throw(OP_WITH_WRONG_DIM)
00048 #else
00049         throw()
00050 #endif
00051         { _vmvaccu<idotprecision,l_rvector,imatrix_subv>(dp,l_rvector(rv2),rv1); }
00052         INLINE void accumulate(idotprecision &dp, const l_rvector_slice & rv1, const imatrix_subv &rv2)
00053 #if(CXSC_INDEX_CHECK)
00054         throw(OP_WITH_WRONG_DIM)
00055 #else
00056         throw()
00057 #endif
00058         { _vmvaccu<idotprecision,l_rvector,imatrix_subv>(dp,l_rvector(rv1),rv2); }
00059 
00060 } // namespace cxsc
00061 
00062 #endif
00063