CPPLapack
 All Classes Files Functions Variables Friends Pages
Functions
comple-small.hpp File Reference

Go to the source code of this file.

Functions

template<CPPL_INT l>
zcovector_small< l > operator* (const comple &v, const zcovector_small< l > &A)
 
template<CPPL_INT l>
zrovector_small< l > operator* (const comple &v, const zrovector_small< l > &A)
 
template<CPPL_INT m, CPPL_INT n>
zgematrix_small< m, n > operator* (const comple &v, const zgematrix_small< m, n > &A)
 
template<CPPL_INT n>
zhematrix_small< n > operator* (const comple &v, const zhematrix_small< n > &A)
 

Function Documentation

template<CPPL_INT l>
zcovector_small<l> operator* ( const comple &  v,
const zcovector_small< l > &  A 
)
inline

operator complex*zcovector_small

Definition at line 4 of file comple-small.hpp.

References i().

5 {CPPL_VERBOSE_REPORT;
7  for(CPPL_INT i=0; i<l; i++){
8  X(i) =v*A(i);
9  }
10  return X;
11 }
_dgematrix i(const _dgbmatrix &mat)
Samll Complex Double-precision Column Vector Class.
template<CPPL_INT l>
zrovector_small<l> operator* ( const comple &  v,
const zrovector_small< l > &  A 
)
inline

operator complex*zrovector_small

Definition at line 16 of file comple-small.hpp.

References i().

17 {CPPL_VERBOSE_REPORT;
19  for(CPPL_INT i=0; i<l; i++){
20  X(i) =v*A(i);
21  }
22  return X;
23 }
_dgematrix i(const _dgbmatrix &mat)
Samll Complex Double-precision Row Vector Class.
template<CPPL_INT m, CPPL_INT n>
zgematrix_small<m,n> operator* ( const comple &  v,
const zgematrix_small< m, n > &  A 
)
inline

operator complex*zgematrix_small

Definition at line 28 of file comple-small.hpp.

References i().

29 {CPPL_VERBOSE_REPORT;
31  for(CPPL_INT i=0; i<m; i++){
32  for(CPPL_INT j=0; j<n; j++){
33  C(i,j) =v*A(i,j);
34  }
35  }
36  return C;
37 }
_dgematrix i(const _dgbmatrix &mat)
Samll Complex Double-precision General Dence Matrix Class.
template<CPPL_INT n>
zhematrix_small<n> operator* ( const comple &  v,
const zhematrix_small< n > &  A 
)
inline

operator complex*zhematrix_small

Definition at line 42 of file comple-small.hpp.

References zhematrix_small< n >::array.

43 {CPPL_VERBOSE_REPORT;
45  for(CPPL_INT k=0; k<(n*(n+1))/2; k++){
46  X.array[k] =v*A.array[k];
47  }
48  return X;
49 }
comple array[(n *(n+1))/2]
Samll Complex Double-precision Symmetric Matrix Class.