Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected Density |
MutableDensityMatrix.instantiateScalar(double value,
DensityUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Density |
DensityMatrix.instantiateScalar(double value,
DensityUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Constructor and Description |
---|
DensityMatrix(Density[][] values,
StorageType storageType)
Construct a new Relative Immutable Double DensityMatrix.
|
MutableDensityMatrix(Density[][] values,
StorageType storageType)
Construct a new Relative Immutable Double DensityMatrix.
|
Modifier and Type | Field and Description |
---|---|
static Density |
Density.NaN
constant with value NaN.
|
static Density |
Density.NEG_MAXVALUE
constant with value -MAX_VALUE.
|
static Density |
Density.NEGATIVE_INFINITY
constant with value NEGATIVE_INFINITY.
|
static Density |
Density.POS_MAXVALUE
constant with value MAX_VALUE.
|
static Density |
Density.POSITIVE_INFINITY
constant with value POSITIVE_INFINITY.
|
static Density |
Density.ZERO
constant with value zero.
|
Modifier and Type | Method and Description |
---|---|
static Density |
Density.createSI(double value)
Construct Density scalar.
|
Density |
Mass.divideBy(Volume v)
Calculate the division of Mass and Volume, which results in a Density scalar.
|
Density |
Density.instantiateRel(double value,
DensityUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
static Density |
Density.interpolate(Density zero,
Density one,
double ratio)
Interpolate between two values.
|
static Density |
Density.max(Density r1,
Density r2)
Return the maximum value of two relative scalars.
|
static Density |
Density.max(Density r1,
Density r2,
Density... rn)
Return the maximum value of more than two relative scalars.
|
static Density |
Density.min(Density r1,
Density r2)
Return the minimum value of two relative scalars.
|
static Density |
Density.min(Density r1,
Density r2,
Density... rn)
Return the minimum value of more than two relative scalars.
|
Density |
Dimensionless.multiplyBy(Density v)
Calculate the multiplication of Dimensionless and Density, which results in a Density scalar.
|
static Density |
Density.valueOf(String text)
Returns a Density representation of a textual representation of a value with a unit.
|
Modifier and Type | Method and Description |
---|---|
Volume |
Mass.divideBy(Density v)
Calculate the division of Mass and Density, which results in a Volume scalar.
|
Dimensionless |
Density.divideBy(Density v)
Calculate the division of Density and Density, which results in a Dimensionless scalar.
|
static Density |
Density.interpolate(Density zero,
Density one,
double ratio)
Interpolate between two values.
|
static Density |
Density.max(Density r1,
Density r2)
Return the maximum value of two relative scalars.
|
static Density |
Density.max(Density r1,
Density r2,
Density... rn)
Return the maximum value of more than two relative scalars.
|
static Density |
Density.max(Density r1,
Density r2,
Density... rn)
Return the maximum value of more than two relative scalars.
|
static Density |
Density.min(Density r1,
Density r2)
Return the minimum value of two relative scalars.
|
static Density |
Density.min(Density r1,
Density r2,
Density... rn)
Return the minimum value of more than two relative scalars.
|
static Density |
Density.min(Density r1,
Density r2,
Density... rn)
Return the minimum value of more than two relative scalars.
|
Mass |
Volume.multiplyBy(Density v)
Calculate the multiplication of Volume and Density, which results in a Mass scalar.
|
Density |
Dimensionless.multiplyBy(Density v)
Calculate the multiplication of Dimensionless and Density, which results in a Density scalar.
|
Constructor and Description |
---|
Density(Density value)
Construct Density scalar.
|
Modifier and Type | Method and Description |
---|---|
protected Density |
MutableDensityVector.instantiateScalar(double value,
DensityUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Density |
DensityVector.instantiateScalar(double value,
DensityUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Density[] |
MutableDensityVector.toArray()
Return an array of Density Scalars from this vector.
|
Density[] |
DensityVector.toArray()
Return an array of Density Scalars from this vector.
|
Constructor and Description |
---|
DensityVector(Density[] values,
StorageType storageType)
Construct a new Relative Immutable Double DensityVector.
|
MutableDensityVector(Density[] values,
StorageType storageType)
Construct a new Relative Immutable Double DensityVector.
|
Constructor and Description |
---|
DensityVector(List<Density> values,
StorageType storageType)
Construct a new Relative Immutable Double DensityVector.
|
DensityVector(SortedMap<Integer,Density> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double DensityVector.
|
MutableDensityVector(List<Density> values,
StorageType storageType)
Construct a new Relative Immutable Double DensityVector.
|
MutableDensityVector(SortedMap<Integer,Density> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double DensityVector.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.