Uses of Class
org.djunits.unit.DensityUnit
Package
Description
Units for version 4 of DJUNITS.
Utility classes for the unit package.
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.
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
Float Scalar storage and calculations with units, absolute/relative.
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
-
Uses of DensityUnit in org.djunits.unit
Modifier and TypeFieldDescriptionstatic final DensityUnit
DensityUnit.GRAM_PER_CENTIMETER_3
g/cm^3.static final DensityUnit
DensityUnit.KG_PER_METER_3
kg/m^3.static final DensityUnit
DensityUnit.SI
The SI unit for standard density is kg/m^3.Modifier and TypeFieldDescriptionstatic final Quantity<DensityUnit>
DensityUnit.BASE
The base, with "kg/m3" as the SI signature. -
Uses of DensityUnit in org.djunits.unit.util
Modifier and TypeFieldDescriptionstatic final DensityUnit
UNITS.GRAM_PER_CENTIMETER_3
static final DensityUnit
UNITS.KG_PER_METER_3
-
Uses of DensityUnit in org.djunits.value.vdouble.matrix
Modifier and TypeMethodDescriptionfinal DensityMatrix
SIMatrix.asDensity
(DensityUnit displayUnit) Return the current matrix as a density matrix, and provide a display unit.DensityMatrix.instantiateMatrix
(DoubleMatrixData dmd, DensityUnit displayUnit) DensityMatrix.instantiateScalarSI
(double valueSI, DensityUnit displayUnit) DensityMatrix.instantiateVector
(DoubleVectorData dvd, DensityUnit displayUnit) ModifierConstructorDescriptionDensityMatrix
(double[][] data, DensityUnit displayUnit) Construct a DensityMatrix from a double[][] object.DensityMatrix
(double[][] data, DensityUnit displayUnit, StorageType storageType) Construct a DensityMatrix from a double[][] object.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.DensityMatrix
(DoubleMatrixData data, DensityUnit displayUnit) Construct a DensityMatrix from an internal data object.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.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 DensityUnit in org.djunits.value.vdouble.scalar
Modifier and TypeMethodDescriptionfinal Density
SIScalar.asDensity
(DensityUnit displayUnit) Return the current scalar as a density, and provide a display unit.final Density
Density.instantiateRel
(double value, DensityUnit unit) -
Uses of DensityUnit in org.djunits.value.vdouble.vector
Modifier and TypeMethodDescriptionfinal DensityVector
SIVector.asDensity
(DensityUnit displayUnit) Return the current vector as a density vector, and provide a display unit.DensityVector.instantiateScalarSI
(double valueSI, DensityUnit displayUnit) DensityVector.instantiateVector
(DoubleVectorData dvd, DensityUnit displayUnit) ModifierConstructorDescriptionDensityVector
(double[] data, DensityUnit displayUnit) Construct an DensityVector from a double[] object.DensityVector
(double[] data, DensityUnit displayUnit, StorageType storageType) Construct an DensityVector from a double[] object.DensityVector
(List<? extends Number> data, DensityUnit displayUnit) Construct an DensityVector from a list of Number objects or a list of Density objects.DensityVector
(List<? extends Number> data, DensityUnit displayUnit, StorageType storageType) Construct an DensityVector from a list of Number objects or a list of Density objects.DensityVector
(Map<Integer, ? extends Number> data, int size, DensityUnit displayUnit) Construct an DensityVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of Density objects.DensityVector
(Map<Integer, ? extends Number> data, int size, DensityUnit displayUnit, StorageType storageType) Construct an DensityVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to 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
(DoubleVectorData data, DensityUnit displayUnit) Construct an DensityVector from an internal data object. -
Uses of DensityUnit in org.djunits.value.vfloat.matrix
Modifier and TypeMethodDescriptionfinal FloatDensityMatrix
FloatSIMatrix.asDensity
(DensityUnit displayUnit) Return the current matrix as a density matrix, and provide a display unit.FloatDensityMatrix.instantiateMatrix
(FloatMatrixData fmd, DensityUnit displayUnit) FloatDensityMatrix.instantiateScalarSI
(float valueSI, DensityUnit displayUnit) FloatDensityMatrix.instantiateVector
(FloatVectorData fvd, DensityUnit displayUnit) ModifierConstructorDescriptionFloatDensityMatrix
(float[][] data, DensityUnit displayUnit) Construct a FloatDensityMatrix from a float[][] object.FloatDensityMatrix
(float[][] data, DensityUnit displayUnit, StorageType storageType) Construct a FloatDensityMatrix from a float[][] object.FloatDensityMatrix
(Collection<FloatSparseValue<DensityUnit, FloatDensity>> data, DensityUnit displayUnit, int rows, int cols) Construct a FloatDensityMatrix from a (sparse) collection of FloatSparseValue objects.FloatDensityMatrix
(Collection<FloatSparseValue<DensityUnit, FloatDensity>> data, DensityUnit displayUnit, int rows, int cols, StorageType storageType) Construct a FloatDensityMatrix from a (sparse) collection of FloatSparseValue objects.FloatDensityMatrix
(FloatMatrixData data, DensityUnit displayUnit) Construct a FloatDensityMatrix from an internal data object.FloatDensityMatrix
(FloatDensity[][] data, DensityUnit displayUnit) Construct a FloatDensityMatrix from an array of an array of FloatDensity objects.FloatDensityMatrix
(FloatDensity[][] data, DensityUnit displayUnit, StorageType storageType) Construct a FloatDensityMatrix from an array of an array of FloatDensity objects.ModifierConstructorDescriptionFloatDensityMatrix
(Collection<FloatSparseValue<DensityUnit, FloatDensity>> data, int rows, int cols) Construct a FloatDensityMatrix from a (sparse) collection of FloatSparseValue objects.FloatDensityMatrix
(Collection<FloatSparseValue<DensityUnit, FloatDensity>> data, int rows, int cols, StorageType storageType) Construct a FloatDensityMatrix from a (sparse) collection of FloatSparseValue objects.FloatDensityMatrix
(Collection<FloatSparseValue<DensityUnit, FloatDensity>> data, DensityUnit displayUnit, int rows, int cols) Construct a FloatDensityMatrix from a (sparse) collection of FloatSparseValue objects.FloatDensityMatrix
(Collection<FloatSparseValue<DensityUnit, FloatDensity>> data, DensityUnit displayUnit, int rows, int cols, StorageType storageType) Construct a FloatDensityMatrix from a (sparse) collection of FloatSparseValue objects. -
Uses of DensityUnit in org.djunits.value.vfloat.scalar
Modifier and TypeMethodDescriptionfinal FloatDensity
FloatSIScalar.asDensity
(DensityUnit displayUnit) Return the current scalar as a density, and provide a display unit.final FloatDensity
FloatDensity.instantiateRel
(float value, DensityUnit unit) ModifierConstructorDescriptionFloatDensity
(double value, DensityUnit unit) Construct FloatDensity scalar using a double value.FloatDensity
(float value, DensityUnit unit) Construct FloatDensity scalar. -
Uses of DensityUnit in org.djunits.value.vfloat.vector
Modifier and TypeMethodDescriptionfinal FloatDensityVector
FloatSIVector.asDensity
(DensityUnit displayUnit) Return the current vector as a density vector, and provide a display unit.FloatDensityVector.instantiateScalarSI
(float valueSI, DensityUnit displayUnit) FloatDensityVector.instantiateVector
(FloatVectorData fvd, DensityUnit displayUnit) ModifierConstructorDescriptionFloatDensityVector
(float[] data, DensityUnit displayUnit) Construct a FloatDensityVector from a float[] object.FloatDensityVector
(float[] data, DensityUnit displayUnit, StorageType storageType) Construct a FloatDensityVector from a float[] object.FloatDensityVector
(List<? extends Number> data, DensityUnit displayUnit) Construct a FloatDensityVector from a list of Number objects or a list of FloatDensity objects.FloatDensityVector
(List<? extends Number> data, DensityUnit displayUnit, StorageType storageType) Construct a FloatDensityVector from a list of Number objects or a list of FloatDensity objects.FloatDensityVector
(Map<Integer, ? extends Number> data, int size, DensityUnit displayUnit) Construct a FloatDensityVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatDensity objects.FloatDensityVector
(Map<Integer, ? extends Number> data, int size, DensityUnit displayUnit, StorageType storageType) Construct a FloatDensityVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatDensity objects.FloatDensityVector
(FloatDensity[] data, DensityUnit displayUnit) Construct a FloatDensityVector from an array of FloatDensity objects.FloatDensityVector
(FloatDensity[] data, DensityUnit displayUnit, StorageType storageType) Construct a FloatDensityVector from an array of FloatDensity objects.FloatDensityVector
(FloatVectorData data, DensityUnit displayUnit) Construct a FloatDensityVector from an internal data object.