Object

libra.ops

fraction

Related Doc: package ops

Permalink

object fraction

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. fraction
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Add[L <: Fraction[_, _], R <: Fraction[_, _]] extends AnyRef

    Permalink

    Typeclass to add two fractions

  2. trait GCD[A <: XInt, B <: XInt] extends AnyRef

    Permalink

    Typeclass for finding the greatest common divisor of two numbers using Euclid's algorithm.

    Typeclass for finding the greatest common divisor of two numbers using Euclid's algorithm.

    A

    a non-zero natural number

    B

    another non-zero natural number

  3. trait Multiply[L <: Fraction[_, _], R <: Fraction[_, _]] extends AnyRef

    Permalink

    Typeclass to multiply two fractions

  4. trait Negate[F <: Fraction[_, _]] extends AnyRef

    Permalink

    Typeclass for negating a fraction

  5. trait Simplify[F <: Fraction[_, _]] extends AnyRef

    Permalink

    Typeclass to simplify a fraction

  6. trait Subtract[L <: Fraction[_, _], R <: Fraction[_, _]] extends AnyRef

    Permalink

    Typeclass for subtracting fractions

  7. trait Valid[F <: Fraction[_, _]] extends AnyRef

    Permalink

    Typeclass to determine if a fraction is non-zero and finite

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Add

    Permalink
  5. object GCD

    Permalink
  6. object Multiply

    Permalink
  7. object Negate

    Permalink
  8. object Simplify

    Permalink
  9. object Subtract

    Permalink
  10. object Valid

    Permalink
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): scala.Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): scala.Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): scala.Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): scala.Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): scala.Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): scala.Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped