RingFunctions
trait RingFunctions[R <: ([T] =>> Ring[T])] extends AdditiveGroupFunctions[R] with MultiplicativeMonoidFunctions[R]
trait MultiplicativeMonoidFunctions[R]
trait MultiplicativeSemigroupFunctions[R]
trait AdditiveGroupFunctions[R]
trait AdditiveMonoidFunctions[R]
trait AdditiveSemigroupFunctions[R]
class Object
trait Matchable
class Any
Value members
Concrete methods
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.