spire

optional

package optional

Visibility
  1. Public
  2. All

Type Members

  1. trait VectorOrderLow extends AnyRef

Value Members

  1. object genericEq

    This provides an implicit Eq[A] for any type A using Scala's (Java's) == (equals).

    This provides an implicit Eq[A] for any type A using Scala's (Java's) == (equals). This is generally considered a bad idea, since it means you lose all type safety -- for instance, any 2 types can always be compared as Eq[Any].

  2. object rationalTrig

  3. object totalfloat

    This provides orderings (Order and Eq) for Float and Double that have a total order.

    This provides orderings (Order and Eq) for Float and Double that have a total order. Specifically, this will order NaN's consistently, rather than having their order be undefined. However, this won't be as fast as the default ordering.

  4. object vectorOrder extends VectorOrderLow

    This object provides implicit instances of Eq and Order for Seq-likes that will behave like infinite vectors.

    This object provides implicit instances of Eq and Order for Seq-likes that will behave like infinite vectors. Essentially all this means is that Seq(0, 0, 0) === Seq(), since both are infinite vectors of zeros. Any element not explicitly set is implied to be 0.

Ungrouped