C-XSC - A C++ Class Library for Extended Scientific Computing  2.5.4
cvecrmat.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: cvecrmat.hpp,v 1.24 2014/01/30 17:23:44 cxsc Exp $ */
25 
26 // Here are definitions for cvector x rmatrix-Functions
27 #ifndef _CXSC_CVECRMAT_HPP_INCLUDED
28 #define _CXSC_CVECRMAT_HPP_INCLUDED
29 
30 namespace cxsc {
31 
32  INLINE cvector _cvector(const rmatrix &sl)
33 #if(CXSC_INDEX_CHECK)
34  throw(ERROR_RMATRIX_TYPE_CAST_OF_THICK_OBJ);
35 #else
36  throw();
37 #endif
38  INLINE cvector _cvector(const rmatrix_slice &sl)
39 #if(CXSC_INDEX_CHECK)
40  throw(ERROR_RMATRIX_TYPE_CAST_OF_THICK_OBJ);
41 #else
42  throw();
43 #endif
44 
45  void accumulate(cdotprecision &dp, const rmatrix_subv & rv1, const cvector &rv2)
46 #if(CXSC_INDEX_CHECK)
47  throw(OP_WITH_WRONG_DIM);
48 #else
49  throw();
50 #endif
51  void accumulate(cdotprecision &dp, const cvector & rv1, const rmatrix_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 rmatrix_subv & rv1, const cvector &rv2)
58 #if(CXSC_INDEX_CHECK)
59  throw(OP_WITH_WRONG_DIM);
60 #else
61  throw();
62 #endif
63  void accumulate(cidotprecision &dp, const cvector & rv1, const rmatrix_subv &rv2)
64 #if(CXSC_INDEX_CHECK)
65  throw(OP_WITH_WRONG_DIM);
66 #else
67  throw();
68 #endif
69  void accumulate(cdotprecision &dp, const rmatrix_subv & rv1, const cvector_slice &rv2)
70 #if(CXSC_INDEX_CHECK)
71  throw(OP_WITH_WRONG_DIM);
72 #else
73  throw();
74 #endif
75  void accumulate(cdotprecision &dp, const cvector_slice & rv1, const rmatrix_subv &rv2)
76 #if(CXSC_INDEX_CHECK)
77  throw(OP_WITH_WRONG_DIM);
78 #else
79  throw();
80 #endif
81  void accumulate(cidotprecision &dp, const rmatrix_subv & rv1, const cvector_slice &rv2)
82 #if(CXSC_INDEX_CHECK)
83  throw(OP_WITH_WRONG_DIM);
84 #else
85  throw();
86 #endif
87  void accumulate(cidotprecision &dp, const cvector_slice & rv1, const rmatrix_subv &rv2)
88 #if(CXSC_INDEX_CHECK)
89  throw(OP_WITH_WRONG_DIM);
90 #else
91  throw();
92 #endif
93 
94  INLINE void SetIm(cvector &iv,const rmatrix_subv &rv)
95 #if(CXSC_INDEX_CHECK)
96  throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
97 #else
98  throw();
99 #endif
100  INLINE void SetRe(cvector &iv,const rmatrix_subv &rv)
101 #if(CXSC_INDEX_CHECK)
102  throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
103 #else
104  throw();
105 #endif
106  INLINE void SetIm(cvector_slice &iv,const rmatrix_subv &rv)
107 #if(CXSC_INDEX_CHECK)
108  throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
109 #else
110  throw();
111 #endif
112  INLINE void SetRe(cvector_slice &iv,const rmatrix_subv &rv)
113 #if(CXSC_INDEX_CHECK)
114  throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
115 #else
116  throw();
117 #endif
118 
119 
120  INLINE cvector operator *(const rmatrix &m,const cvector &v)
121 #if(CXSC_INDEX_CHECK)
122  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
123 #else
124  throw();
125 #endif
126  INLINE cvector operator *(const rmatrix_slice &ms,const cvector &v)
127 #if(CXSC_INDEX_CHECK)
128  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
129 #else
130  throw();
131 #endif
132  INLINE cvector operator *(const cvector &v,const rmatrix &m)
133 #if(CXSC_INDEX_CHECK)
134  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
135 #else
136  throw();
137 #endif
138  INLINE cvector operator *(const cvector &v,const rmatrix_slice &ms)
139 #if(CXSC_INDEX_CHECK)
140  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
141 #else
142  throw();
143 #endif
144  INLINE cvector &operator *=(cvector &v,const rmatrix &m)
145 #if(CXSC_INDEX_CHECK)
146  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
147 #else
148  throw();
149 #endif
150  INLINE cvector &operator *=(cvector &v,const rmatrix_slice &ms)
151 #if(CXSC_INDEX_CHECK)
152  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
153 #else
154  throw();
155 #endif
156 
157  INLINE cvector operator *(const cvector_slice &v,const rmatrix &m)
158 #if(CXSC_INDEX_CHECK)
159  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
160 #else
161  throw();
162 #endif
163 
164 } // namespace cxsc
165 
166 #endif
167 
cxsc::operator*=
cimatrix & operator*=(cimatrix &m, const cinterval &c)
Implementation of multiplication and allocation operation.
Definition: cimatrix.inl:1605
cxsc::operator*
civector operator*(const cimatrix_subv &rv, const cinterval &s)
Implementation of multiplication operation.
Definition: cimatrix.inl:731
cxsc
The namespace cxsc, providing all functionality of the class library C-XSC.
Definition: cdot.cpp:29