Attributes
- Companion
- object
- Experimental
- true
- Source
- Field.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Type members
Types
Attributes
- Source
- Field.scala
Value members
Abstract methods
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Concrete methods
A hash code of x that agrees with isEqual: elements the field calls equal have the same hash, whatever their representation, so that Chain can hash consistently with its equality. Nothing is required of unequal elements, so the default, 0 for every element, is right for any field; override it where equality is exact and the elements can be told apart (Z/p hashes the residue in 0 until p). A field that compares within a tolerance, like Field.DoubleApproximated, hashes every element alike: tolerance is not transitive, and no hash of the value can agree with it.
A hash code of x that agrees with isEqual: elements the field calls equal have the same hash, whatever their representation, so that Chain can hash consistently with its equality. Nothing is required of unequal elements, so the default, 0 for every element, is right for any field; override it where equality is exact and the elements can be told apart (Z/p hashes the residue in 0 until p). A field that compares within a tolerance, like Field.DoubleApproximated, hashes every element alike: tolerance is not transitive, and no hash of the value can agree with it.
Attributes
- Source
- Field.scala
x as a real number, for plots and printouts: the integer k (|k| <= 64, the smallest first) with k * 1 == x in the field, which is the balanced representative for Z/p; NaN when there is none. A field of real numbers overrides it with the value itself (Field.DoubleApproximated does). It is decided by the field, never by the runtime class of x: on Scala.js every boxed number is a Double, and an Fp would be taken for one.
x as a real number, for plots and printouts: the integer k (|k| <= 64, the smallest first) with k * 1 == x in the field, which is the balanced representative for Z/p; NaN when there is none. A field of real numbers overrides it with the value itself (Field.DoubleApproximated does). It is decided by the field, never by the runtime class of x: on Scala.js every boxed number is a Double, and an Fp would be taken for one.
Attributes
- Source
- Field.scala
Extensions
Extensions
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala
Attributes
- Source
- Field.scala