C-XSC - A C++ Class Library for Extended Scientific Computing
2.5.4
|
00001 /* 00002 ** CXSC is a C++ library for eXtended Scientific Computing (V 2.5.4) 00003 ** 00004 ** Copyright (C) 1990-2000 Institut fuer Angewandte Mathematik, 00005 ** Universitaet Karlsruhe, Germany 00006 ** (C) 2000-2014 Wiss. Rechnen/Softwaretechnologie 00007 ** Universitaet Wuppertal, Germany 00008 ** 00009 ** This library is free software; you can redistribute it and/or 00010 ** modify it under the terms of the GNU Library General Public 00011 ** License as published by the Free Software Foundation; either 00012 ** version 2 of the License, or (at your option) any later version. 00013 ** 00014 ** This library is distributed in the hope that it will be useful, 00015 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 ** Library General Public License for more details. 00018 ** 00019 ** You should have received a copy of the GNU Library General Public 00020 ** License along with this library; if not, write to the Free 00021 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 */ 00023 00024 /* CVS $Id: lrvecivec.hpp,v 1.25 2014/01/30 17:23:47 cxsc Exp $ */ 00025 00026 // Here are definitions for imatrix x cmatrix-Functions 00027 #ifndef _CXSC_LRVECIVEC_HPP_INCLUDED 00028 #define _CXSC_LRVECIVEC_HPP_INCLUDED 00029 00030 #include "l_interval.hpp" 00031 00032 namespace cxsc { 00033 00035 INLINE void accumulate(idotprecision &dp, const l_rvector & rv1, const ivector &rv2) 00036 #if(CXSC_INDEX_CHECK) 00037 throw(OP_WITH_WRONG_DIM); 00038 #else 00039 throw(); 00040 #endif 00041 00042 INLINE void accumulate(idotprecision &dp, const ivector & rv1, const l_rvector &rv2) 00043 #if(CXSC_INDEX_CHECK) 00044 throw(OP_WITH_WRONG_DIM); 00045 #else 00046 throw(); 00047 #endif 00048 00049 INLINE void accumulate(idotprecision &dp, const l_rvector_slice & sl, const ivector &rv) 00050 #if(CXSC_INDEX_CHECK) 00051 throw(OP_WITH_WRONG_DIM); 00052 #else 00053 throw(); 00054 #endif 00055 00056 INLINE void accumulate(idotprecision &dp,const ivector_slice &sl,const l_rvector &rv) 00057 #if(CXSC_INDEX_CHECK) 00058 throw(OP_WITH_WRONG_DIM); 00059 #else 00060 throw(); 00061 #endif 00062 00063 INLINE void accumulate(idotprecision &dp, const l_rvector &rv, const ivector_slice &sl) 00064 #if(CXSC_INDEX_CHECK) 00065 throw(OP_WITH_WRONG_DIM); 00066 #else 00067 throw(); 00068 #endif 00069 00070 INLINE void accumulate(idotprecision &dp,const ivector &rv,const l_rvector_slice &sl) 00071 #if(CXSC_INDEX_CHECK) 00072 throw(OP_WITH_WRONG_DIM); 00073 #else 00074 throw(); 00075 #endif 00076 00077 INLINE void accumulate(idotprecision &dp, const ivector_slice & sl1, const l_rvector_slice &sl2) 00078 #if(CXSC_INDEX_CHECK) 00079 throw(OP_WITH_WRONG_DIM); 00080 #else 00081 throw(); 00082 #endif 00083 00084 INLINE void accumulate(idotprecision &dp, const l_rvector_slice & sl1, const ivector_slice &sl2) 00085 #if(CXSC_INDEX_CHECK) 00086 throw(OP_WITH_WRONG_DIM); 00087 #else 00088 throw(); 00089 #endif 00090 00092 INLINE l_interval operator *(const l_rvector & rv1, const ivector &rv2) 00093 #if(CXSC_INDEX_CHECK) 00094 throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>); 00095 #else 00096 throw(); 00097 #endif 00098 00099 INLINE l_interval operator *(const l_rvector_slice &sl, const ivector &rv) 00100 #if(CXSC_INDEX_CHECK) 00101 throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>); 00102 #else 00103 throw(); 00104 #endif 00105 00106 INLINE l_interval operator *(const l_rvector &rv, const ivector_slice &sl) 00107 #if(CXSC_INDEX_CHECK) 00108 throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>); 00109 #else 00110 throw(); 00111 #endif 00112 00113 INLINE l_interval operator *(const l_rvector_slice & sl1, const ivector_slice &sl2) 00114 #if(CXSC_INDEX_CHECK) 00115 throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>); 00116 #else 00117 throw(); 00118 #endif 00119 00121 INLINE l_interval operator *(const ivector & rv1, const l_rvector &rv2) 00122 #if(CXSC_INDEX_CHECK) 00123 throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>); 00124 #else 00125 throw(); 00126 #endif 00127 00128 INLINE l_interval operator *(const ivector_slice &sl, const l_rvector &rv) 00129 #if(CXSC_INDEX_CHECK) 00130 throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>); 00131 #else 00132 throw(); 00133 #endif 00134 00135 INLINE l_interval operator *(const ivector &rv, const l_rvector_slice &sl) 00136 #if(CXSC_INDEX_CHECK) 00137 throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>); 00138 #else 00139 throw(); 00140 #endif 00141 00142 INLINE l_interval operator *(const ivector_slice & sl1, const l_rvector_slice &sl2) 00143 #if(CXSC_INDEX_CHECK) 00144 throw(ERROR__OP_WITH_WRONG_DIM<l_ivector>); 00145 #else 00146 throw(); 00147 #endif 00148 00149 } // namespace cxsc 00150 00151 #endif 00152