1 #ifndef GeometryVector_Vector2DBase_h
2 #define GeometryVector_Vector2DBase_h
7 template <
class T,
class FrameTag>
90 template <
class T,
class U,
class FrameTag>
97 template <
class T,
class U,
class FrameTag>
105 template <
class T,
class U,
class FrameTag>
114 template <
class T,
class FrameTag,
class Scalar>
120 template <
class T,
class FrameTag,
class Scalar>
128 template <
class T,
class FrameTag,
class Scalar>
133 #endif // GeometryVector_Vector2DBase_h
Vector2DBase & operator+=(const Vector2DBase< U, FrameTag > &v)
PV2DBase< T, VectorTag, FrameTag > BaseClass
Vector2DBase & operator*=(const T &t)
Scaling by a scalar value (multiplication)
MatrixMeschach operator+(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
Vector2DBase & operator/=(const T &t)
Scaling by a scalar value (division)
Vector2DBase(const Vector2DBase< U, FrameTag > &p)
T dot(const Basic2DVector &lh) const
Scalar product, or "dot" product, with a vector of same type.
MatrixMeschach operator-(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
Vector2DBase(const T &x, const T &y)
construct from cartesian coordinates
PreciseFloatType< T, U >::Type dot(const Vector2DBase< U, FrameTag > &v) const
Vector2DBase & operator-=(const Vector2DBase< U, FrameTag > &v)
Vector2DBase(const Basic2DVector< U > &v)
const BasicVectorType & basicVector() const
T1 operator/(const Phi< T1, Range > &a, const Phi< T1, Range > &b)
Division.
Vector2DBase operator-() const
Unary minus, returns a vector with components (-x(),-y())
Vector2DBase(const Polar &set)
construct from polar coordinates
Vector2DBase unit() const
Basic2DVector< T > BasicVectorType
MatrixMeschach operator*(const MatrixMeschach &mat1, const MatrixMeschach &mat2)