hibernate-orm
hibernate-orm copied to clipboard
HHH-17549, HHH-17580 syntax sugar for norm ||x||, abs |x|, and exponentiation x^y
This adds some syntax sugar:
|x|for the absolute value of a number||x-y||or||x-y||2for the L2 distance||x-y||1for the L1 distance||x||for the L2 normx^yfor exponentiation
It would be easy to add ||x||1 for the L1 norm.
Hoping this does not create an ambiguity with the string concatenation operator.
https://hibernate.atlassian.net/browse/HHH-17549 https://hibernate.atlassian.net/browse/HHH-17580
Thanks for your pull request!
This pull request appears to follow the contribution rules.
› This message was automatically generated.