![]() |
pktools 2.6.7
Processing Kernel for geospatial data
|
Public Member Functions | |
Vector2d (const Vector2d< T > &v1) | |
Vector2d (int nrow) | |
Vector2d (int nrow, int ncol) | |
Vector2d (int nrow, int ncol, const T &value) | |
Vector2d (const gsl_matrix *gsl_m) | |
void | resize (int nrow) |
void | resize (int nrow, int ncol) |
int | nRows () const |
int | nCols () const |
void | selectCol (int col, std::vector< T > &output) const |
void | selectCol (int col, T *output) const |
std::vector< T > | selectCol (int col) |
void | selectCols (const std::list< int > &cols, Vector2d< T > &output) const |
void | setMask (const Vector2d< T > &mask, T msknodata, T nodata=0) |
void | transpose (Vector2d< T > &output) const |
void | selectCols (const std::list< int > &cols) |
void | sort (Vector2d< T > &output) |
void | scale (const std::vector< double > &scaleVector, const std::vector< double > &offsetVector, Vector2d< T > &scaledOutput) |
void | scale (const T lbound, const T ubound, std::vector< double > &scaleVector, std::vector< double > &offsetVector, Vector2d< T > &scaledOutput) |
Vector2d< T > | operator= (const Vector2d< T > &v1) |
Vector2d< T > | operator+= (const Vector2d< T > &v1) |
Vector2d< T > | sum (const Vector2d< T > &v1, const Vector2d< T > &v2) const |
T | mymax (int &x, int &y, double maxValue) const |
T | sum () const |
Friends | |
template<class T1 > | |
std::ostream & | operator<< (std::ostream &os, const Vector2d< T1 > &v) |
Definition at line 31 of file Vector2d.h.
Vector2d< T >::Vector2d |
Definition at line 76 of file Vector2d.h.
Vector2d< T >::Vector2d | ( | const Vector2d< T > & | v1 | ) |
Definition at line 86 of file Vector2d.h.
Definition at line 81 of file Vector2d.h.
Vector2d< T >::Vector2d | ( | int | nrow | ) |
Definition at line 113 of file Vector2d.h.
Vector2d< T >::Vector2d | ( | int | nrow, |
int | ncol | ||
) |
Definition at line 118 of file Vector2d.h.
Vector2d< T >::Vector2d | ( | int | nrow, |
int | ncol, | ||
const T & | value | ||
) |
Definition at line 128 of file Vector2d.h.
Vector2d< T >::Vector2d | ( | const gsl_matrix * | gsl_m | ) |
Definition at line 138 of file Vector2d.h.
T Vector2d< T >::mymax | ( | int & | x, |
int & | y, | ||
double | maxValue | ||
) | const |
Definition at line 309 of file Vector2d.h.
|
inline |
Definition at line 47 of file Vector2d.h.
|
inline |
Definition at line 46 of file Vector2d.h.
Definition at line 104 of file Vector2d.h.
Definition at line 92 of file Vector2d.h.
|
inline |
Definition at line 41 of file Vector2d.h.
void Vector2d< T >::resize | ( | int | nrow, |
int | ncol | ||
) |
Definition at line 149 of file Vector2d.h.
void Vector2d< T >::scale | ( | const std::vector< double > & | scaleVector, |
const std::vector< double > & | offsetVector, | ||
Vector2d< T > & | scaledOutput | ||
) |
Definition at line 253 of file Vector2d.h.
void Vector2d< T >::scale | ( | const T | lbound, |
const T | ubound, | ||
std::vector< double > & | scaleVector, | ||
std::vector< double > & | offsetVector, | ||
Vector2d< T > & | scaledOutput | ||
) |
Definition at line 266 of file Vector2d.h.
std::vector< T > Vector2d< T >::selectCol | ( | int | col | ) |
Definition at line 179 of file Vector2d.h.
void Vector2d< T >::selectCol | ( | int | col, |
std::vector< T > & | output | ||
) | const |
Definition at line 169 of file Vector2d.h.
void Vector2d< T >::selectCol | ( | int | col, |
T * | output | ||
) | const |
Definition at line 189 of file Vector2d.h.
void Vector2d< T >::selectCols | ( | const std::list< int > & | cols | ) |
Definition at line 198 of file Vector2d.h.
void Vector2d< T >::selectCols | ( | const std::list< int > & | cols, |
Vector2d< T > & | output | ||
) | const |
Definition at line 157 of file Vector2d.h.
void Vector2d< T >::setMask | ( | const Vector2d< T > & | mask, |
T | msknodata, | ||
T | nodata = 0 |
||
) |
Definition at line 206 of file Vector2d.h.
Definition at line 232 of file Vector2d.h.
T Vector2d< T >::sum |
Definition at line 300 of file Vector2d.h.
Vector2d< T > Vector2d< T >::sum | ( | const Vector2d< T > & | v1, |
const Vector2d< T > & | v2 | ||
) | const |
Definition at line 288 of file Vector2d.h.
Definition at line 53 of file Vector2d.h.
|
friend |
Definition at line 216 of file Vector2d.h.