24 #ifndef ACLQUATERNIONOFELEMENTS_H
25 #define ACLQUATERNIONOFELEMENTS_H
35 class QuaternionOfElements
47 VectorOfElements &
getU();
48 const VectorOfElements &
getU()
const;
49 VectorOfElements &
getW();
50 const VectorOfElements &
getW()
const;
57 void copy(
const QuaternionOfElements & source, QuaternionOfElements & destination);
63 QuaternionOfElements
operator+(QuaternionOfElements & a, QuaternionOfElements & b);
68 QuaternionOfElements
operator-(QuaternionOfElements & a,QuaternionOfElements & b);
74 QuaternionOfElements
operator*(
const QuaternionOfElements & a,
const QuaternionOfElements & b);
81 VectorOfElements
l2(QuaternionOfElements & a);
83 QuaternionOfElements
normalize(QuaternionOfElements & a);
91 #endif // ACLQUATERNIONOFELEMENTS_H
Advanced Computational Language.
Element operator+(Element e1, Element e2)
const Element getUElement(unsigned int i) const
void setWElement(Element a)
Element operator-(Element e)
QuaternionOfElements normalize(QuaternionOfElements &a)
VectorOfElements l2(const VectorOfElements &a)
const Element getWElement() const
void setUElement(unsigned int i, Element a)
std::shared_ptr< ElementBase > Element
VectorOfElements & getU()
VectorOfElements & getW()
void copy(MemBlock &source, T *destination)
Element operator*(Element e1, Element e2)