Go to the documentation of this file.
21 #ifndef __quadruple_hpp__
22 #define __quadruple_hpp__
86 this->s_ =
static_cast<T
>(rhs.
s_);
93 :
s_(static_cast<T>(src.
s_)),
118 return makeUnique<quadruple<T>>(*this);
INLINE_FUNCTION_HD quadruple operator-() const
const INLINE_FUNCTION_HD T & w() const
INLINE_FUNCTION_H quadruple< T > * clonePtr() const
INLINE_FUNCTION_HD T & y()
INLINE_FUNCTION_HD T length() const
INLINE_FUNCTION_HD void normalize()
const INLINE_FUNCTION_HD T & y() const
INLINE_FUNCTION_HD T & w()
const INLINE_FUNCTION_HD T & x() const
INLINE_FUNCTION_HD quadruple< T > & operator=(const quadruple< T2 > &rhs)
INLINE_FUNCTION_HD quadruple(const quadruple< T2 > &src)
INLINE_FUNCTION_HD triple< T > v()
INLINE_FUNCTION_HD T & s()
INLINE_FUNCTION_HD void operator*=(const quadruple &oprnd2)
INLINE_FUNCTION_HD void operator+=(const quadruple &oprnd2)
INLINE_FUNCTION_HD quadruple(const T &val)
INLINE_FUNCTION_HD quadruple operator+() const
INLINE_FUNCTION_H uniquePtr< quadruple< T > > clone() const
Interface class for any input stream
INLINE_FUNCTION_HD void operator-=(const quadruple &oprnd2)
#define INLINE_FUNCTION_H
const INLINE_FUNCTION_HD T & s() const
INLINE_FUNCTION_HD quadruple()
INLINE_FUNCTION_HD T & z()
INLINE_FUNCTION_HD void operator/=(const quadruple &oprnd2)
const INLINE_FUNCTION_HD T & z() const
INLINE_FUNCTION_HD quadruple(const T &s, const triple< T > v)
INLINE_FUNCTION_HD quadruple(const T &w, const T &x, const T &y, const T &z)
INLINE_FUNCTION_HD T & x()
#define INLINE_FUNCTION_HD
A set of 3 variables that can be used for vector variables.
const INLINE_FUNCTION_HD triple< T > v() const
Interface class for any output stream.