Skip to content
Snippets Groups Projects
  1. Aug 22, 2014
  2. Dec 13, 2013
  3. Dec 09, 2013
    • Oliver Sander's avatar
      Revert patch 9558 · 5b63350b
      Oliver Sander authored
      We normalize unit vectors again in the constructor and the assignment operator.
      This makes sure we never drift away from the unit sphere, and it also allows
      us to init unit spheres with any value in R^n and be sure we obtain a unit
      vector.  This makes the test pass again.  Leaving the projection out didn't
      really make a measurable difference anyway.
      
      [[Imported from SVN: r9574]]
      5b63350b
  4. Dec 06, 2013
    • Oliver Sander's avatar
      Rewrite the exp method with embedded tangent vector argument · 4176c2d9
      Oliver Sander authored
      The old implementation used quaternion multiplication to transport
      the argument to the Lie algebra, and use the standard formula there.
      However, one may as well use the formula for the unit sphere in R^4,
      which is much simpler, and also faster.  I fact, this patch gives
      a few percent of speedup for the overall code.
      
      [[Imported from SVN: r9562]]
      4176c2d9
  5. Dec 05, 2013
    • Oliver Sander's avatar
      Get rid of method exp(p, EmbeddedTangentVector) completely. · a2df8a93
      Oliver Sander authored
      There is one copy which takes FieldVector<T,4> as its second argument.
      Since EmbeddedTangentVector ( = Quaternion<T>) derives from FieldVector<T,4>,
      that second implementation should work in all cases.
      
      [[Imported from SVN: r9560]]
      a2df8a93
    • Oliver Sander's avatar
      Move methods exp with similar arguments next to each other · 3176314d
      Oliver Sander authored
      The methods 
      
      Rotation<T,3> exp(const Rotation<T,3>& p, const EmbeddedTangentVector& v) 
      
      and
      
      otation<T,3> exp(const Rotation<T,3>& p, const Dune::FieldVector<T,4>& v)
      
      do literally the same.  So they should be next to each other in the code.
      
      [[Imported from SVN: r9559]]
      3176314d
    • Oliver Sander's avatar
      Do not normalize unitvectors / unit quaternions in constructors and operator= · 874cb377
      Oliver Sander authored
      This effectively means that we use another prolongation of the distance 
      function on M into the surrounding space.  Since the prolongation does not
      matter this patch should not change the algorithm behavior.  However, it
      shaves off a few norm calculations and division.  I cannot really measure
      any difference though.
      
      A possible effect of this is that while all values should remain on the
      manifold, they may start to 'drift away' due to numerical artifacts.
      So we may have to add an occasional renormalization step eventually.
      
      [[Imported from SVN: r9558]]
      874cb377
  6. Sep 03, 2013
  7. Feb 14, 2013
  8. Nov 06, 2012
  9. Feb 08, 2012
  10. Jan 12, 2012
  11. Jan 11, 2012
  12. Jan 04, 2012
  13. Jan 01, 2012
  14. Nov 16, 2011
  15. Nov 12, 2011
  16. Nov 04, 2011
  17. Nov 03, 2011
Loading