C-XSC - A C++ Class Library for Extended Scientific Computing  2.5.4
liveclrmat.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: liveclrmat.hpp,v 1.25 2014/01/30 17:23:47 cxsc Exp $ */
25 
26 // Here are definitions for l_ivector x l_rmatrix-Functions
27 #ifndef _CXSC_LIVECLRMAT_HPP_INCLUDED
28 #define _CXSC_LIVECLRMAT_HPP_INCLUDED
29 
30 namespace cxsc {
31 
33  INLINE l_ivector _l_ivector(const l_rmatrix &sl)
34 #if(CXSC_INDEX_CHECK)
35  throw(ERROR_LRMATRIX_TYPE_CAST_OF_THICK_OBJ);
36 #else
37  throw();
38 #endif
39  INLINE l_ivector _l_ivector(const l_rmatrix_slice &sl)
41 #if(CXSC_INDEX_CHECK)
42  throw(ERROR_LRMATRIX_TYPE_CAST_OF_THICK_OBJ);
43 #else
44  throw();
45 #endif
46 
48  INLINE void accumulate(idotprecision &dp, const l_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 l_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 l_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 l_rmatrix_subv &rv2)
70 #if(CXSC_INDEX_CHECK)
71  throw(OP_WITH_WRONG_DIM);
72 #else
73  throw();
74 #endif
75 
77  INLINE void SetInf(l_ivector &iv,const l_rmatrix_subv &rv)
78 #if(CXSC_INDEX_CHECK)
79  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
80 #else
81  throw();
82 #endif
83  INLINE void SetSup(l_ivector &iv,const l_rmatrix_subv &rv)
85 #if(CXSC_INDEX_CHECK)
86  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
87 #else
88  throw();
89 #endif
90  INLINE void SetInf(l_ivector_slice &iv,const l_rmatrix_subv &rv)
92 #if(CXSC_INDEX_CHECK)
93  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
94 #else
95  throw();
96 #endif
97  INLINE void SetSup(l_ivector_slice &iv,const l_rmatrix_subv &rv)
99 #if(CXSC_INDEX_CHECK)
100  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
101 #else
102  throw();
103 #endif
104 
106  INLINE void UncheckedSetInf(l_ivector &iv,const l_rmatrix_subv &rv)
107 #if(CXSC_INDEX_CHECK)
108  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
109 #else
110  throw();
111 #endif
112  INLINE void UncheckedSetSup(l_ivector &iv,const l_rmatrix_subv &rv)
114 #if(CXSC_INDEX_CHECK)
115  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
116 #else
117  throw();
118 #endif
119  INLINE void UncheckedSetInf(l_ivector_slice &iv,const l_rmatrix_subv &rv)
121 #if(CXSC_INDEX_CHECK)
122  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
123 #else
124  throw();
125 #endif
126  INLINE void UncheckedSetSup(l_ivector_slice &iv,const l_rmatrix_subv &rv)
128 #if(CXSC_INDEX_CHECK)
129  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
130 #else
131  throw();
132 #endif
133 
134 
136  INLINE l_ivector operator *(const l_rmatrix &m,const l_ivector &v)
137 #if(CXSC_INDEX_CHECK)
138  throw(ERROR_LRMATRIX_OP_WITH_WRONG_DIM);
139 #else
140  throw();
141 #endif
142  INLINE l_ivector operator *(const l_rmatrix_slice &ms,const l_ivector &v)
144 #if(CXSC_INDEX_CHECK)
145  throw(ERROR_LRMATRIX_OP_WITH_WRONG_DIM);
146 #else
147  throw();
148 #endif
149  INLINE l_ivector operator *(const l_ivector &v,const l_rmatrix &m)
151 #if(CXSC_INDEX_CHECK)
152  throw(ERROR_LRMATRIX_OP_WITH_WRONG_DIM);
153 #else
154  throw();
155 #endif
156  INLINE l_ivector operator *(const l_ivector &v,const l_rmatrix_slice &ms)
158 #if(CXSC_INDEX_CHECK)
159  throw(ERROR_LRMATRIX_OP_WITH_WRONG_DIM);
160 #else
161  throw();
162 #endif
163  INLINE l_ivector &operator *=(l_ivector &v,const l_rmatrix &m)
165 #if(CXSC_INDEX_CHECK)
166  throw(ERROR_LRMATRIX_OP_WITH_WRONG_DIM);
167 #else
168  throw();
169 #endif
170  INLINE l_ivector &operator *=(l_ivector &v,const l_rmatrix_slice &ms)
172 #if(CXSC_INDEX_CHECK)
173  throw(ERROR_LRMATRIX_OP_WITH_WRONG_DIM);
174 #else
175  throw();
176 #endif
177 
179  INLINE l_ivector operator *(const l_ivector_slice &v,const l_rmatrix &m)
180 #if(CXSC_INDEX_CHECK)
181  throw(ERROR_LRMATRIX_OP_WITH_WRONG_DIM);
182 #else
183  throw();
184 #endif
185 
186 
188  INLINE l_ivector operator *(const ivector &v,const l_rmatrix &m)
189 #if(CXSC_INDEX_CHECK)
190  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
191 #else
192  throw();
193 #endif
194  INLINE l_ivector operator *(const ivector &v,const l_rmatrix_slice &ms)
196 #if(CXSC_INDEX_CHECK)
197  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
198 #else
199  throw();
200 #endif
201  INLINE l_ivector operator *(const ivector_slice &v,const l_rmatrix &m)
203 #if(CXSC_INDEX_CHECK)
204  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
205 #else
206  throw();
207 #endif
208  INLINE l_ivector operator *(const l_rmatrix &m,const ivector &v)
210 #if(CXSC_INDEX_CHECK)
211  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
212 #else
213  throw();
214 #endif
215  INLINE l_ivector operator *(const l_rmatrix_slice &ms,const ivector &v)
217 #if(CXSC_INDEX_CHECK)
218  throw(ERROR_LIMATRIX_OP_WITH_WRONG_DIM);
219 #else
220  throw();
221 #endif
222 
223 } // namespace cxsc
224 
225 #endif
226 
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