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