Expand description
Additional traits for more complex numerical operations on real numbers.
Traitsยง
- Cos
- A type which can compute the cosine of itself: cos(self)
- Exp
- A type which can compute e^self.
- Ln
- A type which can compute the natural logarithm of itself: ln(self).
- Pi
- A type which can represent Pi.
- Pow
- A type which can compute self^rhs.
- Real
- A general purpose extension to the numeric trait that adds many operations needed for more complex math operations.
- Real
ByValue - 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.
- RealRef
- 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: - Sin
- A type which can compute the sine of itself: sin(self)
- Sqrt
- A type which can be square rooted.