Package gnu.math


package gnu.math

Supports various numeric types, including complex numbers, efficient bignums, exact rational numbers, units.

This package is used by Kawa to provide the full Scheme "numeric tower".

Javadoc generated documentation of the class is available online.

License

See the file COPYING.

Author

Per Bothner <per@bothner.com>

How to get it

The gnu.bytecode is currently distributed as part of Kawa, though it can be used independent of the rest of Kawa.

Bugs and patches

Send them to per@bothner.com, or to the Kawa mailing list.
  • Classes
    Class
    Description
    A primitive Unit of measurement (such as a meter).
    Implements logical (bit-wise) operations on infinite-precision integers.
    General Cartesian Complex number.
     
    General Cartesian Quaternion quantity.
    General Cartesian Quaternion number (a four-dimensional extension of complex numbers).
    Represents a date and/or time.
    A complex number using rectangular (Cartesian) plain double values.
     
    A Dimensions object represents the product or ratio of BaseUnits.
    A Quantity represented as the product of a plain double and a Unit.
    A quaternion number using plain double values.
     
    Format a real number using a floating-point format.
    Format a real number using a fixed-point format.
    Implementation of exact rational numbers a ratio of two IntNums.
    A class for infinite-precision integers.
    A Unit that has a name.
     
    A quantity with a unit.
    A quaternion is a hypercomplex number of the form w + xi + yj + zk where w, x, y, and k are real, and i, j, and k are imaginary units which satisfy i^2 = j^2 = k^2 = ijk = -1.
    The abstract class of rational numbers.