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
Thegnu.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.-
Class Summary Class Description BaseUnit A primitive Unit of measurement (such as a meter).BitOps Implements logical (bit-wise) operations on infinite-precision integers.CComplex General Cartesian Complex number.Complex CQuantity General Cartesian Quaternion quantity.CQuaternion General Cartesian Quaternion number (a four-dimensional extension of complex numbers).DateTime Represents a date and/or time.DComplex A complex number using rectangular (Cartesian) plain double values.DFloNum Dimensions A Dimensions object represents the product or ratio of BaseUnits.DQuantity A Quantity represented as the product of a plain double and a Unit.DQuaternion A quaternion number using plain double values.Duration ExponentialFormat Format a real number using a floating-point format.FixedRealFormat Format a real number using a fixed-point format.IntFraction Implementation of exact rational numbers a ratio of two IntNums.IntNum A class for infinite-precision integers.NamedUnit A Unit that has a name.Numeric Quantity A quantity with a unit.Quaternion 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.RatNum The abstract class of rational numbers.RealNum UByte UInt ULong Unit UnsignedPrim UShort