Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. Dec 03, 2013
  4. Nov 28, 2013
  5. Nov 15, 2013
  6. Nov 13, 2013
  7. Oct 31, 2013
  8. Sep 30, 2013
  9. Sep 16, 2013
  10. Sep 06, 2013
  11. Sep 04, 2013
  12. Sep 03, 2013
Loading