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 DurationUnit |
UNITS.ATTOSECOND |
static DurationUnit |
DurationUnit.ATTOSECOND
attosecond.
|
static DurationUnit |
UNITS.DAY |
static DurationUnit |
DurationUnit.DAY
day.
|
static DurationUnit |
UNITS.FEMTOSECOND |
static DurationUnit |
DurationUnit.FEMTOSECOND
femtosecond.
|
static DurationUnit |
UNITS.HOUR |
static DurationUnit |
DurationUnit.HOUR
hour.
|
static DurationUnit |
UNITS.MICROSECOND |
static DurationUnit |
DurationUnit.MICROSECOND
microsecond.
|
static DurationUnit |
UNITS.MILLISECOND |
static DurationUnit |
DurationUnit.MILLISECOND
millisecond.
|
static DurationUnit |
UNITS.MINUTE |
static DurationUnit |
DurationUnit.MINUTE
minute.
|
static DurationUnit |
UNITS.NANOSECOND |
static DurationUnit |
DurationUnit.NANOSECOND
nanosecond.
|
static DurationUnit |
UNITS.PICOSECOND |
static DurationUnit |
DurationUnit.PICOSECOND
picosecond.
|
static DurationUnit |
UNITS.SECOND |
static DurationUnit |
DurationUnit.SECOND
second.
|
static DurationUnit |
DurationUnit.SI
The SI unit for duration is second.
|
static DurationUnit |
UNITS.WEEK |
static DurationUnit |
DurationUnit.WEEK
week.
|
Modifier and Type | Method and Description |
---|---|
DurationUnit |
TorqueUnit.getDurationUnit() |
DurationUnit |
SpeedUnit.getDurationUnit() |
DurationUnit |
PressureUnit.getDurationUnit() |
DurationUnit |
PowerUnit.getDurationUnit() |
DurationUnit |
MoneyPerDurationUnit.getDurationUnit() |
DurationUnit |
FrequencyUnit.getDurationUnit() |
DurationUnit |
ForceUnit.getDurationUnit() |
DurationUnit |
FlowVolumeUnit.getDurationUnit() |
DurationUnit |
FlowMassUnit.getDurationUnit() |
DurationUnit |
EnergyUnit.getDurationUnit() |
DurationUnit |
ElectricalResistanceUnit.getDurationUnit() |
DurationUnit |
ElectricalPotentialUnit.getDurationUnit() |
DurationUnit |
ElectricalChargeUnit.getDurationUnit() |
DurationUnit |
AccelerationUnit.getDurationUnit() |
DurationUnit |
DurationUnit.getStandardUnit() |
Constructor and Description |
---|
AccelerationUnit(LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user defined acceleration unit based on length and time.
|
AccelerationUnit(SpeedUnit speedUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user-defined acceleration unit based on speed and time.
|
DurationUnit(String name,
String abbreviation,
UnitSystem unitSystem,
DurationUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined DurationUnit with a conversion factor to another DurationUnit.
|
ElectricalChargeUnit(ElectricalCurrentUnit electricalCurrentUnit,
DurationUnit durationUnit,
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,
DurationUnit durationUnit,
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,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined ElectricalResistanceUnit based on its constituent base units, e.g.
|
EnergyUnit(MassUnit massUnit,
LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined EnergyUnit based on its constituent base units, e.g.
|
FlowMassUnit(MassUnit massUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-massunit based on mass and time.
|
FlowVolumeUnit(LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-volumeunit based on length (cubed) per time unit.
|
FlowVolumeUnit(VolumeUnit volumeUnit,
DurationUnit durationUnit,
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,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Build a user-defined ForceUnit based on its constituent base units, e.g.
|
FrequencyUnit(DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined FrequencyUnit based on time.
|
MoneyPerDurationUnit(MoneyUnit moneyUnit,
DurationUnit durationUnit,
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,
DurationUnit durationUnit,
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,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined PowerUnit based on its constituent base units, e.g.
|
PressureUnit(MassUnit massUnit,
LengthUnit lengthUnit,
DurationUnit durationUnit,
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,
DurationUnit durationUnit,
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,
double scaleFactor,
double offset,
DurationUnit relativeUnit)
Build a user-defined TimeUnit with a scale factor and offset to the base TimeUnit.
|
TorqueUnit(MassUnit massUnit,
LengthUnit lengthUnit,
DurationUnit durationUnit,
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 MutableDurationMatrix |
MutableDurationMatrix.instantiateMutableType(DoubleMatrixData dmd,
DurationUnit unit)
Construct a new Relative Mutable DoubleMatrix of the right type.
|
protected MutableDurationMatrix |
DurationMatrix.instantiateMutableType(DoubleMatrixData dmd,
DurationUnit unit)
Construct a new Relative Mutable DoubleMatrix of the right type.
|
protected Duration |
MutableDurationMatrix.instantiateScalar(double value,
DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Duration |
DurationMatrix.instantiateScalar(double value,
DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected DurationMatrix |
MutableDurationMatrix.instantiateType(DoubleMatrixData dmd,
DurationUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
protected DurationMatrix |
DurationMatrix.instantiateType(DoubleMatrixData dmd,
DurationUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
protected DurationMatrix |
TimeMatrix.instantiateTypeRel(DoubleMatrixData dmd,
DurationUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
protected DurationMatrix |
MutableTimeMatrix.instantiateTypeRel(DoubleMatrixData dmd,
DurationUnit unit)
Construct a new Relative Immutable DoubleMatrix of the right type.
|
Constructor and Description |
---|
DurationMatrix(double[][] values,
DurationUnit unit,
StorageType storageType)
Construct a new Relative Immutable Double DurationMatrix.
|
DurationMatrix(DoubleMatrixData data,
DurationUnit unit)
Construct a new Relative Immutable Double DurationMatrix.
|
MutableDurationMatrix(double[][] values,
DurationUnit unit,
StorageType storageType)
Construct a new Relative Mutable Double DurationMatrix.
|
MutableDurationMatrix(DoubleMatrixData data,
DurationUnit unit)
Construct a new Relative Mutable Double DurationMatrix.
|
Modifier and Type | Method and Description |
---|---|
Duration |
Time.instantiateRel(double value,
DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Duration |
Duration.instantiateRel(double value,
DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Constructor and Description |
---|
Duration(double value,
DurationUnit unit)
Construct Duration scalar.
|
Modifier and Type | Method and Description |
---|---|
protected MutableDurationVector |
MutableDurationVector.instantiateMutableType(DoubleVectorData dvd,
DurationUnit unit)
Construct a new Relative Mutable DoubleVector of the right type.
|
protected MutableDurationVector |
DurationVector.instantiateMutableType(DoubleVectorData dvd,
DurationUnit unit)
Construct a new Relative Mutable DoubleVector of the right type.
|
protected Duration |
MutableDurationVector.instantiateScalar(double value,
DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Duration |
DurationVector.instantiateScalar(double value,
DurationUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected DurationVector |
MutableDurationVector.instantiateType(DoubleVectorData dvd,
DurationUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
protected DurationVector |
DurationVector.instantiateType(DoubleVectorData dvd,
DurationUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
protected DurationVector |
TimeVector.instantiateTypeRel(DoubleVectorData dvd,
DurationUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
protected DurationVector |
MutableTimeVector.instantiateTypeRel(DoubleVectorData dvd,
DurationUnit unit)
Construct a new Relative Immutable DoubleVector of the right type.
|
Constructor and Description |
---|
DurationVector(double[] values,
DurationUnit unit,
StorageType storageType)
Construct a new Relative Immutable Double DurationVector.
|
DurationVector(DoubleVectorData data,
DurationUnit unit)
Construct a new Relative Immutable Double DurationVector.
|
DurationVector(List<Double> values,
DurationUnit unit,
StorageType storageType)
Construct a new Relative Immutable Double DurationVector.
|
DurationVector(SortedMap<Integer,Double> values,
DurationUnit unit,
int length,
StorageType storageType)
Construct a new Relative Immutable Double DurationVector.
|
MutableDurationVector(double[] values,
DurationUnit unit,
StorageType storageType)
Construct a new Relative Mutable Double DurationVector.
|
MutableDurationVector(DoubleVectorData data,
DurationUnit unit)
Construct a new Relative Mutable Double DurationVector.
|
MutableDurationVector(List<Double> values,
DurationUnit unit,
StorageType storageType)
Construct a new Relative Mutable Double DurationVector.
|
MutableDurationVector(SortedMap<Integer,Double> values,
DurationUnit unit,
int length,
StorageType storageType)
Construct a new Relative Mutable Double DurationVector.
|
Modifier and Type | Method and Description |
---|---|
protected MutableFloatDurationMatrix |
MutableFloatDurationMatrix.instantiateMutableType(FloatMatrixData fmd,
DurationUnit unit)
Construct a new Relative Mutable FloatMatrix of the right type.
|
protected MutableFloatDurationMatrix |
FloatDurationMatrix.instantiateMutableType(FloatMatrixData fmd,
DurationUnit unit)
Construct a new Relative Mutable FloatMatrix of the right type.
|
protected FloatDuration |
MutableFloatDurationMatrix.instantiateScalar(float value,
DurationUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatDuration |
FloatDurationMatrix.instantiateScalar(float value,
DurationUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatDurationMatrix |
MutableFloatDurationMatrix.instantiateType(FloatMatrixData fmd,
DurationUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
protected FloatDurationMatrix |
FloatDurationMatrix.instantiateType(FloatMatrixData fmd,
DurationUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
protected FloatDurationMatrix |
MutableFloatTimeMatrix.instantiateTypeRel(FloatMatrixData fmd,
DurationUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
protected FloatDurationMatrix |
FloatTimeMatrix.instantiateTypeRel(FloatMatrixData fmd,
DurationUnit unit)
Construct a new Relative Immutable FloatMatrix of the right type.
|
Constructor and Description |
---|
FloatDurationMatrix(float[][] values,
DurationUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatDurationMatrix.
|
FloatDurationMatrix(FloatMatrixData data,
DurationUnit unit)
Construct a new Relative Immutable FloatDurationMatrix.
|
MutableFloatDurationMatrix(float[][] values,
DurationUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatDurationMatrix.
|
MutableFloatDurationMatrix(FloatMatrixData data,
DurationUnit unit)
Construct a new Relative Mutable FloatDurationMatrix.
|
Modifier and Type | Method and Description |
---|---|
FloatDuration |
FloatTime.instantiateRel(float value,
DurationUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
FloatDuration |
FloatDuration.instantiateRel(float value,
DurationUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
Constructor and Description |
---|
FloatDuration(double value,
DurationUnit unit)
Construct FloatDuration scalar using a double value.
|
FloatDuration(float value,
DurationUnit unit)
Construct FloatDuration scalar.
|
Modifier and Type | Method and Description |
---|---|
protected MutableFloatDurationVector |
MutableFloatDurationVector.instantiateMutableType(FloatVectorData dvd,
DurationUnit unit)
Construct a new Relative Mutable FloatVector of the right type.
|
protected MutableFloatDurationVector |
FloatDurationVector.instantiateMutableType(FloatVectorData dvd,
DurationUnit unit)
Construct a new Relative Mutable FloatVector of the right type.
|
protected FloatDuration |
MutableFloatDurationVector.instantiateScalar(float value,
DurationUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatDuration |
FloatDurationVector.instantiateScalar(float value,
DurationUnit unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatDurationVector |
MutableFloatDurationVector.instantiateType(FloatVectorData dvd,
DurationUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
protected FloatDurationVector |
FloatDurationVector.instantiateType(FloatVectorData dvd,
DurationUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
protected FloatDurationVector |
MutableFloatTimeVector.instantiateTypeRel(FloatVectorData dvd,
DurationUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
protected FloatDurationVector |
FloatTimeVector.instantiateTypeRel(FloatVectorData dvd,
DurationUnit unit)
Construct a new Relative Immutable FloatVector of the right type.
|
Constructor and Description |
---|
FloatDurationVector(float[] values,
DurationUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatDurationVector.
|
FloatDurationVector(FloatVectorData data,
DurationUnit unit)
Construct a new Relative Immutable FloatDurationVector.
|
FloatDurationVector(List<Float> values,
DurationUnit unit,
StorageType storageType)
Construct a new Relative Immutable FloatDurationVector.
|
FloatDurationVector(SortedMap<Integer,Float> values,
DurationUnit unit,
int length,
StorageType storageType)
Construct a new Relative Immutable FloatDurationVector.
|
MutableFloatDurationVector(float[] values,
DurationUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatDurationVector.
|
MutableFloatDurationVector(FloatVectorData data,
DurationUnit unit)
Construct a new Relative Mutable FloatDurationVector.
|
MutableFloatDurationVector(List<Float> values,
DurationUnit unit,
StorageType storageType)
Construct a new Relative Mutable FloatDurationVector.
|
MutableFloatDurationVector(SortedMap<Integer,Float> values,
DurationUnit unit,
int length,
StorageType storageType)
Construct a new Relative Mutable FloatDurationVector.
|
Copyright © 2015–2018 Delft University of Technology. All rights reserved.