| 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 |
|---|---|
Density |
MutableDensityMatrix.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
Density |
DensityMatrix.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
| 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.ZERO
constant with value zero.
|
| Modifier and Type | Method and Description |
|---|---|
Density |
Mass.divideBy(Volume v)
Calculate the division of Mass and Volume, which results in a Density scalar.
|
protected Density |
Density.instantiateTypeRel(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.
|
| 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 |
|---|---|
Density |
MutableDensityVector.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
Density |
DensityVector.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
| 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–2016 Delft University of Technology. All rights reserved.