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 | Class and Description |
---|---|
(package private) class |
AbstractDoubleMatrixRel<U extends Unit<U>,R extends AbstractDoubleMatrixRel<U,R,MR,S>,MR extends AbstractMutableDoubleMatrixRel<U,R,MR,S>,S extends AbstractDoubleScalarRel<U,S>>
Relative Immutable typed matrix.
|
(package private) class |
AbstractMutableDoubleMatrixRel<U extends Unit<U>,R extends AbstractDoubleMatrixRel<U,R,MR,S>,MR extends AbstractMutableDoubleMatrixRel<U,R,MR,S>,S extends AbstractDoubleScalarRel<U,S>>
Relative Mutable typed Matrix.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleMatrixRel.checkUnit(S[][] dsArray)
Check that a provided array can be used to create some descendant of a DoubleMatrix, and return the Unit.
|
protected static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleMatrixRel.ensureRectangularAndNonEmpty(S[][] values)
Check that a 2D array of DoubleScalar<?> is rectangular; i.e.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleMatrixRel.checkUnit(S[][] dsArray)
Check that a provided array can be used to create some descendant of a DoubleMatrix, and return the Unit.
|
protected static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleMatrixRel.ensureRectangularAndNonEmpty(S[][] values)
Check that a 2D array of DoubleScalar<?> is rectangular; i.e.
|
Constructor and Description |
---|
AbstractDoubleMatrixRel(S[][] values,
StorageType storageType)
Construct a new Relative Immutable DoubleMatrix.
|
AbstractMutableDoubleMatrixRel(S[][] values,
StorageType storageType)
Construct a new Relative Mutable DoubleMatrix.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDoubleScalarAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>>
The typed, abstract DoubleScalarAbs class that forms the basis of all DoubleScalar definitions and extensions.
Note: A relative scalar class can implement the toAbs() method if it has an absolute equivalent. |
class |
AbstractDoubleScalarRel<U extends Unit<U>,R extends AbstractDoubleScalarRel<U,R>>
The typed, abstract DoubleScalarRel class that forms the basis of all DoubleScalar definitions and extensions.
Note: A relative scalar class can implement the toAbs() method if it has an absolute equivalent. |
Modifier and Type | Class and Description |
---|---|
class |
Acceleration
Easy access methods for the Acceleration DoubleScalar, which is relative by definition.
|
class |
Angle
Easy access methods for the Relative Angle DoubleScalar.
|
class |
AngleSolid
Easy access methods for the AngleSolid DoubleScalar, which is relative by definition.
|
class |
Area
Easy access methods for the Area DoubleScalar, which is relative by definition.
|
class |
Density
Easy access methods for the Density DoubleScalar, which is relative by definition.
|
class |
Dimensionless
Easy access methods for the Dimensionless DoubleScalar, which is relative by definition.
|
static class |
DoubleScalar.Rel<U extends Unit<U>>
Relative Immutable DoubleScalar.
|
class |
Duration
Easy access methods for the Relative Duration DoubleScalar.
|
class |
ElectricalCharge
Easy access methods for the ElectricalCharge DoubleScalar, which is relative by definition.
|
class |
ElectricalCurrent
Easy access methods for the ElectricalCurrent DoubleScalar, which is relative by definition.
|
class |
ElectricalPotential
Easy access methods for the ElectricalPotential DoubleScalar, which is relative by definition.
|
class |
ElectricalResistance
Easy access methods for the ElectricalResistance DoubleScalar, which is relative by definition.
|
class |
Energy
Easy access methods for the Energy DoubleScalar, which is relative by definition.
|
class |
FlowMass
Easy access methods for the FlowMass DoubleScalar, which is relative by definition.
|
class |
FlowVolume
Easy access methods for the FlowVolume DoubleScalar, which is relative by definition.
|
class |
Force
Easy access methods for the Force DoubleScalar, which is relative by definition.
|
class |
Frequency
Easy access methods for the Frequency DoubleScalar, which is relative by definition.
|
class |
Length
Easy access methods for the Relative Length DoubleScalar.
|
class |
LinearDensity
Easy access methods for the LinearDensity DoubleScalar, which is relative by definition.
|
class |
Mass
Easy access methods for the Mass DoubleScalar, which is relative by definition.
|
class |
Money
Easy access methods for the Money DoubleScalar, which is relative by definition.
|
class |
MoneyPerArea
Easy access methods for the MoneyPerArea DoubleScalar, which is relative by definition.
|
class |
MoneyPerDuration
Easy access methods for the MoneyPerDuration DoubleScalar, which is relative by definition.
|
class |
MoneyPerEnergy
Easy access methods for the MoneyPerEnergy DoubleScalar, which is relative by definition.
|
class |
MoneyPerLength
Easy access methods for the MoneyPerLength DoubleScalar, which is relative by definition.
|
class |
MoneyPerMass
Easy access methods for the MoneyPerMass DoubleScalar, which is relative by definition.
|
class |
MoneyPerVolume
Easy access methods for the MoneyPerVolume DoubleScalar, which is relative by definition.
|
class |
Power
Easy access methods for the Power DoubleScalar, which is relative by definition.
|
class |
Pressure
Easy access methods for the Pressure DoubleScalar, which is relative by definition.
|
class |
Speed
Easy access methods for the Speed DoubleScalar, which is relative by definition.
|
class |
Temperature
Easy access methods for the Relative Temperature DoubleScalar.
|
class |
Torque
Easy access methods for the Torque DoubleScalar, which is relative by definition.
|
class |
Volume
Easy access methods for the Volume DoubleScalar, which is relative by definition.
|
Modifier and Type | Method and Description |
---|---|
static <AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>> |
AbstractDoubleScalarAbs.interpolate(A zero,
A one,
double ratio)
Interpolate between two values.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>> |
DoubleScalar.interpolate(A zero,
A one,
double ratio)
Interpolate between two values.
|
static <U extends Unit<U>,R extends AbstractDoubleScalarRel<U,R>> |
DoubleScalar.interpolate(R zero,
R one,
double ratio)
Interpolate between two values.
|
static <U extends Unit<U>,R extends AbstractDoubleScalarRel<U,R>> |
AbstractDoubleScalarRel.interpolate(R zero,
R one,
double ratio)
Interpolate between two values.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>> |
DoubleScalar.minus(A left,
A right)
Subtract two absolute values.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>> |
DoubleScalar.minus(A left,
R right)
Subtract a Relative value from an absolute value.
|
static <U extends Unit<U>,R extends AbstractDoubleScalarRel<U,R>> |
DoubleScalar.minus(R left,
R right)
Subtract a relative value from a relative value.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>> |
DoubleScalar.plus(A left,
R right)
Add a Relative value to an Absolute value.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>> |
DoubleScalar.plus(R left,
A right)
Add an Absolute value to a Relative value.
|
static <U extends Unit<U>,R extends AbstractDoubleScalarRel<U,R>> |
DoubleScalar.plus(R left,
R right)
Add a Relative value to a Relative value.
|
Modifier and Type | Method and Description |
---|---|
static DoubleScalar.Rel<SIUnit> |
DoubleScalar.divide(AbstractDoubleScalarRel<?,?> left,
AbstractDoubleScalarRel<?,?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static DoubleScalar.Rel<SIUnit> |
DoubleScalar.divide(AbstractDoubleScalarRel<?,?> left,
AbstractDoubleScalarRel<?,?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static DoubleScalar.Rel<SIUnit> |
DoubleScalar.multiply(AbstractDoubleScalarRel<?,?> left,
AbstractDoubleScalarRel<?,?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
static DoubleScalar.Rel<SIUnit> |
DoubleScalar.multiply(AbstractDoubleScalarRel<?,?> left,
AbstractDoubleScalarRel<?,?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractDoubleVectorRel<U extends Unit<U>,R extends AbstractDoubleVectorRel<U,R,MR,S>,MR extends AbstractMutableDoubleVectorRel<U,R,MR,S>,S extends AbstractDoubleScalarRel<U,S>>
Relative Immutable typed vector.
|
(package private) class |
AbstractMutableDoubleVectorRel<U extends Unit<U>,R extends AbstractDoubleVectorRel<U,R,MR,S>,MR extends AbstractMutableDoubleVectorRel<U,R,MR,S>,S extends AbstractDoubleScalarRel<U,S>>
Relative Mutable typed Vector.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleVectorRel.checkUnit(AbstractDoubleScalarRel<U,S>[] dsArray)
Check that a provided array can be used to create some descendant of a DoubleVector, and return the Unit.
|
(package private) static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleVectorRel.checkUnit(List<S> dsList)
Check that a provided list can be used to create some descendant of a DoubleVector, and return the Unit.
|
(package private) static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleVectorRel.checkUnit(SortedMap<Integer,S> dsMap)
Check that a provided Map can be used to create some descendant of a DoubleVector.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleVectorRel.checkUnit(AbstractDoubleScalarRel<U,S>[] dsArray)
Check that a provided array can be used to create some descendant of a DoubleVector, and return the Unit.
|
Constructor and Description |
---|
AbstractDoubleVectorRel(S[] values,
StorageType storageType)
Construct a new Relative Immutable DoubleVector.
|
AbstractMutableDoubleVectorRel(S[] values,
StorageType storageType)
Construct a new Relative Mutable DoubleVector.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.