|
| Vector (int _size) |
| constructor of a vector of size _size More...
|
|
virtual | ~Vector () |
| destructor, delete memory created during construction More...
|
|
Scalar & | operator() (int i) |
| access and change individual elements More...
|
|
Scalar | operator() (int i) const |
| access individual element More...
|
|
int | get_size () const |
| get the number of entries More...
|
|
Scalar * | get_values () |
| get the array of elements of the vector More...
|
|
const Scalar * | get_values () const |
| get the array of elements of the vector More...
|
|
template<typename OUTPUT_STREAM > |
void | print_formatted (OUTPUT_STREAM &os, const unsigned int precision=3, const bool scientific=true, const unsigned int width_=0, const char *zero_string="*", const double denominator=1., const double threshold=0.) const |
| print the matrix in some nice form More...
|
|
template<typename Scalar>
class core::Vector< Scalar >
A vector of arbitrary size.
The template is typically a double.
Definition at line 18 of file vector.h.
template<typename Scalar>
access and change individual elements
The parameter i must be within \([1,\_size]\), otherwise the program terminates with an error.
Definition at line 37 of file vector.h.