Skip to content
Snippets Groups Projects
  1. Feb 12, 2018
  2. Jan 15, 2018
  3. Jan 30, 2016
    • Sander, Oliver's avatar
      Implement new method distanceSquared, between a double vector and an adouble one · 6f3b9689
      Sander, Oliver authored
      This is needed for the new gradientflow application.  The standard 'distance' method
      doesn't cut it, because it is not differentiable near zero.  Therefore, even the
      differentiable expression 'distance*distance' will fail to be differentiable for
      an automatic-differentiation system.  I think in the long run we should replace
      'distance' by 'distanceSquared' everywhere it is used.
      
      Unfortunately, this patch is hacky: it only adds the method for the double/adouble
      combination.
      6f3b9689
  4. Oct 18, 2015
  5. Feb 12, 2015
  6. Sep 19, 2014
  7. Dec 13, 2013
  8. 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
  9. Dec 05, 2013
    • 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
  10. Sep 03, 2013
  11. Feb 14, 2013
  12. Jan 12, 2012
  13. Nov 12, 2011
  14. Oct 25, 2011
  15. Jun 06, 2011
  16. May 23, 2011
  17. May 01, 2011
  18. Apr 25, 2011
  19. Apr 21, 2011
  20. Apr 11, 2011
  21. Apr 05, 2011
  22. Apr 03, 2011
  23. Apr 02, 2011
  24. Apr 01, 2011
  25. Mar 29, 2011
  26. Nov 07, 2010
  27. Nov 05, 2010
  28. Oct 18, 2010
  29. Oct 14, 2010
Loading