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 MoneyPerLength |
MutableMoneyPerLengthMatrix.instantiateScalar(double value,
MoneyPerLengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected MoneyPerLength |
MoneyPerLengthMatrix.instantiateScalar(double value,
MoneyPerLengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Constructor and Description |
---|
MoneyPerLengthMatrix(MoneyPerLength[][] values,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerLengthMatrix.
|
MutableMoneyPerLengthMatrix(MoneyPerLength[][] values,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerLengthMatrix.
|
Modifier and Type | Method and Description |
---|---|
MoneyPerLength |
Money.divideBy(Length v)
Calculate the division of Money and Length, which results in a MoneyPerLength scalar.
|
MoneyPerLength |
MoneyPerLength.instantiateRel(double value,
MoneyPerLengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
static MoneyPerLength |
MoneyPerLength.interpolate(MoneyPerLength zero,
MoneyPerLength one,
double ratio)
Interpolate between two values.
|
static MoneyPerLength |
MoneyPerLength.max(MoneyPerLength r1,
MoneyPerLength r2)
Return the maximum value of two monetary scalars.
|
static MoneyPerLength |
MoneyPerLength.max(MoneyPerLength r1,
MoneyPerLength r2,
MoneyPerLength... rn)
Return the maximum value of more than two monetary scalars.
|
static MoneyPerLength |
MoneyPerLength.min(MoneyPerLength r1,
MoneyPerLength r2)
Return the minimum value of two monetary scalars.
|
static MoneyPerLength |
MoneyPerLength.min(MoneyPerLength r1,
MoneyPerLength r2,
MoneyPerLength... rn)
Return the minimum value of more than two monetary scalars.
|
MoneyPerLength |
Money.multiplyBy(LinearDensity v)
Calculate the multiplication of Money and LinearDensity, which results in a MoneyPerLength scalar.
|
MoneyPerLength |
LinearDensity.multiplyBy(Money v)
Calculate the multiplication of LinearDensity and Money, which results in a MoneyPerLength scalar.
|
MoneyPerLength |
Dimensionless.multiplyBy(MoneyPerLength v)
Calculate the multiplication of Dimensionless and MoneyPerLength, which results in a MoneyPerLength scalar.
|
Modifier and Type | Method and Description |
---|---|
Dimensionless |
MoneyPerLength.divideBy(MoneyPerLength v)
Calculate the division of MoneyPerLength and MoneyPerLength, which results in a Dimensionless scalar.
|
static MoneyPerLength |
MoneyPerLength.interpolate(MoneyPerLength zero,
MoneyPerLength one,
double ratio)
Interpolate between two values.
|
static MoneyPerLength |
MoneyPerLength.max(MoneyPerLength r1,
MoneyPerLength r2)
Return the maximum value of two monetary scalars.
|
static MoneyPerLength |
MoneyPerLength.max(MoneyPerLength r1,
MoneyPerLength r2,
MoneyPerLength... rn)
Return the maximum value of more than two monetary scalars.
|
static MoneyPerLength |
MoneyPerLength.max(MoneyPerLength r1,
MoneyPerLength r2,
MoneyPerLength... rn)
Return the maximum value of more than two monetary scalars.
|
static MoneyPerLength |
MoneyPerLength.min(MoneyPerLength r1,
MoneyPerLength r2)
Return the minimum value of two monetary scalars.
|
static MoneyPerLength |
MoneyPerLength.min(MoneyPerLength r1,
MoneyPerLength r2,
MoneyPerLength... rn)
Return the minimum value of more than two monetary scalars.
|
static MoneyPerLength |
MoneyPerLength.min(MoneyPerLength r1,
MoneyPerLength r2,
MoneyPerLength... rn)
Return the minimum value of more than two monetary scalars.
|
Money |
Length.multiplyBy(MoneyPerLength v)
Calculate the multiplication of Length and MoneyPerLength, which results in a Money scalar.
|
MoneyPerLength |
Dimensionless.multiplyBy(MoneyPerLength v)
Calculate the multiplication of Dimensionless and MoneyPerLength, which results in a MoneyPerLength scalar.
|
Constructor and Description |
---|
MoneyPerLength(MoneyPerLength value)
Construct MoneyPerLength scalar.
|
Modifier and Type | Method and Description |
---|---|
protected MoneyPerLength |
MutableMoneyPerLengthVector.instantiateScalar(double value,
MoneyPerLengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected MoneyPerLength |
MoneyPerLengthVector.instantiateScalar(double value,
MoneyPerLengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
MoneyPerLength[] |
MutableMoneyPerLengthVector.toArray()
Return an array of MoneyPerLength Scalars from this vector.
|
MoneyPerLength[] |
MoneyPerLengthVector.toArray()
Return an array of MoneyPerLength Scalars from this vector.
|
Constructor and Description |
---|
MoneyPerLengthVector(MoneyPerLength[] values,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerLengthVector.
|
MutableMoneyPerLengthVector(MoneyPerLength[] values,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerLengthVector.
|
Constructor and Description |
---|
MoneyPerLengthVector(List<MoneyPerLength> values,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerLengthVector.
|
MoneyPerLengthVector(SortedMap<Integer,MoneyPerLength> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerLengthVector.
|
MutableMoneyPerLengthVector(List<MoneyPerLength> values,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerLengthVector.
|
MutableMoneyPerLengthVector(SortedMap<Integer,MoneyPerLength> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerLengthVector.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.