27 #ifndef _CXSC_CVECRMAT_HPP_INCLUDED 28 #define _CXSC_CVECRMAT_HPP_INCLUDED 32 INLINE cvector _cvector(
const rmatrix &sl)
34 throw(ERROR_RMATRIX_TYPE_CAST_OF_THICK_OBJ);
38 INLINE cvector _cvector(
const rmatrix_slice &sl)
40 throw(ERROR_RMATRIX_TYPE_CAST_OF_THICK_OBJ);
45 void accumulate(cdotprecision &dp,
const rmatrix_subv & rv1,
const cvector &rv2)
47 throw(OP_WITH_WRONG_DIM);
51 void accumulate(cdotprecision &dp,
const cvector & rv1,
const rmatrix_subv &rv2)
53 throw(OP_WITH_WRONG_DIM);
57 void accumulate(cidotprecision &dp,
const rmatrix_subv & rv1,
const cvector &rv2)
59 throw(OP_WITH_WRONG_DIM);
63 void accumulate(cidotprecision &dp,
const cvector & rv1,
const rmatrix_subv &rv2)
65 throw(OP_WITH_WRONG_DIM);
69 void accumulate(cdotprecision &dp,
const rmatrix_subv & rv1,
const cvector_slice &rv2)
71 throw(OP_WITH_WRONG_DIM);
75 void accumulate(cdotprecision &dp,
const cvector_slice & rv1,
const rmatrix_subv &rv2)
77 throw(OP_WITH_WRONG_DIM);
81 void accumulate(cidotprecision &dp,
const rmatrix_subv & rv1,
const cvector_slice &rv2)
83 throw(OP_WITH_WRONG_DIM);
87 void accumulate(cidotprecision &dp,
const cvector_slice & rv1,
const rmatrix_subv &rv2)
89 throw(OP_WITH_WRONG_DIM);
94 INLINE
void SetIm(cvector &iv,
const rmatrix_subv &rv)
96 throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
100 INLINE
void SetRe(cvector &iv,
const rmatrix_subv &rv)
101 #if(CXSC_INDEX_CHECK) 102 throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
106 INLINE
void SetIm(cvector_slice &iv,
const rmatrix_subv &rv)
107 #if(CXSC_INDEX_CHECK) 108 throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
112 INLINE
void SetRe(cvector_slice &iv,
const rmatrix_subv &rv)
113 #if(CXSC_INDEX_CHECK) 114 throw(ERROR_CMATRIX_OP_WITH_WRONG_DIM);
120 INLINE cvector
operator *(
const rmatrix &m,
const cvector &v)
121 #if(CXSC_INDEX_CHECK) 122 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
126 INLINE cvector
operator *(
const rmatrix_slice &ms,
const cvector &v)
127 #if(CXSC_INDEX_CHECK) 128 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
132 INLINE cvector
operator *(
const cvector &v,
const rmatrix &m)
133 #if(CXSC_INDEX_CHECK) 134 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
138 INLINE cvector
operator *(
const cvector &v,
const rmatrix_slice &ms)
139 #if(CXSC_INDEX_CHECK) 140 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
144 INLINE cvector &
operator *=(cvector &v,
const rmatrix &m)
145 #if(CXSC_INDEX_CHECK) 146 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
150 INLINE cvector &
operator *=(cvector &v,
const rmatrix_slice &ms)
151 #if(CXSC_INDEX_CHECK) 152 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
157 INLINE cvector
operator *(
const cvector_slice &v,
const rmatrix &m)
158 #if(CXSC_INDEX_CHECK) 159 throw(ERROR_RMATRIX_OP_WITH_WRONG_DIM);
The namespace cxsc, providing all functionality of the class library C-XSC.
cimatrix & operator *=(cimatrix &m, const cinterval &c)
Implementation of multiplication and allocation operation.
civector operator *(const cimatrix_subv &rv, const cinterval &s)
Implementation of multiplication operation.