Skip to content
Snippets Groups Projects
Commit 6fd49b82 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

more constructors

[[Imported from SVN: r755]]
parent c26f2117
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,9 @@ class Quaternion : public Dune::FieldVector<T,4> ...@@ -9,6 +9,9 @@ class Quaternion : public Dune::FieldVector<T,4>
{ {
public: public:
Quaternion() {}
Quaternion(const Dune::FieldVector<T,4>& other) : Dune::FieldVector<T,4>(other) {}
/** \brief The exponential map from \f$ \mathfrak{so}(3) \f$ to \f$ SO(3) \f$ /** \brief The exponential map from \f$ \mathfrak{so}(3) \f$ to \f$ SO(3) \f$
*/ */
static Quaternion<T> exp(const T& v0, const T& v1, const T& v2) { static Quaternion<T> exp(const T& v0, const T& v1, const T& v2) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment