Namespaces | |||
![]() | ![]() | namespace | vector_math |
Functions | |||
![]() | ![]() | vector<double> | operator- ( const vector<double> &x ) |
![]() | ![]() | double | operator * ( const vector<double> &x, const vector<double> &y ) |
![]() | ![]() | Calculate the dot product of two vectors. More... | |
![]() | ![]() | vector<double> | operator * ( const double k, const vector<double> &x ) |
![]() | ![]() | vector<double> | operator * ( const vector<double> &x, const double k ) |
![]() | ![]() | vector<double> | operator+ ( const vector<double> &x, const vector<double> &y ) |
![]() | ![]() | Calculate the sum of two vectors. More... | |
![]() | ![]() | vector<double> | operator- ( const vector<double> &x, const vector<double> &y ) |
![]() | ![]() | Calculate the difference between two vectors. More... | |
Definition in file vector_math.h.
| vector<double> operator-<double> (const vector<double>& x) |
Definition at line 35 of file vector_math.cpp.
| double operator * (const vector<double>& x, const vector<double>& y) |
Calculate the dot product of two vectors.
assert( x.size() == y.size() );
Definition at line 49 of file vector_math.cpp.
vector<double> operator *<double> (const double k, const vector<double>& x) [inline]
|
Definition at line 68 of file vector_math.cpp.
vector<double> operator *<double> (const vector<double>& x, const double k) [inline]
|
Definition at line 61 of file vector_math.h.
| vector<double> operator+<double> (const vector<double>& x, const vector<double>& y) |
Calculate the sum of two vectors.
assert( x.size() == y.size() );
Definition at line 84 of file vector_math.cpp.
| vector<double> operator-<double> (const vector<double>& x, const vector<double>& y) |
Calculate the difference between two vectors.
assert( x.size() == y.size() );
Definition at line 104 of file vector_math.cpp.
1.0.0 written by Dimitri van Heesch,
© 1997-1999