Closed davkovacs closed 2 years ago
(This is for the dev-v0.8.x branch)
this is now part of PR #79 . Please test it. At the moment I'm asking you to define the inverse analytically. But we can discuss providing that numerically as well.
Usage:
trans = ACE.Transforms.AnalyticTransform(
"r -> exp(- 1.234 * r^2)", "x -> sqrt(- log(x) / 1.234)")
closing this now, please re-open if you need anything else here.
It would be nice to have the option for implementing custom distance transforms based on simple formulae.