C-XSC - A C++ Class Library for Extended Scientific Computing  2.5.4
lrvecrmat.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: lrvecrmat.hpp,v 1.24 2014/01/30 17:23:47 cxsc Exp $ */
25 
26 // Here are definitions for l_rvector x rmatrix-Functions
27 #ifndef _CXSC_LRVECRMAT_HPP_INCLUDED
28 #define _CXSC_LRVECRMAT_HPP_INCLUDED
29 
30 namespace cxsc {
31 
33  INLINE l_rvector _l_rvector(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_rvector _l_rvector(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(dotprecision &dp, const rmatrix_subv & rv1, const l_rvector &rv2)
49 #if(CXSC_INDEX_CHECK)
50  throw(OP_WITH_WRONG_DIM);
51 #else
52  throw();
53 #endif
54  INLINE void accumulate(dotprecision &dp, const l_rvector & 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_rvector &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_rvector & rv1, const rmatrix_subv &rv2)
70 #if(CXSC_INDEX_CHECK)
71  throw(OP_WITH_WRONG_DIM);
72 #else
73  throw();
74 #endif
75  INLINE void accumulate(dotprecision &dp, const rmatrix_subv & rv1, const l_rvector_slice &rv2)
77 #if(CXSC_INDEX_CHECK)
78  throw(OP_WITH_WRONG_DIM);
79 #else
80  throw();
81 #endif
82  INLINE void accumulate(dotprecision &dp, const l_rvector_slice & rv1, const rmatrix_subv &rv2)
84 #if(CXSC_INDEX_CHECK)
85  throw(OP_WITH_WRONG_DIM);
86 #else
87  throw();
88 #endif
89  INLINE void accumulate(idotprecision &dp, const rmatrix_subv & rv1, const l_rvector_slice &rv2)
91 #if(CXSC_INDEX_CHECK)
92  throw(OP_WITH_WRONG_DIM);
93 #else
94  throw();
95 #endif
96  INLINE void accumulate(idotprecision &dp, const l_rvector_slice & rv1, const rmatrix_subv &rv2)
98 #if(CXSC_INDEX_CHECK)
99  throw(OP_WITH_WRONG_DIM);
100 #else
101  throw();
102 #endif
103 
105  INLINE l_rvector operator *(const rmatrix &m,const l_rvector &v)
106 #if(CXSC_INDEX_CHECK)
107  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
108 #else
109  throw();
110 #endif
111  INLINE l_rvector operator *(const rmatrix_slice &ms,const l_rvector &v)
113 #if(CXSC_INDEX_CHECK)
114  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
115 #else
116  throw();
117 #endif
118  INLINE l_rvector operator *(const l_rvector &v,const rmatrix &m)
120 #if(CXSC_INDEX_CHECK)
121  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
122 #else
123  throw();
124 #endif
125  INLINE l_rvector operator *(const l_rvector &v,const rmatrix_slice &ms)
127 #if(CXSC_INDEX_CHECK)
128  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
129 #else
130  throw();
131 #endif
132  INLINE l_rvector &operator *=(l_rvector &v,const rmatrix &m)
134 #if(CXSC_INDEX_CHECK)
135  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
136 #else
137  throw();
138 #endif
139  INLINE l_rvector &operator *=(l_rvector &v,const rmatrix_slice &ms)
141 #if(CXSC_INDEX_CHECK)
142  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
143 #else
144  throw();
145 #endif
146 
148  INLINE l_rvector operator *(const l_rvector_slice &v,const rmatrix &m)
149 #if(CXSC_INDEX_CHECK)
150  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
151 #else
152  throw();
153 #endif
154 
155 } // namespace cxsc
156 
157 #endif
158 
INLINE l_rvector _l_rvector(const rmatrix_subv &rs)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC...
Definition: l_rmatrix.inl:102
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