This adds the two missing implementations from the nalgebra::RealField trait.
atan2 is implemented according to the suggestion of @tsmith023. The conventions that cause y.atan2(x) to not always be identical to (y/x).atan() are irrelevant for the derivative. Therefore, no separate cases need to be considered.
copysign is implemented exactly as the docstring in the trait suggests.
This adds the two missing implementations from the
nalgebra::RealField
trait.atan2
is implemented according to the suggestion of @tsmith023. The conventions that causey.atan2(x)
to not always be identical to(y/x).atan()
are irrelevant for the derivative. Therefore, no separate cases need to be considered.copysign
is implemented exactly as the docstring in the trait suggests.closes #61