class VectorND

Vector of n elements (resizable in runtime), with operation overloads for VectorND and scalars

Public Fields

[more]vector<double> v
Public data members

Public Methods

[more] VectorND()
Constructors / Destructors
[more] VectorND(int size)
[more]virtual ~VectorND()
[more]inline VectorND& operator=(const VectorND& other)
Operator overloads
[more]VectorND operator+(const VectorND& other) const
[more]VectorND& operator+=(const VectorND& other)
[more]VectorND operator-()
[more]VectorND operator-(const VectorND& other) const
[more]VectorND& operator -=(const VectorND& other)
[more]VectorND operator/(const double other) const
[more]VectorND& operator/=(const double other)
[more]VectorND operator*(const double other) const
[more]VectorND& operator*=(const double other)
[more]double operator *(const VectorND& other) const
[more]inline bool EqualSize(const VectorND other) const
Other public methods
[more]inline void Set(const vector<double> vin)
[more]void Zero(void)
[more]void SetElement(unsigned int i, double val)
[more]double GetElement(unsigned int i) const
[more]inline unsigned int size() const
[more]void Out(char* c) const
[more]int ParseXML(xmlDocPtr doc, xmlNodePtr cur)


Documentation

Vector of n elements (resizable in runtime), with operation overloads for VectorND and scalars
o VectorND()
Constructors / Destructors

o VectorND(int size)

ovirtual ~VectorND()

oinline VectorND& operator=(const VectorND& other)
Operator overloads

oVectorND operator+(const VectorND& other) const

oVectorND& operator+=(const VectorND& other)

oVectorND operator-()

oVectorND operator-(const VectorND& other) const

oVectorND& operator -=(const VectorND& other)

oVectorND operator/(const double other) const

oVectorND& operator/=(const double other)

oVectorND operator*(const double other) const

oVectorND& operator*=(const double other)

odouble operator *(const VectorND& other) const

oinline bool EqualSize(const VectorND other) const
Other public methods

oinline void Set(const vector<double> vin)

ovoid Zero(void)

ovoid SetElement(unsigned int i, double val)

odouble GetElement(unsigned int i) const

oinline unsigned int size() const

ovoid Out(char* c) const

oint ParseXML(xmlDocPtr doc, xmlNodePtr cur)

ovector<double> v
Public data members


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.