Uses of Classgnu.math.Quantity

• Packages that use Quantity
Package Description
gnu.kawa.xml
Classes for using XML within Kawa.
gnu.math
Supports various numeric types, including complex numbers, efficient bignums, exact rational numbers, units.
kawa.standard
Primitive Scheme syntax and functions.
• Uses of Quantity in gnu.kawa.xml

Subclasses of Quantity in gnu.kawa.xml
Modifier and Type Class and Description
`class ` `XInteger`
An integer that is an instance of a more specific integer type.
• Uses of Quantity in gnu.math

Subclasses of Quantity in gnu.math
Modifier and Type Class and Description
`class ` `BaseUnit`
A primitive Unit of measurement (such as a meter).
`class ` `CComplex`
General Cartesian Complex number.
`class ` `Complex`
`class ` `CQuantity`
General Cartesian Quaternion quantity.
`class ` `CQuaternion`
General Cartesian Quaternion number (a four-dimensional extension of complex numbers).
`class ` `DateTime`
Represents a date and/or time.
`class ` `DComplex`
A complex number using rectangular (Cartesian) plain double values.
`class ` `DFloNum`
`class ` `DQuantity`
A Quantity represented as the product of a plain double and a Unit.
`class ` `DQuaternion`
A quaternion number using plain double values.
`class ` `Duration`
`class ` `IntFraction`
Implementation of exact rational numbers a ratio of two IntNums.
`class ` `IntNum`
A class for infinite-precision integers.
`class ` `NamedUnit`
A Unit that has a name.
`class ` `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.
`class ` `RatNum`
The abstract class of rational numbers.
`class ` `RealNum`
`class ` `Unit`
Methods in gnu.math that return Quantity
Modifier and Type Method and Description
`static Quantity` Quantity.```add(Quantity x, Quantity y, int k)```
`static Quantity` Quantity.```divide(Quantity x, Quantity y)```
`static Quantity` Quantity.```make(double re, double im, double jm, double km, Unit unit)```
`static Quantity` Quantity.```make(Quaternion x, Unit u)```
`static Quantity` Quantity.```make(RealNum re, RealNum im, RealNum jm, RealNum km, Unit unit)```
`static Quantity` Quantity.```times(Quantity x, Quantity y)```
Methods in gnu.math with parameters of type Quantity
Modifier and Type Method and Description
`static Quantity` Quantity.```add(Quantity x, Quantity y, int k)```
`static int` Quantity.```compare(Quantity x, Quantity y)```
`static Quantity` Quantity.```divide(Quantity x, Quantity y)```
`static NamedUnit` Unit.```make(java.lang.String name, Quantity value)```
`static NamedUnit` NamedUnit.```make(java.lang.String name, Quantity value)```
`static Quantity` Quantity.```times(Quantity x, Quantity y)```
• Uses of Quantity in kawa.standard

Methods in kawa.standard with parameters of type Quantity
Modifier and Type Method and Description
`static void` sleep.`sleep(Quantity q)`