27 #ifndef _CXSC_IVECRMAT_HPP_INCLUDED
28 #define _CXSC_IVECRMAT_HPP_INCLUDED
33 INLINE ivector
_ivector(
const rmatrix &sl)
35 throw(ERROR_RMATRIX_TYPE_CAST_OF_THICK_OBJ);
39 INLINE ivector
_ivector(
const rmatrix_slice &sl)
42 throw(ERROR_RMATRIX_TYPE_CAST_OF_THICK_OBJ);
48 void accumulate(idotprecision &dp,
const rmatrix_subv & rv1,
const ivector &rv2)
50 throw(OP_WITH_WRONG_DIM);
54 void accumulate(idotprecision &dp,
const ivector & rv1,
const rmatrix_subv &rv2)
57 throw(OP_WITH_WRONG_DIM);
61 void accumulate(cidotprecision &dp,
const rmatrix_subv & rv1,
const ivector &rv2)
64 throw(OP_WITH_WRONG_DIM);
68 void accumulate(cidotprecision &dp,
const ivector & rv1,
const rmatrix_subv &rv2)
71 throw(OP_WITH_WRONG_DIM);
75 void accumulate(idotprecision &dp,
const rmatrix_subv & rv1,
const ivector_slice &rv2)
78 throw(OP_WITH_WRONG_DIM);
82 void accumulate(idotprecision &dp,
const ivector_slice & rv1,
const rmatrix_subv &rv2)
85 throw(OP_WITH_WRONG_DIM);
89 void accumulate(cidotprecision &dp,
const rmatrix_subv & rv1,
const ivector_slice &rv2)
92 throw(OP_WITH_WRONG_DIM);
96 void accumulate(cidotprecision &dp,
const ivector_slice & rv1,
const rmatrix_subv &rv2)
99 throw(OP_WITH_WRONG_DIM);
106 INLINE
void SetInf(ivector &iv,
const rmatrix_subv &rv)
107 #if(CXSC_INDEX_CHECK)
108 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
112 INLINE
void SetSup(ivector &iv,
const rmatrix_subv &rv)
114 #if(CXSC_INDEX_CHECK)
115 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
119 INLINE
void SetInf(ivector_slice &iv,
const rmatrix_subv &rv)
121 #if(CXSC_INDEX_CHECK)
122 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
126 INLINE
void SetSup(ivector_slice &iv,
const rmatrix_subv &rv)
128 #if(CXSC_INDEX_CHECK)
129 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
135 INLINE
void UncheckedSetInf(ivector &iv,
const rmatrix_subv &rv)
136 #if(CXSC_INDEX_CHECK)
137 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
141 INLINE
void UncheckedSetSup(ivector &iv,
const rmatrix_subv &rv)
143 #if(CXSC_INDEX_CHECK)
144 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
148 INLINE
void UncheckedSetInf(ivector_slice &iv,
const rmatrix_subv &rv)
150 #if(CXSC_INDEX_CHECK)
151 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
155 INLINE
void UncheckedSetSup(ivector_slice &iv,
const rmatrix_subv &rv)
157 #if(CXSC_INDEX_CHECK)
158 throw(ERROR_IMATRIX_OP_WITH_WRONG_DIM);
165 INLINE ivector
operator *(
const rmatrix &m,
const ivector &v)
166 #if(CXSC_INDEX_CHECK)
167 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
171 INLINE ivector
operator *(
const rmatrix_slice &ms,
const ivector &v)
173 #if(CXSC_INDEX_CHECK)
174 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
178 INLINE ivector
operator *(
const ivector &v,
const rmatrix &m)
180 #if(CXSC_INDEX_CHECK)
181 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
185 INLINE ivector
operator *(
const ivector &v,
const rmatrix_slice &ms)
187 #if(CXSC_INDEX_CHECK)
188 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
192 INLINE ivector &
operator *=(ivector &v,
const rmatrix &m)
194 #if(CXSC_INDEX_CHECK)
195 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
199 INLINE ivector &
operator *=(ivector &v,
const rmatrix_slice &ms)
201 #if(CXSC_INDEX_CHECK)
202 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
208 INLINE ivector
operator *(
const ivector_slice &v,
const rmatrix &m)
209 #if(CXSC_INDEX_CHECK)
210 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);