| Package | Description |
|---|---|
| org.djunits.unit |
Classes for the unit system.
|
| org.djunits.value.vdouble.matrix |
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
| org.djunits.value.vdouble.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
| org.djunits.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| org.djunits.value.vfloat.matrix |
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
| org.djunits.value.vfloat.scalar |
Float Scalar storage and calculations with units, absolute/relative.
|
| org.djunits.value.vfloat.vector |
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| Modifier and Type | Field and Description |
|---|---|
static TimeUnit |
UNITS.DAY |
static TimeUnit |
TimeUnit.DAY
day.
|
static TimeUnit |
UNITS.HOUR |
static TimeUnit |
TimeUnit.HOUR
hour.
|
static TimeUnit |
UNITS.MILLISECOND |
static TimeUnit |
TimeUnit.MILLISECOND
millisecond.
|
static TimeUnit |
UNITS.MINUTE |
static TimeUnit |
TimeUnit.MINUTE
minute.
|
static TimeUnit |
UNITS.SECOND |
static TimeUnit |
TimeUnit.SECOND
second.
|
static TimeUnit |
TimeUnit.SI
The SI unit for time is second.
|
static TimeUnit |
UNITS.WEEK |
static TimeUnit |
TimeUnit.WEEK
week.
|
| Modifier and Type | Method and Description |
|---|---|
TimeUnit |
TimeUnit.getStandardUnit() |
TimeUnit |
TorqueUnit.getTimeUnit() |
TimeUnit |
SpeedUnit.getTimeUnit() |
TimeUnit |
PressureUnit.getTimeUnit() |
TimeUnit |
PowerUnit.getTimeUnit() |
TimeUnit |
MoneyPerTimeUnit.getTimeUnit() |
TimeUnit |
FrequencyUnit.getTimeUnit() |
TimeUnit |
ForceUnit.getTimeUnit() |
TimeUnit |
FlowVolumeUnit.getTimeUnit() |
TimeUnit |
FlowMassUnit.getTimeUnit() |
TimeUnit |
EnergyUnit.getTimeUnit() |
TimeUnit |
ElectricalResistanceUnit.getTimeUnit() |
TimeUnit |
ElectricalPotentialUnit.getTimeUnit() |
TimeUnit |
ElectricalChargeUnit.getTimeUnit() |
TimeUnit |
AccelerationUnit.getTimeUnit() |
| Constructor and Description |
|---|
AccelerationUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user defined acceleration unit based on length and time.
|
AccelerationUnit(SpeedUnit speedUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user-defined acceleration unit based on speed and time.
|
ElectricalChargeUnit(ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined ElectricalChargeUnit as an electrical current unit times a time unit.
|
ElectricalPotentialUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined ElectricalPotentialUnit based on its constituent base units, e.g.
|
ElectricalResistanceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined ElectricalResistanceUnit based on its constituent base units, e.g.
|
EnergyUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined EnergyUnit based on its constituent base units, e.g.
|
FlowMassUnit(MassUnit massUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-massunit based on mass and time.
|
FlowVolumeUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-volumeunit based on length (cubed) per time unit.
|
FlowVolumeUnit(VolumeUnit volumeUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-volumeunit based as a volume unit per time unit.
|
ForceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined ForceUnit based on its constituent base units, e.g.
|
FrequencyUnit(TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined FrequencyUnit based on time.
|
MoneyPerTimeUnit(MoneyUnit moneyUnit,
TimeUnit timeUnit,
String name,
String abbreviation)
Build a user-defined money per time unit from a money unit and an time unit.
|
PowerUnit(LengthUnit lengthUnit,
ForceUnit forceUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined PowerUnit based on a LengthUnit, a ForceUnit, and a TimeUnit, e.g.
|
PowerUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined PowerUnit based on its constituent base units, e.g.
|
PressureUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Construct a user-defined pressure unit from mass, length and time units, e.g., a Pascal = kg/m.s^2.
|
SpeedUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined speed unit from a length unit and a time unit.
|
TimeUnit(String name,
String abbreviation,
UnitSystem unitSystem,
TimeUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a user-defined TimeUnit with a conversion factor to another TimeUnit.
|
TorqueUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined torque unit from mass, length and time units.
|
| Modifier and Type | Method and Description |
|---|---|
protected MutableTimeMatrix |
TimeMatrix.instantiateMutableType(DoubleMatrixData dmd,
TimeUnit unit)
Construct a new Absolute Mutable DoubleMatrix of the right type.
|
protected MutableTimeMatrix |
MutableTimeMatrix.instantiateMutableType(DoubleMatrixData dmd,
TimeUnit unit)
Construct a new Absolute Mutable DoubleMatrix of the right type.
|
protected MutableDurationMatrix |
MutableDurationMatrix.instantiateMutableType(DoubleMatrixData dmd,
TimeUnit unit)
Construct a new Relative Mutable DoubleMatrix of the right type.
|
protected MutableDurationMatrix |
DurationMatrix.instantiateMutableType(DoubleMatrixData dmd,
TimeUnit unit)
Construct a new Relative Mutable DoubleMatrix of the right type.
|
protected DurationMatrix |
MutableDurationMatrix.instantiateType(DoubleMatrixData dmd,
TimeUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
protected DurationMatrix |
DurationMatrix.instantiateType(DoubleMatrixData dmd,
TimeUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
protected TimeMatrix |
TimeMatrix.instantiateTypeAbs(DoubleMatrixData dmd,
TimeUnit unit)
Construct a new Absolute Immutable DoubleMatrix of the right type.
|
protected TimeMatrix |
MutableTimeMatrix.instantiateTypeAbs(DoubleMatrixData dmd,
TimeUnit unit)
Construct a new Absolute Immutable DoubleMatrix of the right type.
|
protected DurationMatrix |
TimeMatrix.instantiateTypeRel(DoubleMatrixData dmd,
TimeUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
protected DurationMatrix |
MutableTimeMatrix.instantiateTypeRel(DoubleMatrixData dmd,
TimeUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
| Constructor and Description |
|---|
DurationMatrix(double[][] values,
TimeUnit unit,
StorageType storageType)
Construct a new Relative Immutable Double DurationMatrix.
|
DurationMatrix(DoubleMatrixData data,
TimeUnit unit)
Construct a new Relative Immutable Double DurationMatrix.
|
MutableDurationMatrix(double[][] values,
TimeUnit unit,
StorageType storageType)
Construct a new Relative Mutable Double DurationMatrix.
|
MutableDurationMatrix(DoubleMatrixData data,
TimeUnit unit)
Construct a new Relative Mutable Double DurationMatrix.
|
MutableTimeMatrix(double[][] values,
TimeUnit unit,
StorageType storageType)
Construct a new Absolute Mutable Double TimeMatrix.
|
MutableTimeMatrix(DoubleMatrixData data,
TimeUnit unit)
Construct a new Absolute Mutable Double TimeMatrix.
|
TimeMatrix(double[][] values,
TimeUnit unit,
StorageType storageType)
Construct a new Absolute Immutable Double DurationMatrix.
|
TimeMatrix(DoubleMatrixData data,
TimeUnit unit)
Construct a new Absolute Immutable Double DurationMatrix.
|
| Modifier and Type | Method and Description |
|---|---|
protected Time |
Time.instantiateTypeAbs(double value,
TimeUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
protected Time |
Duration.instantiateTypeAbs(double value,
TimeUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
protected Duration |
Time.instantiateTypeRel(double value,
TimeUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Duration |
Duration.instantiateTypeRel(double value,
TimeUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
| Constructor and Description |
|---|
Duration(double value,
TimeUnit unit)
Construct Duration scalar.
|
Time(double value,
TimeUnit unit)
Construct Time scalar.
|
| Modifier and Type | Method and Description |
|---|---|
protected MutableTimeVector |
TimeVector.instantiateMutableType(DoubleVectorData dvd,
TimeUnit unit)
Construct a new Absolute Mutable DoubleVector of the right type.
|
protected MutableTimeVector |
MutableTimeVector.instantiateMutableType(DoubleVectorData dvd,
TimeUnit unit)
Construct a new Absolute Mutable DoubleVector of the right type.
|
protected MutableDurationVector |
MutableDurationVector.instantiateMutableType(DoubleVectorData dvd,
TimeUnit unit)
Construct a new Relative Mutable DoubleVector of the right type.
|
protected MutableDurationVector |
DurationVector.instantiateMutableType(DoubleVectorData dvd,
TimeUnit unit)
Construct a new Relative Mutable DoubleVector of the right type.
|
protected DurationVector |
MutableDurationVector.instantiateType(DoubleVectorData dvd,
TimeUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
protected DurationVector |
DurationVector.instantiateType(DoubleVectorData dvd,
TimeUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
protected TimeVector |
TimeVector.instantiateTypeAbs(DoubleVectorData dvd,
TimeUnit unit)
Construct a new Absolute Immutable DoubleVector of the right type.
|
protected TimeVector |
MutableTimeVector.instantiateTypeAbs(DoubleVectorData dvd,
TimeUnit unit)
Construct a new Absolute Immutable DoubleVector of the right type.
|
protected DurationVector |
TimeVector.instantiateTypeRel(DoubleVectorData dvd,
TimeUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
protected DurationVector |
MutableTimeVector.instantiateTypeRel(DoubleVectorData dvd,
TimeUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
| Constructor and Description |
|---|
DurationVector(double[] values,
TimeUnit unit,
StorageType storageType)
Construct a new Relative Immutable Double DurationVector.
|
DurationVector(DoubleVectorData data,
TimeUnit unit)
Construct a new Relative Immutable Double DurationVector.
|
DurationVector(List<Double> values,
TimeUnit unit,
StorageType storageType)
Construct a new Relative Immutable Double DurationVector.
|
DurationVector(SortedMap<Integer,Double> values,
TimeUnit unit,
int length,
StorageType storageType)
Construct a new Relative Immutable Double DurationVector.
|
MutableDurationVector(double[] values,
TimeUnit unit,
StorageType storageType)
Construct a new Relative Mutable Double DurationVector.
|
MutableDurationVector(DoubleVectorData data,
TimeUnit unit)
Construct a new Relative Mutable Double DurationVector.
|
MutableDurationVector(List<Double> values,
TimeUnit unit,
StorageType storageType)
Construct a new Relative Mutable Double DurationVector.
|
MutableDurationVector(SortedMap<Integer,Double> values,
TimeUnit unit,
int length,
StorageType storageType)
Construct a new Relative Mutable Double DurationVector.
|
MutableTimeVector(double[] values,
TimeUnit unit,
StorageType storageType)
Construct a new Absolute Mutable Double TimeVector.
|
MutableTimeVector(DoubleVectorData data,
TimeUnit unit)
Construct a new Absolute Mutable Double TimeVector.
|
MutableTimeVector(List<Double> values,
TimeUnit unit,
StorageType storageType)
Construct a new Absolute Mutable Double TimeVector.
|
MutableTimeVector(SortedMap<Integer,Double> values,
TimeUnit unit,
int length,
StorageType storageType)
Construct a new Absolute Mutable Double TimeVector.
|
TimeVector(double[] values,
TimeUnit unit,
StorageType storageType)
Construct a new Absolute Immutable Double TimeVector.
|
TimeVector(DoubleVectorData data,
TimeUnit unit)
Construct a new Absolute Immutable Double TimeVector.
|
TimeVector(List<Double> values,
TimeUnit unit,
StorageType storageType)
Construct a new Absolute Immutable Double TimeVector.
|
TimeVector(SortedMap<Integer,Double> values,
TimeUnit unit,
int length,
StorageType storageType)
Construct a new Absolute Immutable Double TimeVector.
|
| Modifier and Type | Method and Description |
|---|---|
protected MutableFloatTimeMatrix |
MutableFloatTimeMatrix.instantiateMutableType(FloatMatrixData fmd,
TimeUnit unit)
Construct a new Absolute Mutable FloatMatrix of the right type.
|
protected MutableFloatDurationMatrix |
MutableFloatDurationMatrix.instantiateMutableType(FloatMatrixData fmd,
TimeUnit unit)
Construct a new Relative Mutable FloatMatrix of the right type.
|
protected MutableFloatTimeMatrix |
FloatTimeMatrix.instantiateMutableType(FloatMatrixData fmd,
TimeUnit unit)
Construct a new Absolute Mutable FloatMatrix of the right type.
|
protected MutableFloatDurationMatrix |
FloatDurationMatrix.instantiateMutableType(FloatMatrixData fmd,
TimeUnit unit)
Construct a new Relative Mutable FloatMatrix of the right type.
|
protected FloatDurationMatrix |
MutableFloatDurationMatrix.instantiateType(FloatMatrixData fmd,
TimeUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
protected FloatDurationMatrix |
FloatDurationMatrix.instantiateType(FloatMatrixData fmd,
TimeUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
protected FloatTimeMatrix |
MutableFloatTimeMatrix.instantiateTypeAbs(FloatMatrixData fmd,
TimeUnit unit)
Construct a new Absolute Immutable FloatMatrix of the right type.
|
protected FloatTimeMatrix |
FloatTimeMatrix.instantiateTypeAbs(FloatMatrixData fmd,
TimeUnit unit)
Construct a new Absolute Immutable FloatMatrix of the right type.
|
protected FloatDurationMatrix |
MutableFloatTimeMatrix.instantiateTypeRel(FloatMatrixData fmd,
TimeUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
protected FloatDurationMatrix |
FloatTimeMatrix.instantiateTypeRel(FloatMatrixData fmd,
TimeUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
| Constructor and Description |
|---|
FloatDurationMatrix(float[][] values,
TimeUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatDurationMatrix.
|
FloatDurationMatrix(FloatMatrixData data,
TimeUnit unit)
Construct a new Relative Immutable FloatDurationMatrix.
|
FloatTimeMatrix(float[][] values,
TimeUnit unit,
StorageType storageType)
Construct a new Absolute Immutable FloatTimeMatrix.
|
FloatTimeMatrix(FloatMatrixData data,
TimeUnit unit)
Construct a new Absolute Immutable FloatTimeMatrix.
|
MutableFloatDurationMatrix(float[][] values,
TimeUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatDurationMatrix.
|
MutableFloatDurationMatrix(FloatMatrixData data,
TimeUnit unit)
Construct a new Relative Mutable FloatDurationMatrix.
|
MutableFloatTimeMatrix(float[][] values,
TimeUnit unit,
StorageType storageType)
Construct a new Absolute Mutable FloatTimeMatrix.
|
MutableFloatTimeMatrix(FloatMatrixData data,
TimeUnit unit)
Construct a new Absolute Mutable FloatTimeMatrix.
|
| Modifier and Type | Method and Description |
|---|---|
protected FloatTime |
FloatTime.instantiateTypeAbs(float value,
TimeUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
protected FloatTime |
FloatDuration.instantiateTypeAbs(float value,
TimeUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
protected FloatDuration |
FloatTime.instantiateTypeRel(float value,
TimeUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatDuration |
FloatDuration.instantiateTypeRel(float value,
TimeUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
| Constructor and Description |
|---|
FloatDuration(double value,
TimeUnit unit)
Construct FloatDuration scalar using a double value.
|
FloatDuration(float value,
TimeUnit unit)
Construct FloatDuration scalar.
|
FloatTime(double value,
TimeUnit unit)
Construct FloatTime scalar using a double value.
|
FloatTime(float value,
TimeUnit unit)
Construct FloatTime scalar.
|
| Modifier and Type | Method and Description |
|---|---|
protected MutableFloatTimeVector |
MutableFloatTimeVector.instantiateMutableType(FloatVectorData dvd,
TimeUnit unit)
Construct a new Absolute Mutable FloatVector of the right type.
|
protected MutableFloatDurationVector |
MutableFloatDurationVector.instantiateMutableType(FloatVectorData dvd,
TimeUnit unit)
Construct a new Relative Mutable FloatVector of the right type.
|
protected MutableFloatTimeVector |
FloatTimeVector.instantiateMutableType(FloatVectorData dvd,
TimeUnit unit)
Construct a new Absolute Mutable FloatVector of the right type.
|
protected MutableFloatDurationVector |
FloatDurationVector.instantiateMutableType(FloatVectorData dvd,
TimeUnit unit)
Construct a new Relative Mutable FloatVector of the right type.
|
protected FloatDurationVector |
MutableFloatDurationVector.instantiateType(FloatVectorData dvd,
TimeUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
protected FloatDurationVector |
FloatDurationVector.instantiateType(FloatVectorData dvd,
TimeUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
protected FloatTimeVector |
MutableFloatTimeVector.instantiateTypeAbs(FloatVectorData dvd,
TimeUnit unit)
Construct a new Absolute Immutable FloatVector of the right type.
|
protected FloatTimeVector |
FloatTimeVector.instantiateTypeAbs(FloatVectorData dvd,
TimeUnit unit)
Construct a new Absolute Immutable FloatVector of the right type.
|
protected FloatDurationVector |
MutableFloatTimeVector.instantiateTypeRel(FloatVectorData dvd,
TimeUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
protected FloatDurationVector |
FloatTimeVector.instantiateTypeRel(FloatVectorData dvd,
TimeUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
| Constructor and Description |
|---|
FloatDurationVector(float[] values,
TimeUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatDurationVector.
|
FloatDurationVector(FloatVectorData data,
TimeUnit unit)
Construct a new Relative Immutable FloatDurationVector.
|
FloatDurationVector(List<Float> values,
TimeUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatDurationVector.
|
FloatDurationVector(SortedMap<Integer,Float> values,
TimeUnit unit,
int length,
StorageType storageType)
Construct a new Relative Immutable FloatDurationVector.
|
FloatTimeVector(float[] values,
TimeUnit unit,
StorageType storageType)
Construct a new Absolute Immutable FloatTimeVector.
|
FloatTimeVector(FloatVectorData data,
TimeUnit unit)
Construct a new Absolute Immutable FloatTimeVector.
|
FloatTimeVector(List<Float> values,
TimeUnit unit,
StorageType storageType)
Construct a new Absolute Immutable FloatTimeVector.
|
FloatTimeVector(SortedMap<Integer,Float> values,
TimeUnit unit,
int length,
StorageType storageType)
Construct a new Absolute Immutable FloatTimeVector.
|
MutableFloatDurationVector(float[] values,
TimeUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatDurationVector.
|
MutableFloatDurationVector(FloatVectorData data,
TimeUnit unit)
Construct a new Relative Mutable FloatDurationVector.
|
MutableFloatDurationVector(List<Float> values,
TimeUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatDurationVector.
|
MutableFloatDurationVector(SortedMap<Integer,Float> values,
TimeUnit unit,
int length,
StorageType storageType)
Construct a new Relative Mutable FloatDurationVector.
|
MutableFloatTimeVector(float[] values,
TimeUnit unit,
StorageType storageType)
Construct a new Absolute Mutable FloatTimeVector.
|
MutableFloatTimeVector(FloatVectorData data,
TimeUnit unit)
Construct a new Absolute Mutable FloatTimeVector.
|
MutableFloatTimeVector(List<Float> values,
TimeUnit unit,
StorageType storageType)
Construct a new Absolute Mutable FloatTimeVector.
|
MutableFloatTimeVector(SortedMap<Integer,Float> values,
TimeUnit unit,
int length,
StorageType storageType)
Construct a new Absolute Mutable FloatTimeVector.
|
Copyright © 2015–2016 Delft University of Technology. All rights reserved.