Expand description

Additional traits for more complex numerical operations on real numbers.

Traits

A type which can compute the cosine of itself: cos(self)

A type which can compute e^self.

A type which can compute the natural logarithm of itself: ln(self).

A type which can represent Pi.

A type which can compute self^rhs.

A general purpose extension to the numeric trait that adds many operations needed for more complex math operations.

A trait defining what a real number type is in terms of by value numerical operations needed on top of operations defined by Numeric for some functions.

The trait to define &T op T and &T op &T versions for RealByValue based off the MIT/Apache 2.0 licensed code from num-traits 0.2.10:

A type which can compute the sine of itself: sin(self)

A type which can be square rooted.