Go to the source code of this file.
Functions |
template<long l> |
std::ostream & | operator<< (std::ostream &s, const zrovector_small< l > &A) |
template<long n> |
zcovector_small< n > | t (const zrovector_small< n > &A) |
template<long l> |
double | nrm2 (const zrovector_small< l > &A) |
template<long l> |
void | idamax (long &K, const zrovector_small< l > &A) |
template<long l> |
comple | damax (const zrovector_small< l > &A) |
template<long l> |
zrovector_small< l > | colon (const zrovector_small< l > &A, const zrovector_small< l > &B) |
template<long l> |
zrovector_small< l > & | operator+= (zrovector_small< l > &A, const zrovector_small< l > &B) |
template<long l> |
zrovector_small< l > & | operator-= (zrovector_small< l > &A, const zrovector_small< l > &B) |
template<long l> |
zrovector_small< l > & | operator*= (zrovector_small< l > &A, const comple &d) |
template<long l> |
zrovector_small< l > & | operator/= (zrovector_small< l > &A, const comple &d) |
template<long l> |
const zrovector_small< l > & | operator+ (const zrovector_small< l > &A) |
template<long l> |
zrovector_small< l > | operator- (const zrovector_small< l > &A) |
template<long l> |
zrovector_small< l > | operator+ (const zrovector_small< l > &A, const zrovector_small< l > &B) |
template<long l> |
zrovector_small< l > | operator- (const zrovector_small< l > &A, const zrovector_small< l > &B) |
template<long l> |
comple | operator* (const zrovector_small< l > &A, const zcovector_small< l > &B) |
template<long m, long n> |
zrovector_small< n > | operator* (const zrovector_small< m > &A, const zgematrix_small< m, n > &B) |
template<long l> |
zrovector_small< l > | operator* (const zrovector_small< l > &A, const zhematrix_small< l > &B) |
template<long l> |
zrovector_small< l > | operator* (const zrovector_small< l > &A, const comple &v) |
template<long l> |
zrovector_small< l > | operator/ (const zrovector_small< l > &A, const comple &v) |
Function Documentation
template<long l>
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const zrovector_small< l > & |
A |
|
) |
| [inline] |
Definition at line 45 of file zrovector_small-functions.hpp.
References i().
{VERBOSE_REPORT;
s << std::setiosflags(std::ios::showpos);
for(long i=0; i<l; i++){
s << " " << A(i) << std::flush;
}
s << std::endl;
return s;
}
Definition at line 156 of file zrovector_small-functions.hpp.
{VERBOSE_REPORT;
double max(-1.);
for(int k=0; k<l; k++){
if( max<fabs(A(k)) ){
K=k;
max =fabs(A(k));
}
}
return;
}