Skip to content
Snippets Groups Projects
  • Oliver Sander's avatar
    4176c2d9
    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
    History
    Rewrite the exp method with embedded tangent vector argument
    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]]
test NaN GiB