C-XSC - A C++ Class Library for Extended Scientific Computing  2.5.4
lrvecivec.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: lrvecivec.hpp,v 1.25 2014/01/30 17:23:47 cxsc Exp $ */
25 
26 // Here are definitions for imatrix x cmatrix-Functions
27 #ifndef _CXSC_LRVECIVEC_HPP_INCLUDED
28 #define _CXSC_LRVECIVEC_HPP_INCLUDED
29 
30 #include "l_interval.hpp"
31 
32 namespace cxsc {
33 
35  INLINE void accumulate(idotprecision &dp, const l_rvector & rv1, const ivector &rv2)
36 #if(CXSC_INDEX_CHECK)
37  throw(OP_WITH_WRONG_DIM);
38 #else
39  throw();
40 #endif
41  INLINE void accumulate(idotprecision &dp, const ivector & rv1, const l_rvector &rv2)
43 #if(CXSC_INDEX_CHECK)
44  throw(OP_WITH_WRONG_DIM);
45 #else
46  throw();
47 #endif
48  INLINE void accumulate(idotprecision &dp, const l_rvector_slice & sl, const ivector &rv)
50 #if(CXSC_INDEX_CHECK)
51  throw(OP_WITH_WRONG_DIM);
52 #else
53  throw();
54 #endif
55  INLINE void accumulate(idotprecision &dp,const ivector_slice &sl,const l_rvector &rv)
57 #if(CXSC_INDEX_CHECK)
58  throw(OP_WITH_WRONG_DIM);
59 #else
60  throw();
61 #endif
62  INLINE void accumulate(idotprecision &dp, const l_rvector &rv, const ivector_slice &sl)
64 #if(CXSC_INDEX_CHECK)
65  throw(OP_WITH_WRONG_DIM);
66 #else
67  throw();
68 #endif
69  INLINE void accumulate(idotprecision &dp,const ivector &rv,const l_rvector_slice &sl)
71 #if(CXSC_INDEX_CHECK)
72  throw(OP_WITH_WRONG_DIM);
73 #else
74  throw();
75 #endif
76  INLINE void accumulate(idotprecision &dp, const ivector_slice & sl1, const l_rvector_slice &sl2)
78 #if(CXSC_INDEX_CHECK)
79  throw(OP_WITH_WRONG_DIM);
80 #else
81  throw();
82 #endif
83  INLINE void accumulate(idotprecision &dp, const l_rvector_slice & sl1, const ivector_slice &sl2)
85 #if(CXSC_INDEX_CHECK)
86  throw(OP_WITH_WRONG_DIM);
87 #else
88  throw();
89 #endif
90 
92  INLINE l_interval operator *(const l_rvector & rv1, const ivector &rv2)
93 #if(CXSC_INDEX_CHECK)
94  throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>);
95 #else
96  throw();
97 #endif
98  INLINE l_interval operator *(const l_rvector_slice &sl, const ivector &rv)
100 #if(CXSC_INDEX_CHECK)
101  throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>);
102 #else
103  throw();
104 #endif
105  INLINE l_interval operator *(const l_rvector &rv, const ivector_slice &sl)
107 #if(CXSC_INDEX_CHECK)
108  throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>);
109 #else
110  throw();
111 #endif
112  INLINE l_interval operator *(const l_rvector_slice & sl1, const ivector_slice &sl2)
114 #if(CXSC_INDEX_CHECK)
115  throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>);
116 #else
117  throw();
118 #endif
119 
121  INLINE l_interval operator *(const ivector & rv1, const l_rvector &rv2)
122 #if(CXSC_INDEX_CHECK)
123  throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>);
124 #else
125  throw();
126 #endif
127  INLINE l_interval operator *(const ivector_slice &sl, const l_rvector &rv)
129 #if(CXSC_INDEX_CHECK)
130  throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>);
131 #else
132  throw();
133 #endif
134  INLINE l_interval operator *(const ivector &rv, const l_rvector_slice &sl)
136 #if(CXSC_INDEX_CHECK)
137  throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>);
138 #else
139  throw();
140 #endif
141  INLINE l_interval operator *(const ivector_slice & sl1, const l_rvector_slice &sl2)
143 #if(CXSC_INDEX_CHECK)
144  throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>);
145 #else
146  throw();
147 #endif
148 
149 } // namespace cxsc
150 
151 #endif
152 
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