Package | Description |
---|---|
gnu.math |
Supports various numeric
types, including complex numbers, efficient bignums, exact rational
numbers, units.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseUnit
A primitive Unit of measurement (such as a meter).
|
class |
NamedUnit
A Unit that has a name.
|
Modifier and Type | Field and Description |
---|---|
static Unit |
Unit.cm |
static Unit |
Unit.degree |
static Unit |
Unit.gradian |
static Unit |
Unit.hour |
static Unit |
Unit.in |
static Unit |
Unit.minute |
static Unit |
Unit.mm |
static Unit |
Unit.pica |
static Unit |
Unit.pt |
static Unit |
Unit.radian |
Unit |
Duration.unit |
Modifier and Type | Method and Description |
---|---|
static Unit |
Unit.define(java.lang.String name,
double factor,
Unit base) |
static Unit |
Unit.define(java.lang.String name,
DQuantity value) |
static Unit |
Unit.divide(Unit unit1,
Unit unit2) |
static Unit |
Unit.pow(Unit unit,
int power) |
Unit |
Unit.sqrt() |
static Unit |
Unit.times(Unit unit1,
Unit unit2) |
Unit |
Unit.unit() |
Unit |
BaseUnit.unit() |
Unit |
DQuantity.unit() |
Unit |
DateTime.unit() |
Unit |
CQuantity.unit() |
Unit |
Quantity.unit() |
Unit |
Duration.unit() |
Modifier and Type | Method and Description |
---|---|
static Unit |
Unit.define(java.lang.String name,
double factor,
Unit base) |
static Unit |
Unit.divide(Unit unit1,
Unit unit2) |
static NamedUnit |
NamedUnit.lookup(java.lang.String name,
double scale,
Unit base) |
static Quantity |
Quantity.make(double re,
double im,
double jm,
double km,
Unit unit) |
static Duration |
Duration.make(int months,
long seconds,
int nanos,
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 NamedUnit |
NamedUnit.make(java.lang.String name,
double scale,
Unit base) |
static Duration |
Duration.parse(java.lang.String str,
Unit unit) |
static Unit |
Unit.pow(Unit unit,
int power) |
static Unit |
Unit.times(Unit unit1,
Unit unit2) |
static Duration |
Duration.valueOf(java.lang.String str,
Unit unit)
Parse a duration lexical value as specified by XML Schama.
|
Constructor and Description |
---|
CQuantity(Quaternion num,
Unit unit) |
CQuantity(RealNum real,
RealNum imag,
RealNum jmag,
RealNum kmag,
Unit unit) |
CQuantity(RealNum real,
RealNum imag,
Unit unit) |
DQuantity(double factor,
Unit unit) |
NamedUnit(java.lang.String name,
double factor,
Unit base) |