Module rug::complex

source ·
Expand description

Multi-precision complex numbers with correct rounding.

This module provides support for complex numbers of type Complex.

Structs§

  • Used to get a reference to a Complex number.
  • A small complex number that does not require any memory allocation.
  • A complex number that supports total ordering and hashing.
  • An error which can be returned when parsing a Complex number.
  • SmallComplexDeprecated
    A small complex number that did not require any memory allocation until version 1.23.0.

Traits§

  • The Prec trait is used to specify the precision of the real and imaginary parts of a Complex number.