Uses of Class
org.djunits.value.vdouble.scalar.Density
Package
Description
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
Double Scalar storage and calculations with units, absolute/relative.Note: All code in this package is generated.
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
-
Uses of Density in org.djunits.value.vdouble.matrix
Modifier and TypeMethodDescriptionDensityMatrix.instantiateScalarSI
(double valueSI, DensityUnit displayUnit) ModifierConstructorDescriptionDensityMatrix
(Density[][] data) Construct a DensityMatrix from an array of an array of Density objects.DensityMatrix
(Density[][] data, DensityUnit displayUnit) Construct a DensityMatrix from an array of an array of Density objects.DensityMatrix
(Density[][] data, DensityUnit displayUnit, StorageType storageType) Construct a DensityMatrix from an array of an array of Density objects.DensityMatrix
(Density[][] data, StorageType storageType) Construct a DensityMatrix from an array of an array of Density objects.ModifierConstructorDescriptionDensityMatrix
(Collection<DoubleSparseValue<DensityUnit, Density>> data, int rows, int cols) Construct a DensityMatrix from a (sparse) collection of DoubleSparseValue objects.DensityMatrix
(Collection<DoubleSparseValue<DensityUnit, Density>> data, int rows, int cols, StorageType storageType) Construct a DensityMatrix from a (sparse) collection of DoubleSparseValue objects.DensityMatrix
(Collection<DoubleSparseValue<DensityUnit, Density>> data, DensityUnit displayUnit, int rows, int cols) Construct a DensityMatrix from a (sparse) collection of DoubleSparseValue objects.DensityMatrix
(Collection<DoubleSparseValue<DensityUnit, Density>> data, DensityUnit displayUnit, int rows, int cols, StorageType storageType) Construct a DensityMatrix from a (sparse) collection of DoubleSparseValue objects. -
Uses of Density in org.djunits.value.vdouble.scalar
Modifier and TypeFieldDescriptionstatic final Density
Density.NaN
Constant with value NaN.static final Density
Density.NEG_MAXVALUE
Constant with value -MAX_VALUE.static final Density
Density.NEGATIVE_INFINITY
Constant with value NEGATIVE_INFINITY.static final Density
Density.ONE
Constant with value one.static final Density
Density.POS_MAXVALUE
Constant with value MAX_VALUE.static final Density
Density.POSITIVE_INFINITY
Constant with value POSITIVE_INFINITY.static final Density
Density.ZERO
Constant with value zero.Modifier and TypeMethodDescriptionfinal Density
SIScalar.asDensity()
Return the current scalar as a density.final Density
SIScalar.asDensity
(DensityUnit displayUnit) Return the current scalar as a density, and provide a display unit.final Density
FlowMass.divide
(FlowVolume v) Calculate the division of FlowMass and FlowVolume, which results in a Density scalar.final Density
Calculate the division of Mass and Volume, which results in a Density scalar.final Density
Density.instantiateRel
(double value, DensityUnit unit) static final Density
Density.instantiateSI
(double value) Construct Density scalar.static Density
Density.interpolate
(Density zero, Density one, double ratio) Interpolate between two values.static Density
Return the maximum value of two relative scalars.static Density
Return the maximum value of more than two relative scalars.static Density
Return the minimum value of two relative scalars.static Density
Return the minimum value of more than two relative scalars.static Density
Returns a Density based on a value and the textual representation of the unit, which can be localized.final Density
Calculate the multiplication of Dimensionless and Density, which results in a Density scalar.static Density
Returns a Density representation of a textual representation of a value with a unit.Modifier and TypeMethodDescriptionfinal Dimensionless
Calculate the division of Density and Density, which results in a Dimensionless scalar.final FlowVolume
Calculate the division of FlowMass and Density, which results in a FlowVolume scalar.final Volume
Calculate the division of Mass and Density, which results in a Volume scalar.static Density
Density.interpolate
(Density zero, Density one, double ratio) Interpolate between two values.static Density
Return the maximum value of two relative scalars.static Density
Return the maximum value of more than two relative scalars.static Density
Return the minimum value of two relative scalars.static Density
Return the minimum value of more than two relative scalars.final Density
Calculate the multiplication of Dimensionless and Density, which results in a Density scalar.final FlowMass
Calculate the multiplication of FlowVolume and Density, which results in a FlowMass scalar.final Mass
Calculate the multiplication of Volume and Density, which results in a Mass scalar. -
Uses of Density in org.djunits.value.vdouble.vector
Modifier and TypeMethodDescriptionDensityVector.instantiateScalarSI
(double valueSI, DensityUnit displayUnit) ModifierConstructorDescriptionDensityVector
(Density[] data) Construct an DensityVector from an array of Density objects.DensityVector
(Density[] data, DensityUnit displayUnit) Construct an DensityVector from an array of Density objects.DensityVector
(Density[] data, DensityUnit displayUnit, StorageType storageType) Construct an DensityVector from an array of Density objects.DensityVector
(Density[] data, StorageType storageType) Construct an DensityVector from an array of Density objects.