C-XSC - A C++ Class Library for Extended Scientific Computing  2.5.4
livecrmat.hpp
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: livecrmat.hpp,v 1.24 2014/01/30 17:23:47 cxsc Exp $ */
25 
26 // Here are definitions for l_ivector x rmatrix-Functions
27 #ifndef _CXSC_LIVECRMAT_HPP_INCLUDED
28 #define _CXSC_LIVECRMAT_HPP_INCLUDED
29 
30 namespace cxsc {
31 
33  INLINE l_ivector _l_ivector(const rmatrix &sl)
34 #if(CXSC_INDEX_CHECK)
35  throw(ERROR_RMATRIX_TYPE_CAST_OF_THICK_OBJ);
36 #else
37  throw();
38 #endif
39  INLINE l_ivector _l_ivector(const rmatrix_slice &sl)
41 #if(CXSC_INDEX_CHECK)
42  throw(ERROR_RMATRIX_TYPE_CAST_OF_THICK_OBJ);
43 #else
44  throw();
45 #endif
46 
48  INLINE void accumulate(idotprecision &dp, const rmatrix_subv & rv1, const l_ivector &rv2)
49 #if(CXSC_INDEX_CHECK)
50  throw(OP_WITH_WRONG_DIM);
51 #else
52  throw();
53 #endif
54  INLINE void accumulate(idotprecision &dp, const l_ivector & rv1, const rmatrix_subv &rv2)
56 #if(CXSC_INDEX_CHECK)
57  throw(OP_WITH_WRONG_DIM);
58 #else
59  throw();
60 #endif
61  INLINE void accumulate(idotprecision &dp, const rmatrix_subv & rv1, const l_ivector_slice &rv2)
63 #if(CXSC_INDEX_CHECK)
64  throw(OP_WITH_WRONG_DIM);
65 #else
66  throw();
67 #endif
68  INLINE void accumulate(idotprecision &dp, const l_ivector_slice & rv1, const rmatrix_subv &rv2)
70 #if(CXSC_INDEX_CHECK)
71  throw(OP_WITH_WRONG_DIM);
72 #else
73  throw();
74 #endif
75 
76 
78  INLINE l_ivector operator *(const rmatrix &m,const l_ivector &v)
79 #if(CXSC_INDEX_CHECK)
80  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
81 #else
82  throw();
83 #endif
84  INLINE l_ivector operator *(const rmatrix_slice &ms,const l_ivector &v)
86 #if(CXSC_INDEX_CHECK)
87  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
88 #else
89  throw();
90 #endif
91  INLINE l_ivector operator *(const l_ivector &v,const rmatrix &m)
93 #if(CXSC_INDEX_CHECK)
94  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
95 #else
96  throw();
97 #endif
98  INLINE l_ivector operator *(const l_ivector &v,const rmatrix_slice &ms)
100 #if(CXSC_INDEX_CHECK)
101  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
102 #else
103  throw();
104 #endif
105  INLINE l_ivector &operator *=(l_ivector &v,const rmatrix &m)
107 #if(CXSC_INDEX_CHECK)
108  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
109 #else
110  throw();
111 #endif
112  INLINE l_ivector &operator *=(l_ivector &v,const rmatrix_slice &ms)
114 #if(CXSC_INDEX_CHECK)
115  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
116 #else
117  throw();
118 #endif
119 
121  INLINE l_ivector operator *(const l_ivector_slice &v,const rmatrix &m)
122 #if(CXSC_INDEX_CHECK)
123  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
124 #else
125  throw();
126 #endif
127 
128 } // namespace cxsc
129 
130 #endif
131 
The namespace cxsc, providing all functionality of the class library C-XSC.
Definition: cdot.cpp:29
civector operator*(const cimatrix_subv &rv, const cinterval &s)
Implementation of multiplication operation.
Definition: cimatrix.inl:731
l_ivector _l_ivector(const l_interval &r)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
Definition: l_ivector.inl:252
cimatrix & operator*=(cimatrix &m, const cinterval &c)
Implementation of multiplication and allocation operation.
Definition: cimatrix.inl:1605