Correa 1
C++ library with Python bindings to analyse the shape of simple closed curves in R^2
Loading...
Searching...
No Matches
correa::Vector Class Reference

Public Member Functions

 Vector (double x, double y, double z=0.0)
 
 Vector (const Vector &v)
 
double & operator[] (int index)
 
const double & operator[] (int index) const
 
Vector operator* (double s) const
 
Vector operator/ (double s) const
 
Vector operator+ (const Vector &v) const
 
Vector operator- (const Vector &v) const
 
Vector operator- () const
 
double operator* (const Vector &v) const
 
Vectoroperator*= (double s)
 
Vectoroperator/= (double s)
 
Vectoroperator+= (const Vector &v)
 
Vectoroperator-= (const Vector &v)
 
Vector operator^ (const Vector &v) const
 
double norm () const
 
double norm2 () const
 
void normalize ()
 
Vector unit () const
 

Public Attributes

double x
 
double y
 
double z
 

The documentation for this class was generated from the following file: