C-XSC - A C++ Class Library for Extended Scientific Computing  2.5.4
civeccmat.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: civeccmat.hpp,v 1.24 2014/01/30 17:23:44 cxsc Exp $ */
25 
26 // Here are definitions for civector x cmatrix-Functions
27 #ifndef _CXSC_CIVECCMAT_HPP_INCLUDED
28 #define _CXSC_CIVECCMAT_HPP_INCLUDED
29 
30 namespace cxsc {
31 
32  INLINE civector _civector(const cmatrix &sl)
33 #if(CXSC_INDEX_CHECK)
34  throw(ERROR_CMATRIX_TYPE_CAST_OF_THICK_OBJ);
35 #else
36  throw();
37 #endif
38  INLINE civector _civector(const cmatrix_slice &sl)
39 #if(CXSC_INDEX_CHECK)
40  throw(ERROR_CMATRIX_TYPE_CAST_OF_THICK_OBJ);
41 #else
42  throw();
43 #endif
44 
45  void accumulate(cidotprecision &dp, const cmatrix_subv & rv1, const civector &rv2)
46 #if(CXSC_INDEX_CHECK)
47  throw(OP_WITH_WRONG_DIM);
48 #else
49  throw();
50 #endif
51  void accumulate(cidotprecision &dp, const civector & rv1, const cmatrix_subv &rv2)
52 #if(CXSC_INDEX_CHECK)
53  throw(OP_WITH_WRONG_DIM);
54 #else
55  throw();
56 #endif
57  void accumulate(cidotprecision &dp, const cmatrix_subv & rv1, const civector_slice &rv2)
58 #if(CXSC_INDEX_CHECK)
59  throw(OP_WITH_WRONG_DIM);
60 #else
61  throw();
62 #endif
63  void accumulate(cidotprecision &dp, const civector_slice & rv1, const cmatrix_subv &rv2)
64 #if(CXSC_INDEX_CHECK)
65  throw(OP_WITH_WRONG_DIM);
66 #else
67  throw();
68 #endif
69 
70  INLINE void SetInf(civector &iv,const cmatrix_subv &rv)
71 #if(CXSC_INDEX_CHECK)
72  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
73 #else
74  throw();
75 #endif
76  INLINE void SetSup(civector &iv,const cmatrix_subv &rv)
77 #if(CXSC_INDEX_CHECK)
78  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
79 #else
80  throw();
81 #endif
82  INLINE void SetInf(civector_slice &iv,const cmatrix_subv &rv)
83 #if(CXSC_INDEX_CHECK)
84  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
85 #else
86  throw();
87 #endif
88  INLINE void SetSup(civector_slice &iv,const cmatrix_subv &rv)
89 #if(CXSC_INDEX_CHECK)
90  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
91 #else
92  throw();
93 #endif
94 
95  INLINE void UncheckedSetInf(civector &iv,const cmatrix_subv &rv)
96 #if(CXSC_INDEX_CHECK)
97  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
98 #else
99  throw();
100 #endif
101  INLINE void UncheckedSetSup(civector &iv,const cmatrix_subv &rv)
102 #if(CXSC_INDEX_CHECK)
103  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
104 #else
105  throw();
106 #endif
107  INLINE void UncheckedSetInf(civector_slice &iv,const cmatrix_subv &rv)
108 #if(CXSC_INDEX_CHECK)
109  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
110 #else
111  throw();
112 #endif
113  INLINE void UncheckedSetSup(civector_slice &iv,const cmatrix_subv &rv)
114 #if(CXSC_INDEX_CHECK)
115  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
116 #else
117  throw();
118 #endif
119 
120 
121  INLINE civector operator *(const cmatrix &m,const civector &v)
122 #if(CXSC_INDEX_CHECK)
123  throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
124 #else
125  throw();
126 #endif
127  INLINE civector operator *(const cmatrix_slice &ms,const civector &v)
128 #if(CXSC_INDEX_CHECK)
129  throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
130 #else
131  throw();
132 #endif
133  INLINE civector operator *(const civector &v,const cmatrix &m)
134 #if(CXSC_INDEX_CHECK)
135  throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
136 #else
137  throw();
138 #endif
139  INLINE civector operator *(const civector &v,const cmatrix_slice &ms)
140 #if(CXSC_INDEX_CHECK)
141  throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
142 #else
143  throw();
144 #endif
145  INLINE civector &operator *=(civector &v,const cmatrix &m)
146 #if(CXSC_INDEX_CHECK)
147  throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
148 #else
149  throw();
150 #endif
151  INLINE civector &operator *=(civector &v,const cmatrix_slice &ms)
152 #if(CXSC_INDEX_CHECK)
153  throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
154 #else
155  throw();
156 #endif
157 
158  INLINE civector operator *(const civector_slice &v,const cmatrix &m)
159 #if(CXSC_INDEX_CHECK)
160  throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
161 #else
162  throw();
163 #endif
164 
165 
166  INLINE civector operator *(const ivector &v,const cmatrix &m)
167 #if(CXSC_INDEX_CHECK)
168  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
169 #else
170  throw();
171 #endif
172  INLINE civector operator *(const ivector &v,const cmatrix_slice &ms)
173 #if(CXSC_INDEX_CHECK)
174  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
175 #else
176  throw();
177 #endif
178  INLINE civector operator *(const ivector_slice &v,const cmatrix &m)
179 #if(CXSC_INDEX_CHECK)
180  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
181 #else
182  throw();
183 #endif
184  INLINE civector operator *(const cmatrix &m,const ivector &v)
185 #if(CXSC_INDEX_CHECK)
186  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
187 #else
188  throw();
189 #endif
190  INLINE civector operator *(const cmatrix_slice &ms,const ivector &v)
191 #if(CXSC_INDEX_CHECK)
192  throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
193 #else
194  throw();
195 #endif
196 
197 } // namespace cxsc
198 
199 #endif
200 
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
cimatrix & operator*=(cimatrix &m, const cinterval &c)
Implementation of multiplication and allocation operation.
Definition: cimatrix.inl:1605