Skip to content
Snippets Groups Projects
  1. 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
    • Oliver Sander's avatar
      Show the total number of operations · 49487c44
      Oliver Sander authored
      [[Imported from SVN: r9572]]
      49487c44
  2. Dec 08, 2013
  3. Dec 06, 2013
  4. 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
  5. Dec 03, 2013
  6. Oct 31, 2013
  7. Sep 30, 2013
  8. Sep 16, 2013
  9. Sep 06, 2013
  10. Sep 04, 2013
  11. Sep 03, 2013
Loading