1 #ifndef VectorDoublet_H
2 #define VectorDoublet_H
7 template <
class V1,
class V2>
17 const V1&
first()
const {
return a_;}
18 const V2&
second()
const {
return b_;}
58 template <
class V1,
class V2>
64 template <
class V1,
class V2>
73 template <
class V1,
class V2,
class Scalar>
77 template <
class V1,
class V2,
class Scalar>
82 template <
class V1,
class V2,
class Scalar>
Basic3DVector & operator*=(T t)
Scaling by a scalar value (multiplication)
VectorDoublet(const V1 &a, const V2 &b)
MatrixMeschach operator+(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
MatrixMeschach operator-(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
Basic3DVector & operator-=(const Basic3DVector< U > &p)
Basic3DVector< long double > operator/(const Basic3DVector< long double > &v, S s)
U second(std::pair< T, U > const &p)
PreciseFloatType< Scalar1, Scalar2 >::Type dot(const VectorDoublet &v) const
const V2 & second() const
Basic3DVector & operator/=(T t)
Scaling by a scalar value (division)
VectorDoublet operator-() const
MatrixMeschach operator*(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
Basic3DVector & operator+=(const Basic3DVector< U > &p)