C-XSC - A C++ Class Library for Extended Scientific Computing  2.5.4
iveclrmat.inl
1 /*
2 ** CXSC is a C++ library for eXtended Scientific Computing (V 2.5.4)
3 **
4 ** Copyright (C) 1990-2000 Institut fuer Angewandte Mathematik,
5 ** Universitaet Karlsruhe, Germany
6 ** (C) 2000-2014 Wiss. Rechnen/Softwaretechnologie
7 ** Universitaet Wuppertal, Germany
8 **
9 ** This library is free software; you can redistribute it and/or
10 ** modify it under the terms of the GNU Library General Public
11 ** License as published by the Free Software Foundation; either
12 ** version 2 of the License, or (at your option) any later version.
13 **
14 ** This library is distributed in the hope that it will be useful,
15 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 ** Library General Public License for more details.
18 **
19 ** You should have received a copy of the GNU Library General Public
20 ** License along with this library; if not, write to the Free
21 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */
23 
24 /* CVS $Id: iveclrmat.inl,v 1.23 2014/01/30 17:23:45 cxsc Exp $ */
25 
26 #ifndef _CXSC_IVECLRMAT_INL_INCLUDED
27 #define _CXSC_IVECLRMAT_INL_INCLUDED
28 
29 namespace cxsc {
30 
31  INLINE void accumulate(idotprecision &dp, const l_rmatrix_subv & rv1, const ivector &rv2)
32 #if(CXSC_INDEX_CHECK)
33  throw(OP_WITH_WRONG_DIM)
34 #else
35  throw()
36 #endif
37  { _vmvaccu<idotprecision,ivector,l_rmatrix_subv>(dp,rv2,rv1); }
38  INLINE void accumulate(idotprecision &dp, const ivector & rv1, const l_rmatrix_subv &rv2)
39 #if(CXSC_INDEX_CHECK)
40  throw(OP_WITH_WRONG_DIM)
41 #else
42  throw()
43 #endif
44  { _vmvaccu<idotprecision,ivector,l_rmatrix_subv>(dp,rv1,rv2); }
45  INLINE void accumulate(idotprecision &dp, const l_rmatrix_subv & rv1, const ivector_slice &rv2)
46 #if(CXSC_INDEX_CHECK)
47  throw(OP_WITH_WRONG_DIM)
48 #else
49  throw()
50 #endif
51  { _vmvaccu<idotprecision,ivector,l_rmatrix_subv>(dp,ivector(rv2),rv1); }
52  INLINE void accumulate(idotprecision &dp, const ivector_slice & rv1, const l_rmatrix_subv &rv2)
53 #if(CXSC_INDEX_CHECK)
54  throw(OP_WITH_WRONG_DIM)
55 #else
56  throw()
57 #endif
58  { _vmvaccu<idotprecision,ivector,l_rmatrix_subv>(dp,ivector(rv1),rv2); }
59 
60 } // namespace cxsc
61 
62 #endif
63 
The Data Type idotprecision.
Definition: idot.hpp:47
The Multiple-Precision Data Type l_rmatrix_subv.
Definition: l_rmatrix.hpp:46
The namespace cxsc, providing all functionality of the class library C-XSC.
Definition: cdot.cpp:29
The Data Type ivector_slice.
Definition: ivector.hpp:962
The Data Type ivector.
Definition: ivector.hpp:54