YARP
Yet Another Robot Platform
Vec2D.h File Reference
#include <yarp/math/api.h>
#include <yarp/os/Portable.h>
#include <yarp/sig/Matrix.h>
#include <yarp/sig/Vector.h>
#include <type_traits>
+ Include dependency graph for Vec2D.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  yarp::math::Vec2D< T >
 

Namespaces

namespace  yarp
 The main, catch-all namespace for YARP.
 
namespace  yarp::math
 

Functions

template<typename T >
yarp::math::Vec2D< T > operator+ (yarp::math::Vec2D< T > lhs, const yarp::math::Vec2D< T > &rhs)
 
template<typename T >
yarp::math::Vec2D< T > operator- (yarp::math::Vec2D< T > lhs, const yarp::math::Vec2D< T > &rhs)
 
template<typename T >
yarp::math::Vec2D< T > operator* (const yarp::sig::Matrix &lhs, yarp::math::Vec2D< T > rhs)
 
template yarp::math::Vec2D< double > operator+ (yarp::math::Vec2D< double > lhs, const yarp::math::Vec2D< double > &rhs)
 
template yarp::math::Vec2D< int > operator+ (yarp::math::Vec2D< int > lhs, const yarp::math::Vec2D< int > &rhs)
 
template yarp::math::Vec2D< double > operator- (yarp::math::Vec2D< double > lhs, const yarp::math::Vec2D< double > &rhs)
 
template yarp::math::Vec2D< int > operator- (yarp::math::Vec2D< int > lhs, const yarp::math::Vec2D< int > &rhs)
 
template yarp::math::Vec2D< double > operator* (const yarp::sig::Matrix &lhs, yarp::math::Vec2D< double > rhs)
 
template yarp::math::Vec2D< int > operator* (const yarp::sig::Matrix &lhs, yarp::math::Vec2D< int > rhs)
 

Function Documentation

◆ operator*() [1/3]

template yarp::math::Vec2D< double > operator* ( const yarp::sig::Matrix lhs,
yarp::math::Vec2D< double >  rhs 
)

◆ operator*() [2/3]

template yarp::math::Vec2D< int > operator* ( const yarp::sig::Matrix lhs,
yarp::math::Vec2D< int >  rhs 
)

◆ operator*() [3/3]

template<typename T >
yarp::math::Vec2D< T > operator* ( const yarp::sig::Matrix lhs,
yarp::math::Vec2D< T >  rhs 
)

Definition at line 204 of file Vec2D.cpp.

◆ operator+() [1/3]

template yarp::math::Vec2D< double > operator+ ( yarp::math::Vec2D< double >  lhs,
const yarp::math::Vec2D< double > &  rhs 
)

◆ operator+() [2/3]

template yarp::math::Vec2D< int > operator+ ( yarp::math::Vec2D< int >  lhs,
const yarp::math::Vec2D< int > &  rhs 
)

◆ operator+() [3/3]

template<typename T >
yarp::math::Vec2D< T > operator+ ( yarp::math::Vec2D< T >  lhs,
const yarp::math::Vec2D< T > &  rhs 
)

Definition at line 214 of file Vec2D.cpp.

◆ operator-() [1/3]

template yarp::math::Vec2D< double > operator- ( yarp::math::Vec2D< double >  lhs,
const yarp::math::Vec2D< double > &  rhs 
)

◆ operator-() [2/3]

template yarp::math::Vec2D< int > operator- ( yarp::math::Vec2D< int >  lhs,
const yarp::math::Vec2D< int > &  rhs 
)

◆ operator-() [3/3]

template<typename T >
yarp::math::Vec2D< T > operator- ( yarp::math::Vec2D< T >  lhs,
const yarp::math::Vec2D< T > &  rhs 
)

Definition at line 221 of file Vec2D.cpp.