#include <VecMat.h>
Public Member Functions | |
| Vector () | |
| Constructor. | |
| Vector (unsigned int len, bool zero=false) | |
| Constructor. | |
| Vector (const Array< double > &other) | |
| Copy constructor (deep copy). | |
| Vector (const Vector &other) | |
| Copy constructor (deep copy). | |
| ~Vector () | |
| Destructor. | |
| void | operator= (double value) |
| set all entries to the same value | |
| double | norm () const |
| double | norm2 () const |
| bool | normalize () |
| ArrayBase * | clone () const |
| Clone the vector (deep copy). | |
| ArrayBase * | cloneEmpty () const |
| Clone the class of the vector. | |
Protected Member Functions | |
| Vector (Array< double > &other, bool reference) | |
| protected constructor for internal use | |
| Vector (unsigned int *d, double *e, unsigned int nd, unsigned int ne, bool reference) | |
| protected constructor for internal use | |
| void | resize_i (unsigned int *d, unsigned int nd, bool copy) |
| inherited internal resize interface | |
Friends | |
| class | Matrix |
Definition at line 69 of file VecMat.h.
| Vector::Vector | ( | ) |
| Vector::Vector | ( | unsigned int | len, | |
| bool | zero = false | |||
| ) |
| Vector::Vector | ( | const Array< double > & | other | ) |
| Vector::Vector | ( | const Vector & | other | ) |
| Vector::~Vector | ( | ) |
| Vector::Vector | ( | Array< double > & | other, | |
| bool | reference | |||
| ) | [protected] |
| Vector::Vector | ( | unsigned int * | d, | |
| double * | e, | |||
| unsigned int | nd, | |||
| unsigned int | ne, | |||
| bool | reference | |||
| ) | [protected] |
| ArrayBase * Vector::clone | ( | ) | const |
Clone the vector (deep copy).
Definition at line 104 of file VecMat.cpp.
References Vector().
| ArrayBase * Vector::cloneEmpty | ( | ) | const |
Clone the class of the vector.
Definition at line 109 of file VecMat.cpp.
References Vector().
| double Vector::norm | ( | ) | const [inline] |
| double Vector::norm2 | ( | ) | const |
| bool Vector::normalize | ( | ) |
| void Vector::operator= | ( | double | value | ) | [inline] |
| void Vector::resize_i | ( | unsigned int * | d, | |
| unsigned int | nd, | |||
| bool | copy | |||
| ) | [protected] |