EuclideanRingFunctions
trait GCDRingFunctions[R]
trait RingFunctions[R]
trait MultiplicativeMonoidFunctions[R]
trait MultiplicativeSemigroupFunctions[R]
trait AdditiveGroupFunctions[R]
trait AdditiveMonoidFunctions[R]
trait AdditiveSemigroupFunctions[R]
class Object
trait Matchable
class Any
object EuclideanRing
object Field
Value members
Concrete methods
Inherited methods
final
Returns the given Double, understood as a rational number, in the provided (division) ring.
Returns the given Double, understood as a rational number, in the provided (division) ring.
This is implemented in terms of basic ops. However, this is probably significantly less efficient than can be done with a specific type. So, it is recommended to specialize this general method.
- Inherited from
- RingFunctions