Go to the source code of this file.
Functions |
template<long l> |
std::ostream & | operator<< (std::ostream &s, const drovector_small< l > &A) |
template<long n> |
dcovector_small< n > | t (const drovector_small< n > &A) |
template<long l> |
double | nrm2 (const drovector_small< l > &A) |
template<long l> |
void | idamax (long &K, const drovector_small< l > &A) |
template<long l> |
double | damax (const drovector_small< l > &A) |
template<long l> |
drovector_small< l > | colon (const drovector_small< l > &A, const drovector_small< l > &B) |
template<long l> |
drovector_small< l > & | operator+= (drovector_small< l > &A, const drovector_small< l > &B) |
template<long l> |
drovector_small< l > & | operator-= (drovector_small< l > &A, const drovector_small< l > &B) |
template<long l> |
drovector_small< l > & | operator*= (drovector_small< l > &A, const double &d) |
template<long l> |
drovector_small< l > & | operator/= (drovector_small< l > &A, const double &d) |
template<long l> |
const drovector_small< l > & | operator+ (const drovector_small< l > &A) |
template<long l> |
drovector_small< l > | operator- (const drovector_small< l > &A) |
template<long l> |
drovector_small< l > | operator+ (const drovector_small< l > &A, const drovector_small< l > &B) |
template<long l> |
drovector_small< l > | operator- (const drovector_small< l > &A, const drovector_small< l > &B) |
template<long l> |
double | operator* (const drovector_small< l > &A, const dcovector_small< l > &B) |
template<long m, long n> |
drovector_small< n > | operator* (const drovector_small< m > &A, const dgematrix_small< m, n > &B) |
template<long l> |
drovector_small< l > | operator* (const drovector_small< l > &A, const dsymatrix_small< l > &B) |
template<long l> |
drovector_small< l > | operator* (const drovector_small< l > &A, const double &v) |
template<long l> |
drovector_small< l > | operator/ (const drovector_small< l > &A, const double &v) |
Function Documentation
template<long l>
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const drovector_small< l > & |
A |
|
) |
| [inline] |
Definition at line 45 of file drovector_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 drovector_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;
}