| java.lang.Object java.lang.Number gnu.math.Numeric gnu.math.Quantity gnu.math.Unit gnu.math.NamedUnit
All known Subclasses: gnu.math.BaseUnit,
Field Summary | |
Unit | base The value this was initialized from. | NamedUnit | chain Next NamedUnit in table bucket. | String | name The interned name of this Unit, for example "cm". | double | scale The value of this Unit is scale*base.
The value of this.factor is scale*base.factor, so scale is
redundant - were it not for rounding error concerns. |
base | Unit base(Code) | | The value this was initialized from.
|
name | String name(Code) | | The interned name of this Unit, for example "cm".
|
scale | double scale(Code) | | The value of this Unit is scale*base.
The value of this.factor is scale*base.factor, so scale is
redundant - were it not for rounding error concerns.
|
NamedUnit | public NamedUnit()(Code) | | |
init | protected void init()(Code) | | |
Methods inherited from gnu.math.Unit | public static Unit define(String name, DQuantity value)(Code)(Java Doc) public static Unit define(String name, double factor, Unit base)(Code)(Java Doc) final public Dimensions dimensions()(Code)(Java Doc) public static Unit divide(Unit unit1, Unit unit2)(Code)(Java Doc) final public double doubleValue()(Code)(Java Doc) public String getName()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public boolean isExact()(Code)(Java Doc) final public boolean isZero()(Code)(Java Doc) public static NamedUnit lookup(String name)(Code)(Java Doc) public static NamedUnit make(String name, Quantity value)(Code)(Java Doc) public Complex number()(Code)(Java Doc) public static Unit pow(Unit unit, int power)(Code)(Java Doc) public Numeric power(IntNum y)(Code)(Java Doc) public Unit sqrt()(Code)(Java Doc) static Unit times(Unit unit1, int power1, Unit unit2, int power2)(Code)(Java Doc) public static Unit times(Unit unit1, Unit unit2)(Code)(Java Doc) public String toString(double val)(Code)(Java Doc) public String toString(RealNum val)(Code)(Java Doc) public String toString()(Code)(Java Doc) public Unit unit()(Code)(Java Doc)
|
Methods inherited from gnu.math.Quantity | public Numeric abs()(Code)(Java Doc) public static Quantity add(Quantity x, Quantity y, int k)(Code)(Java Doc) public Numeric add(Object y, int k)(Code)(Java Doc) public Numeric addReversed(Numeric x, int k)(Code)(Java Doc) public static int compare(Quantity x, Quantity y)(Code)(Java Doc) public int compare(Object obj)(Code)(Java Doc) public int compareReversed(Numeric x)(Code)(Java Doc) public Dimensions dimensions()(Code)(Java Doc) public Numeric div(Object y)(Code)(Java Doc) public Numeric divReversed(Numeric x)(Code)(Java Doc) public static Quantity divide(Quantity x, Quantity y)(Code)(Java Doc) public double doubleImagValue()(Code)(Java Doc) public double doubleValue()(Code)(Java Doc) public RealNum im()(Code)(Java Doc) final public double imValue()(Code)(Java Doc) public static Quantity make(Complex x, Unit u)(Code)(Java Doc) public static Quantity make(RealNum re, RealNum im, Unit unit)(Code)(Java Doc) public static Quantity make(double re, double im, Unit unit)(Code)(Java Doc) public Numeric mul(Object y)(Code)(Java Doc) public Numeric mulReversed(Numeric x)(Code)(Java Doc) public Numeric neg()(Code)(Java Doc) abstract public Complex number()(Code)(Java Doc) public RealNum re()(Code)(Java Doc) final public double reValue()(Code)(Java Doc) public static Quantity times(Quantity x, Quantity y)(Code)(Java Doc) public String toString(int radix)(Code)(Java Doc) public Unit unit()(Code)(Java Doc)
|
|
|