C-XSC - A C++ Class Library for Extended Scientific Computing  2.5.4
civecrmat.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: civecrmat.hpp,v 1.24 2014/01/30 17:23:44 cxsc Exp $ */
25 
26 // Here are definitions for civector x rmatrix-Functions
27 #ifndef _CXSC_CIVECRMAT_HPP_INCLUDED
28 #define _CXSC_CIVECRMAT_HPP_INCLUDED
29 
30 namespace cxsc {
31 
32  INLINE civector _civector(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 civector _civector(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(cidotprecision &dp, const rmatrix_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 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 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 rmatrix_subv &rv2)
64 #if(CXSC_INDEX_CHECK)
65  throw(OP_WITH_WRONG_DIM);
66 #else
67  throw();
68 #endif
69 
70 
71  INLINE civector operator *(const rmatrix &m,const civector &v)
72 #if(CXSC_INDEX_CHECK)
73  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
74 #else
75  throw();
76 #endif
77  INLINE civector operator *(const rmatrix_slice &ms,const civector &v)
78 #if(CXSC_INDEX_CHECK)
79  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
80 #else
81  throw();
82 #endif
83  INLINE civector operator *(const civector &v,const rmatrix &m)
84 #if(CXSC_INDEX_CHECK)
85  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
86 #else
87  throw();
88 #endif
89  INLINE civector operator *(const civector &v,const rmatrix_slice &ms)
90 #if(CXSC_INDEX_CHECK)
91  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
92 #else
93  throw();
94 #endif
95  INLINE civector &operator *=(civector &v,const rmatrix &m)
96 #if(CXSC_INDEX_CHECK)
97  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
98 #else
99  throw();
100 #endif
101  INLINE civector &operator *=(civector &v,const rmatrix_slice &ms)
102 #if(CXSC_INDEX_CHECK)
103  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
104 #else
105  throw();
106 #endif
107 
108  INLINE civector operator *(const civector_slice &v,const rmatrix &m)
109 #if(CXSC_INDEX_CHECK)
110  throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
111 #else
112  throw();
113 #endif
114 
115 } // namespace cxsc
116 
117 #endif
118 
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