Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
jafar::ride::Vect Class Reference

generic vector with operators for math operations More...


Detailed Description

generic vector with operators for math operations

Definition at line 20 of file mathVect.hpp.

#include <mathVect.hpp>

List of all members.

Public Member Functions

 Vect (const int dim)
 Vect (const Vect &v)
bool operator== (const Vect &other) const
Vect operator+ (const Vect &other) const
Vect operator- (const Vect &other) const
Vect operator- () const
double operator* (const Vect &other) const
 scalar product, s=a.b
double operator^ (const Vect &other) const
 vector product other z, s=(a^b).z (dim 2 or 3)
Vect operator/ (const double d) const
 division by a scalar number
double norm () const
 euclidian norm
Vect orth () const
 orthogonal vector (only for 3D vectors)
std::vector< double > get () const
double get (const int index) const
void set (const int index, const double value)
void set (const double x, const double y)
void set (const double x, const double y, const double z)
void set (const Vect &other)
int size () const
double x () const
double y () const
double z () const

Private Attributes

std::vector< double > data

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:44 for Jafar by doxygen 1.7.6.1
LAAS-CNRS