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

Go to the source code of this file.

Functions

template<CPPL_INT l>
dcovector_small< l > operator* (const double &v, const dcovector_small< l > &A)
 
template<CPPL_INT l>
drovector_small< l > operator* (const double &v, const drovector_small< l > &A)
 
template<CPPL_INT m, CPPL_INT n>
dgematrix_small< m, n > operator* (const double &v, const dgematrix_small< m, n > &A)
 
template<CPPL_INT n>
dsymatrix_small< n > operator* (const double &v, const dsymatrix_small< n > &A)
 
template<CPPL_INT l>
zcovector_small< l > operator* (const double &v, const zcovector_small< l > &A)
 
template<CPPL_INT l>
zrovector_small< l > operator* (const double &v, const zrovector_small< l > &A)
 
template<CPPL_INT m, CPPL_INT n>
zgematrix_small< m, n > operator* (const double &v, const zgematrix_small< m, n > &A)
 
template<CPPL_INT n>
zhematrix_small< n > operator* (const double &v, const zhematrix_small< n > &A)
 

Function Documentation

template<CPPL_INT l>
dcovector_small<l> operator* ( const double &  v,
const dcovector_small< l > &  A 
)
inline

double*dcovector_small operator

Definition at line 4 of file double-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 Real Double-precision Column Vector Class.
template<CPPL_INT l>
drovector_small<l> operator* ( const double &  v,
const drovector_small< l > &  A 
)
inline

double*drovector_small operator

Definition at line 16 of file double-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 Real Double-precision Row Vector Class.
template<CPPL_INT m, CPPL_INT n>
dgematrix_small<m,n> operator* ( const double &  v,
const dgematrix_small< m, n > &  A 
)
inline

double*dgematrix_small operator

Definition at line 28 of file double-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 }
Samll Real Double-precision General Dence Matrix Class.
_dgematrix i(const _dgbmatrix &mat)
template<CPPL_INT n>
dsymatrix_small<n> operator* ( const double &  v,
const dsymatrix_small< n > &  A 
)
inline

double*dsymatrix_small operator

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

References dsymatrix_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 }
Samll Real Double-precision Symmetric Matrix Class.
double array[(n *(n+1))/2]
1D array to store vector data
template<CPPL_INT l>
zcovector_small<l> operator* ( const double &  v,
const zcovector_small< l > &  A 
)
inline

double*zcovector_small operator

Definition at line 58 of file double-small.hpp.

References i().

59 {CPPL_VERBOSE_REPORT;
61  for(CPPL_INT i=0; i<l; i++){
62  X(i) =v*A(i);
63  }
64  return X;
65 }
_dgematrix i(const _dgbmatrix &mat)
Samll Complex Double-precision Column Vector Class.
template<CPPL_INT l>
zrovector_small<l> operator* ( const double &  v,
const zrovector_small< l > &  A 
)
inline

double*zrovector_small operator

Definition at line 70 of file double-small.hpp.

References i().

71 {CPPL_VERBOSE_REPORT;
73  for(CPPL_INT i=0; i<l; i++){
74  X(i) =v*A(i);
75  }
76  return X;
77 }
_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 double &  v,
const zgematrix_small< m, n > &  A 
)
inline

double*zgematrix_small operator

Definition at line 82 of file double-small.hpp.

References i().

83 {CPPL_VERBOSE_REPORT;
85  for(CPPL_INT i=0; i<m; i++){
86  for(CPPL_INT j=0; j<n; j++){
87  C(i,j) =v*A(i,j);
88  }
89  }
90  return C;
91 }
_dgematrix i(const _dgbmatrix &mat)
Samll Complex Double-precision General Dence Matrix Class.
template<CPPL_INT n>
zhematrix_small<n> operator* ( const double &  v,
const zhematrix_small< n > &  A 
)
inline

double*zhematrix_small operator

Definition at line 96 of file double-small.hpp.

References zhematrix_small< n >::array.

97 {CPPL_VERBOSE_REPORT;
99  for(CPPL_INT k=0; k<(n*(n+1))/2; k++){
100  X.array[k] =v*A.array[k];
101  }
102  return X;
103 }
comple array[(n *(n+1))/2]
Samll Complex Double-precision Symmetric Matrix Class.