Skip to content
Snippets Groups Projects
  • Oliver Sander's avatar
    874cb377
    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
    History
    Do not normalize unitvectors / unit quaternions in constructors and operator=
    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]]