00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef _CXSC_CIVECIMAT_HPP_INCLUDED
00028 #define _CXSC_CIVECIMAT_HPP_INCLUDED
00029
00030 namespace cxsc {
00031
00032 INLINE civector _civector(const imatrix &sl)
00033 #if(CXSC_INDEX_CHECK)
00034 throw(ERROR_IMATRIX_TYPE_CAST_OF_THICK_OBJ);
00035 #else
00036 throw();
00037 #endif
00038 INLINE civector _civector(const imatrix_slice &sl)
00039 #if(CXSC_INDEX_CHECK)
00040 throw(ERROR_IMATRIX_TYPE_CAST_OF_THICK_OBJ);
00041 #else
00042 throw();
00043 #endif
00044
00045 void accumulate(cidotprecision &dp, const imatrix_subv & rv1, const civector &rv2)
00046 #if(CXSC_INDEX_CHECK)
00047 throw(OP_WITH_WRONG_DIM);
00048 #else
00049 throw();
00050 #endif
00051 void accumulate(cidotprecision &dp, const civector & rv1, const imatrix_subv &rv2)
00052 #if(CXSC_INDEX_CHECK)
00053 throw(OP_WITH_WRONG_DIM);
00054 #else
00055 throw();
00056 #endif
00057 void accumulate(cidotprecision &dp, const imatrix_subv & rv1, const civector_slice &rv2)
00058 #if(CXSC_INDEX_CHECK)
00059 throw(OP_WITH_WRONG_DIM);
00060 #else
00061 throw();
00062 #endif
00063 void accumulate(cidotprecision &dp, const civector_slice & rv1, const imatrix_subv &rv2)
00064 #if(CXSC_INDEX_CHECK)
00065 throw(OP_WITH_WRONG_DIM);
00066 #else
00067 throw();
00068 #endif
00069
00070 INLINE void SetIm(civector &iv,const imatrix_subv &rv)
00071 #if(CXSC_INDEX_CHECK)
00072 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
00073 #else
00074 throw();
00075 #endif
00076 INLINE void SetRe(civector &iv,const imatrix_subv &rv)
00077 #if(CXSC_INDEX_CHECK)
00078 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
00079 #else
00080 throw();
00081 #endif
00082 INLINE void SetIm(civector_slice &iv,const imatrix_subv &rv)
00083 #if(CXSC_INDEX_CHECK)
00084 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
00085 #else
00086 throw();
00087 #endif
00088 INLINE void SetRe(civector_slice &iv,const imatrix_subv &rv)
00089 #if(CXSC_INDEX_CHECK)
00090 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
00091 #else
00092 throw();
00093 #endif
00094
00095
00096 INLINE civector operator *(const imatrix &m,const civector &v)
00097 #if(CXSC_INDEX_CHECK)
00098 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
00099 #else
00100 throw();
00101 #endif
00102 INLINE civector operator *(const imatrix_slice &ms,const civector &v)
00103 #if(CXSC_INDEX_CHECK)
00104 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
00105 #else
00106 throw();
00107 #endif
00108 INLINE civector operator *(const civector &v,const imatrix &m)
00109 #if(CXSC_INDEX_CHECK)
00110 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
00111 #else
00112 throw();
00113 #endif
00114 INLINE civector operator *(const civector &v,const imatrix_slice &ms)
00115 #if(CXSC_INDEX_CHECK)
00116 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
00117 #else
00118 throw();
00119 #endif
00120 INLINE civector &operator *=(civector &v,const imatrix &m)
00121 #if(CXSC_INDEX_CHECK)
00122 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
00123 #else
00124 throw();
00125 #endif
00126 INLINE civector &operator *=(civector &v,const imatrix_slice &ms)
00127 #if(CXSC_INDEX_CHECK)
00128 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
00129 #else
00130 throw();
00131 #endif
00132
00133 INLINE civector operator *(const civector_slice &v,const imatrix &m)
00134 #if(CXSC_INDEX_CHECK)
00135 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
00136 #else
00137 throw();
00138 #endif
00139
00140
00141 INLINE civector operator *(const cvector &v,const imatrix &m)
00142 #if(CXSC_INDEX_CHECK)
00143 throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
00144 #else
00145 throw();
00146 #endif
00147 INLINE civector operator *(const cvector &v,const imatrix_slice &ms)
00148 #if(CXSC_INDEX_CHECK)
00149 throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
00150 #else
00151 throw();
00152 #endif
00153 INLINE civector operator *(const cvector_slice &v,const imatrix &m)
00154 #if(CXSC_INDEX_CHECK)
00155 throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
00156 #else
00157 throw();
00158 #endif
00159 INLINE civector operator *(const imatrix &m,const cvector &v)
00160 #if(CXSC_INDEX_CHECK)
00161 throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
00162 #else
00163 throw();
00164 #endif
00165 INLINE civector operator *(const imatrix_slice &ms,const cvector &v)
00166 #if(CXSC_INDEX_CHECK)
00167 throw(ERROR_CIMATRIX_OP_WITH_WRONG_DIM);
00168 #else
00169 throw();
00170 #endif
00171
00172 }
00173
00174 #endif
00175