Crate relp_num

source
Expand description

§relp-num

Number types for the RELP crate.

Macros§

  • Helper macro for tests.
  • Shorthand for creating a rational number in tests.
  • Shorthand for creating a rational number in tests.
  • Shorthand for creating a rational number in tests.
  • Shorthand for creating a rational number in tests.
  • Shorthand for creating a rational number in tests.
  • Shorthand for creating a rational number in tests.

Structs§

Enums§

Traits§

  • Absolute value of a number.
  • A generic trait for converting a number to a value.
  • A number that can be negated, that is, who’s sign can be flipped.
  • Nonzero values
  • Creating a factorization of an integer or rational number.
  • A signed number that can have a nonzero value.
  • Determining whether a number is a prime.
  • Signed numbers

Type Aliases§

Trait Aliases§

  • Basic field operations with Self and with references to Self.
  • A reference to a variable that is in a Field.
  • The simplex algorithm is defined over the ordered fields.
  • A reference to an ordered field.