| Package | Description |
|---|---|
| herschel.ia.numeric.toolbox.fit | |
| herschel.share.unit |
Provides predefined units and ways to define units and operate with them.
|
| herschel.share.unit.converter | |
| herschel.share.unit.impl |
| Modifier and Type | Method and Description |
|---|---|
Unit<?> |
AbstractModel.getIntegralUnit()
Return the integrated Unit.
|
Unit<?> |
AbstractModel.getParameterUnit(int k)
Return the unit of the indicated parameter.
|
Unit<?> |
AbstractModel.getXUnit(int k)
Return the unit of the independent (X) variables.
|
Unit<?> |
AbstractModel.getYUnit()
Return the unit of the dependent (Y) variable.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractModel.setUnits(java.util.ArrayList<Unit<?>> listxu,
Unit<?> yu)
Set the Units for x and y variables.
|
void |
AbstractModel.setUnits(Unit<?> xu,
Unit<?> yu)
Set the Units for x and y variables.
|
void |
AbstractModel.setUnits(Unit<?> xu,
Unit<?> yu)
Set the Units for x and y variables.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractModel.setUnits(java.util.ArrayList<Unit<?>> listxu,
Unit<?> yu)
Set the Units for x and y variables.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Unit<U extends Unit<U>>
This class represents a generic unit of measurement.
It serves as a wrapper of external units libraries. |
| Modifier and Type | Class and Description |
|---|---|
class |
Acceleration
This class represents acceleration units and provides some constants.
|
class |
Angle
This class represents angle units and provides some constants.
|
class |
AngularMomentum
This class represents angular momentum units and provides some constants.
|
class |
AngularSpeed
This class represents angular speed units and provides some constants.
|
class |
Area
This class represents area units and provides some constants.
|
class |
Duration
This class represents duration units and provides some constants.
|
class |
ElectricCapacitance
This class represents electric capacitance units,
and provides some constants.
|
class |
ElectricCharge
This class represents electric charge units and provides some constants.
|
class |
ElectricConductance
This class represents electric conductance units, and provides some constants.
|
class |
ElectricCurrent
This class represents electric current units and provides some constants.
|
class |
ElectricInductance
This class represents electric inductance units, and provides some constants.
|
class |
ElectricPotential
This class represents electric potential difference, or electromotive force
units, and provides some constants.
|
class |
ElectricResistance
This class represents electric resistance units, and provides some constants.
|
class |
Energy
This class represents energy units and provides some constants.
|
class |
Entropy
This class represents entropy units and provides some constants.
|
class |
Flux
This class represents flux density units and provides some constants.
|
class |
Force
This class represents force units and provides some constants.
|
class |
Frequency
This class represents frequency units and provides some constants.
|
class |
Length
This class represents length units and provides some constants.
|
class |
Mass
This class represents mass units and provides some constants.
|
class |
NEP
This class represents NEP (Noise Equivalent Power) and provides the most
used unit.
|
class |
Power
This class represents power units and provides some constants.
|
class |
Pressure
This class represents pressure units and provides some constants.
|
class |
Scalar
This class represents scalar units and provides some constants.
|
class |
SolidAngle
This class represents angle units and provides some constants.
|
class |
Speed
This class represents speed units and provides some constants.
|
class |
Temperature
This class represents temperature units and provides some constants.
|
class |
ThermalConductivity
This class represents thermal conductivity units and provides some constants.
|
class |
TimeInstant
This class represents a time instant and provides some constants.
|
class |
WaveNumber
This class represents wavenumber units and provides some constants.
|
| Modifier and Type | Method and Description |
|---|---|
Unit<?> |
Unit.__div__(Unit<?> other)
Jython only: wrapper for abbreviated access to divide.
|
Unit<?> |
Unit.__mul__(Unit<?> other)
Jython only: wrapper for abbreviated access to multiply.
|
Unit<?> |
Unit.__pow__(int n)
Jython only: wrapper for abbreviated access to power.
|
Unit<U> |
Unit.atto()
Returns the derived Unit having the 10-18 prefix, atto (a).
|
Unit<U> |
Unit.centi()
Returns the derived Unit having the 10-2 prefix, centi (c).
|
Unit<U> |
Unit.deci()
Returns the derived Unit having the 10-1 prefix, deci (d).
|
Unit<U> |
Unit.deka()
Returns the derived Unit having the 10 prefix, deka (da).
|
Unit<?> |
Unit.divide(Unit<?> other)
Returns a unit equals to this unit divided by another unit.
|
Unit<U> |
Unit.exa()
Returns the derived Unit having the 1018 prefix, exa (E).
|
Unit<U> |
Unit.femto()
Returns the derived Unit having the 10-15 prefix, femto (f).
|
Unit<U> |
Unit.getAtto()
Returns the derived Unit having the 10-18 prefix, atto (a).
|
Unit<U> |
Unit.getCenti()
Returns the derived Unit having the 10-2 prefix, centi (c).
|
Unit<U> |
Unit.getDeci()
Returns the derived Unit having the 10-1 prefix, deci (d).
|
Unit<U> |
Unit.getDeka()
Returns the derived Unit having the 10 prefix, deka (da).
|
Unit<U> |
Unit.getExa()
Returns the derived Unit having the 1018 prefix, exa (E).
|
Unit<U> |
Unit.getFemto()
Returns the derived Unit having the 10-15 prefix, femto (f).
|
Unit<U> |
Unit.getGiga()
Returns the derived Unit having the 109 prefix, giga (G).
|
Unit<U> |
Unit.getHecto()
Returns the derived Unit having the 102 prefix, hecto (h).
|
Unit<U> |
Unit.getKilo()
Returns the derived Unit having the 103 prefix, kilo (k).
|
Unit<U> |
Unit.getMega()
Returns the derived Unit having the 106 prefix, mega (M).
|
Unit<U> |
Unit.getMicro()
Returns the derived Unit having the 10-6 prefix, micro (µ).
|
Unit<U> |
Unit.getMilli()
Returns the derived Unit having the 10-3 prefix, milli (m).
|
Unit<U> |
Unit.getNano()
Returns the derived Unit having the 10-9 prefix, nano (n).
|
Unit<U> |
Unit.getPeta()
Returns the derived Unit having the 1015 prefix, peta (P).
|
Unit<U> |
Unit.getPico()
Returns the derived Unit having the 10-12 prefix, pico (p).
|
Unit<U> |
Unit.getTera()
Returns the derived Unit having the 1012 prefix, tera (T).
|
Unit<?> |
Constant.getUnit()
Returns the unit.
|
Unit<U> |
Unit.giga()
Returns the derived Unit having the 109 prefix, giga (G).
|
Unit<U> |
Unit.hecto()
Returns the derived Unit having the 102 prefix, hecto (h).
|
Unit<?> |
Unit.inverse()
Returns the inverse of this unit.
|
Unit<U> |
Unit.kilo()
Returns the derived Unit having the 103 prefix, kilo (k).
|
Unit<U> |
Unit.mega()
Returns the derived Unit having the 106 prefix, mega (M).
|
Unit<U> |
Unit.micro()
Returns the derived Unit having the 10-6 prefix, micro (µ).
|
Unit<U> |
Unit.milli()
Returns the derived Unit having the 10-3 prefix, milli (m).
|
Unit<U> |
Unit.multiply(double factor,
java.lang.String name)
Returns the result of multiplying this unit by an approximate factor.
|
Unit<U> |
Unit.multiply(long factor,
java.lang.String name)
Returns the result of multiplying this unit by an exact factor.
|
Unit<?> |
Unit.multiply(Unit<?> other)
Returns a unit equals to this unit times another unit.
|
Unit<U> |
Unit.nano()
Returns the derived Unit having the 10-9 prefix, nano (n).
|
Unit<U> |
Unit.peta()
Returns the derived Unit having the 1015 prefix, peta (P).
|
Unit<U> |
Unit.pico()
Returns the derived Unit having the 10-12 prefix, pico (p).
|
Unit<?> |
Unit.power(int n)
Returns a unit equals to this unit raised to an exponent.
|
Unit<?> |
Unit.root(int n)
Returns a unit equals to the given root of this unit.
|
Unit<U> |
Unit.tera()
Returns the derived Unit having the 1012 prefix, tera (T).
|
| Modifier and Type | Method and Description |
|---|---|
Unit<?> |
Unit.__div__(Unit<?> other)
Jython only: wrapper for abbreviated access to divide.
|
Unit<?> |
Unit.__mul__(Unit<?> other)
Jython only: wrapper for abbreviated access to multiply.
|
int |
Unit.compareTo(Unit<?> other)
Compares units by their name.
|
Unit<?> |
Unit.divide(Unit<?> other)
Returns a unit equals to this unit divided by another unit.
|
double |
Unit.getValue(double value,
Unit<?> other)
Returns the value given in the current unit, expressed in the new unit, which must be compatible with this one.
|
boolean |
Unit.isCompatible(Unit<?> other)
Informs whether this unit is compatible with another unit,
that is, if they have the same dimensions.
|
boolean |
Unit.isEquivalent(Unit<?> other)
Informs whether this unit is equivalent to another unit,
that is, if they are compatible
and the conversion factor from this unit to the other one is 1.
|
Unit<?> |
Unit.multiply(Unit<?> other)
Returns a unit equals to this unit times another unit.
|
double |
Unit.to(Unit<?> other)
Returns the conversion factor from this unit to other unit.
|
| Constructor and Description |
|---|
IncompatibleUnitException(Unit<?> unit,
java.lang.Class<? extends Unit<?>> unitClass)
Constructor for a unit and a unit class.
|
IncompatibleUnitException(Unit<?> unit,
java.lang.String message)
Constructor for a unit and a custom message.
|
IncompatibleUnitException(Unit<?> unit1,
Unit<?> unit2)
Constructor for a couple of units.
|
IncompatibleUnitException(Unit<?> unit1,
Unit<?> unit2)
Constructor for a couple of units.
|
| Constructor and Description |
|---|
IncompatibleUnitException(Unit<?> unit,
java.lang.Class<? extends Unit<?>> unitClass)
Constructor for a unit and a unit class.
|
| Modifier and Type | Method and Description |
|---|---|
Unit<?> |
UnitFormat.getUnitSI()
Returns the corresponding SI unit of this format.
|
| Modifier and Type | Method and Description |
|---|---|
double |
DefaultUnitConverter.convert(double value,
Unit<?> sourceUnit,
Unit<?> targetUnit)
Converts the given value, which is expressed in the
sourceUnit, in terms of the targetUnit. |
double |
DefaultUnitConverter.convert(double value,
Unit<?> sourceUnit,
Unit<?> targetUnit)
Converts the given value, which is expressed in the
sourceUnit, in terms of the targetUnit. |
double |
UnitConverter.convert(double value,
Unit<?> sourceUnit,
Unit<?> targetUnit)
Converts the given value, which is expressed in the
sourceUnit, in terms of the targetUnit. |
double |
UnitConverter.convert(double value,
Unit<?> sourceUnit,
Unit<?> targetUnit)
Converts the given value, which is expressed in the
sourceUnit, in terms of the targetUnit. |
double |
UnitFormatConverter.convert(double value,
Unit<?> sourceUnit,
Unit<?> targetUnit)
Converts the given value, which is expressed in the
sourceUnit, in terms of the targetUnit. |
double |
UnitFormatConverter.convert(double value,
Unit<?> sourceUnit,
Unit<?> targetUnit)
Converts the given value, which is expressed in the
sourceUnit, in terms of the targetUnit. |
static UnitFormat |
UnitFormatConverter.formatOf(java.lang.Class<? extends UnitFormat> formatClass,
Unit<?> unit)
Returns the format of the given unit.
|
| Modifier and Type | Method and Description |
|---|---|
<U extends Unit<U>> |
UnitImpl.atto()
Returns the derived Units having the 10-18 prefix, atto (a).
|
<U extends Unit<U>> |
UnitImpl.centi()
Returns the derived Units having the 10-2 prefix, centi (c).
|
<U extends Unit<U>> |
UnitImpl.deci()
Returns the derived Units having the 10-1 prefix, deci (d).
|
<U extends Unit<U>> |
UnitImpl.deka()
Returns the derived Units having the 10 prefix, deka (da).
|
<U extends Unit<U>> |
UnitImpl.exa()
Returns the derived Units having the 1018 prefix, exa (E).
|
<U extends Unit<U>> |
UnitImpl.femto()
Returns the derived Units having the 10-15 prefix, femto (f).
|
<U extends Unit<U>> |
UnitImpl.giga()
Returns the derived Units having the 109 prefix, giga (G).
|
<U extends Unit<U>> |
UnitImpl.hecto()
Returns the derived Units having the 102 prefix, hecto (h).
|
<U extends Unit<U>> |
UnitImpl.kilo()
Returns the derived Units having the 103 prefix, kilo (k).
|
<U extends Unit<U>> |
UnitImpl.mega()
Returns the derived Units having the 106 prefix, mega (M).
|
<U extends Unit<U>> |
UnitImpl.micro()
Returns the derived Units having the 10-6 prefix, micro (µ).
|
<U extends Unit<U>> |
UnitImpl.milli()
Returns the derived Units having the 10-3 prefix, milli (m).
|
<U extends Unit<U>> |
UnitImpl.nano()
Returns the derived Units having the 10-9 prefix, nano (n).
|
<U extends Unit<U>> |
UnitImpl.peta()
Returns the derived Units having the 1015 prefix, peta (P).
|
<U extends Unit<U>> |
UnitImpl.pico()
Returns the derived Units having the 10-12 prefix, pico (p).
|
<U extends Unit<U>> |
UnitImpl.tera()
Returns the derived Units having the 1012 prefix, tera (T).
|
| Modifier and Type | Method and Description |
|---|---|
<U extends Unit<U>> |
UnitImpl.atto()
Returns the derived Units having the 10-18 prefix, atto (a).
|
<U extends Unit<U>> |
UnitImpl.centi()
Returns the derived Units having the 10-2 prefix, centi (c).
|
<U extends Unit<U>> |
UnitImpl.deci()
Returns the derived Units having the 10-1 prefix, deci (d).
|
<U extends Unit<U>> |
UnitImpl.deka()
Returns the derived Units having the 10 prefix, deka (da).
|
Unit<?> |
UnitImpl.divide(Unit<?> other)
Returns a unit equals to the referred unit divided by another unit.
|
<U extends Unit<U>> |
UnitImpl.exa()
Returns the derived Units having the 1018 prefix, exa (E).
|
<U extends Unit<U>> |
UnitImpl.femto()
Returns the derived Units having the 10-15 prefix, femto (f).
|
Unit<?> |
UnitImpl.getAsSI()
Returns the corresponding SI unit.
|
<U extends Unit<U>> |
UnitImpl.giga()
Returns the derived Units having the 109 prefix, giga (G).
|
<U extends Unit<U>> |
UnitImpl.hecto()
Returns the derived Units having the 102 prefix, hecto (h).
|
Unit<?> |
UnitImpl.inverse()
Returns a unit equals to the inverse of the referred unit.
|
<U extends Unit<U>> |
UnitImpl.kilo()
Returns the derived Units having the 103 prefix, kilo (k).
|
<U extends Unit<U>> |
UnitImpl.mega()
Returns the derived Units having the 106 prefix, mega (M).
|
<U extends Unit<U>> |
UnitImpl.micro()
Returns the derived Units having the 10-6 prefix, micro (µ).
|
<U extends Unit<U>> |
UnitImpl.milli()
Returns the derived Units having the 10-3 prefix, milli (m).
|
Unit<?> |
UnitImpl.multiply(double factor,
java.lang.String name)
Returns the result of multiplying this unit by an approximate factor.
|
Unit<?> |
UnitImpl.multiply(long factor,
java.lang.String name)
Returns the result of multiplying this unit by an exact factor.
|
Unit<?> |
UnitImpl.multiply(Unit<?> other)
Returns a unit equals to the referred unit times another unit.
|
<U extends Unit<U>> |
UnitImpl.nano()
Returns the derived Units having the 10-9 prefix, nano (n).
|
<U extends Unit<U>> |
UnitImpl.peta()
Returns the derived Units having the 1015 prefix, peta (P).
|
<U extends Unit<U>> |
UnitImpl.pico()
Returns the derived Units having the 10-12 prefix, pico (p).
|
Unit<?> |
UnitImpl.power(int n)
Returns a unit equals to the referred unit raised to an exponent.
|
Unit<?> |
UnitImpl.root(int n)
Returns a unit equals to the given root of the referred unit.
|
<U extends Unit<U>> |
UnitImpl.tera()
Returns the derived Units having the 1012 prefix, tera (T).
|
| Modifier and Type | Method and Description |
|---|---|
Unit<?> |
UnitImpl.divide(Unit<?> other)
Returns a unit equals to the referred unit divided by another unit.
|
double |
UnitImpl.getValue(double value,
Unit<?> toUnit)
Converts a value from the current unit to another unit.
|
Unit<?> |
UnitImpl.multiply(Unit<?> other)
Returns a unit equals to the referred unit times another unit.
|