Package | Description |
---|---|
org.djunits.value.vfloat.matrix |
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
org.djunits.value.vfloat.scalar |
Float Scalar storage and calculations with units, absolute/relative.
|
org.djunits.value.vfloat.vector |
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractFloatMatrixRel<U extends Unit<U>,R extends AbstractFloatMatrixRel<U,R,MR,S>,MR extends AbstractMutableFloatMatrixRel<U,R,MR,S>,S extends AbstractFloatScalarRel<U,S>>
Relative Immutable typed matrix.
|
(package private) class |
AbstractMutableFloatMatrixRel<U extends Unit<U>,R extends AbstractFloatMatrixRel<U,R,MR,S>,MR extends AbstractMutableFloatMatrixRel<U,R,MR,S>,S extends AbstractFloatScalarRel<U,S>>
Relative Mutable typed Matrix.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatMatrixRel.checkUnit(S[][] dsArray)
Check that a provided array can be used to create some descendant of a FloatMatrix, and return the Unit.
|
protected static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatMatrixRel.ensureRectangularAndNonEmpty(S[][] values)
Check that a 2D array of FloatScalar<?> is rectangular; i.e.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatMatrixRel.checkUnit(S[][] dsArray)
Check that a provided array can be used to create some descendant of a FloatMatrix, and return the Unit.
|
protected static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatMatrixRel.ensureRectangularAndNonEmpty(S[][] values)
Check that a 2D array of FloatScalar<?> is rectangular; i.e.
|
Constructor and Description |
---|
AbstractFloatMatrixRel(S[][] values,
StorageType storageType)
Construct a new Relative Immutable FloatMatrix.
|
AbstractMutableFloatMatrixRel(S[][] values,
StorageType storageType)
Construct a new Relative Mutable FloatMatrix.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFloatScalarAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractFloatScalarAbs<AU,A,RU,R>,RU extends Unit<RU>,R extends AbstractFloatScalarRel<RU,R>>
The typed, abstract FloatScalarAbs class that forms the basis of all FloatScalar definitions and extensions.
Note: A relative scalar class can implement the toAbs() method if it has an absolute equivalent. |
class |
AbstractFloatScalarRel<U extends Unit<U>,R extends AbstractFloatScalarRel<U,R>>
The typed, abstract FloatScalarRel class that forms the basis of all FloatScalar 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 |
FloatAcceleration
Easy access methods for the Acceleration FloatScalar, which is relative by definition.
|
class |
FloatAngle
Easy access methods for the %Type% FloatScalar.
|
class |
FloatAngleSolid
Easy access methods for the AngleSolid FloatScalar, which is relative by definition.
|
class |
FloatArea
Easy access methods for the Area FloatScalar, which is relative by definition.
|
class |
FloatDensity
Easy access methods for the Density FloatScalar, which is relative by definition.
|
class |
FloatDimensionless
Easy access methods for the Dimensionless FloatScalar, which is relative by definition.
|
class |
FloatDuration
Easy access methods for the %Type% FloatScalar.
|
class |
FloatElectricalCharge
Easy access methods for the ElectricalCharge FloatScalar, which is relative by definition.
|
class |
FloatElectricalCurrent
Easy access methods for the ElectricalCurrent FloatScalar, which is relative by definition.
|
class |
FloatElectricalPotential
Easy access methods for the ElectricalPotential FloatScalar, which is relative by definition.
|
class |
FloatElectricalResistance
Easy access methods for the ElectricalResistance FloatScalar, which is relative by definition.
|
class |
FloatEnergy
Easy access methods for the Energy FloatScalar, which is relative by definition.
|
class |
FloatFlowMass
Easy access methods for the FlowMass FloatScalar, which is relative by definition.
|
class |
FloatFlowVolume
Easy access methods for the FlowVolume FloatScalar, which is relative by definition.
|
class |
FloatForce
Easy access methods for the Force FloatScalar, which is relative by definition.
|
class |
FloatFrequency
Easy access methods for the Frequency FloatScalar, which is relative by definition.
|
class |
FloatLength
Easy access methods for the %Type% FloatScalar.
|
class |
FloatLinearDensity
Easy access methods for the LinearDensity FloatScalar, which is relative by definition.
|
class |
FloatMass
Easy access methods for the Mass FloatScalar, which is relative by definition.
|
class |
FloatMoney
Easy access methods for the Money FloatScalar, which is relative by definition.
|
class |
FloatMoneyPerArea
Easy access methods for the MoneyPerArea FloatScalar, which is relative by definition.
|
class |
FloatMoneyPerDuration
Easy access methods for the MoneyPerDuration FloatScalar, which is relative by definition.
|
class |
FloatMoneyPerEnergy
Easy access methods for the MoneyPerEnergy FloatScalar, which is relative by definition.
|
class |
FloatMoneyPerLength
Easy access methods for the MoneyPerLength FloatScalar, which is relative by definition.
|
class |
FloatMoneyPerMass
Easy access methods for the MoneyPerMass FloatScalar, which is relative by definition.
|
class |
FloatMoneyPerVolume
Easy access methods for the MoneyPerVolume FloatScalar, which is relative by definition.
|
class |
FloatPower
Easy access methods for the Power FloatScalar, which is relative by definition.
|
class |
FloatPressure
Easy access methods for the Pressure FloatScalar, which is relative by definition.
|
static class |
FloatScalar.Rel<U extends Unit<U>>
Relative Immutable FloatScalar.
|
class |
FloatSpeed
Easy access methods for the Speed FloatScalar, which is relative by definition.
|
class |
FloatTemperature
Easy access methods for the %Type% FloatScalar.
|
class |
FloatTorque
Easy access methods for the Torque FloatScalar, which is relative by definition.
|
class |
FloatVolume
Easy access methods for the Volume FloatScalar, which is relative by definition.
|
Modifier and Type | Method and Description |
---|---|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractFloatScalarRel<RU,R>,A extends AbstractFloatScalarAbs<AU,A,RU,R>> |
FloatScalar.interpolate(A zero,
A one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>,R extends AbstractFloatScalarRel<U,R>> |
FloatScalar.interpolate(R zero,
R one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractFloatScalarRel<RU,R>,A extends AbstractFloatScalarAbs<AU,A,RU,R>> |
FloatScalar.minus(A left,
A right)
Subtract two absolute values.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractFloatScalarRel<RU,R>,A extends AbstractFloatScalarAbs<AU,A,RU,R>> |
FloatScalar.minus(A left,
R right)
Subtract a Relative value from an absolute value.
|
static <U extends Unit<U>,R extends AbstractFloatScalarRel<U,R>> |
FloatScalar.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 AbstractFloatScalarRel<RU,R>,A extends AbstractFloatScalarAbs<AU,A,RU,R>> |
FloatScalar.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 AbstractFloatScalarRel<RU,R>,A extends AbstractFloatScalarAbs<AU,A,RU,R>> |
FloatScalar.plus(R left,
A right)
Add an Absolute value to a Relative value.
|
static <U extends Unit<U>,R extends AbstractFloatScalarRel<U,R>> |
FloatScalar.plus(R left,
R right)
Add a Relative value to a Relative value.
|
Modifier and Type | Method and Description |
---|---|
static FloatScalar.Rel<SIUnit> |
FloatScalar.divide(AbstractFloatScalarRel<?,?> left,
AbstractFloatScalarRel<?,?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static FloatScalar.Rel<SIUnit> |
FloatScalar.divide(AbstractFloatScalarRel<?,?> left,
AbstractFloatScalarRel<?,?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static FloatScalar.Rel<SIUnit> |
FloatScalar.multiply(AbstractFloatScalarRel<?,?> left,
AbstractFloatScalarRel<?,?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
static FloatScalar.Rel<SIUnit> |
FloatScalar.multiply(AbstractFloatScalarRel<?,?> left,
AbstractFloatScalarRel<?,?> 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 |
AbstractFloatVectorRel<U extends Unit<U>,R extends AbstractFloatVectorRel<U,R,MR,S>,MR extends AbstractMutableFloatVectorRel<U,R,MR,S>,S extends AbstractFloatScalarRel<U,S>>
Relative Immutable typed vector.
|
(package private) class |
AbstractMutableFloatVectorRel<U extends Unit<U>,R extends AbstractFloatVectorRel<U,R,MR,S>,MR extends AbstractMutableFloatVectorRel<U,R,MR,S>,S extends AbstractFloatScalarRel<U,S>>
Relative Mutable typed Vector.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatVectorRel.checkUnit(AbstractFloatScalarRel<U,S>[] dsArray)
Check that a provided array can be used to create some descendant of a FloatVector, and return the Unit.
|
(package private) static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatVectorRel.checkUnit(List<S> dsList)
Check that a provided list can be used to create some descendant of a FloatVector, and return the Unit.
|
(package private) static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatVectorRel.checkUnit(SortedMap<Integer,S> dsMap)
Check that a provided Map can be used to create some descendant of a FloatVector.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatVectorRel.checkUnit(AbstractFloatScalarRel<U,S>[] dsArray)
Check that a provided array can be used to create some descendant of a FloatVector, and return the Unit.
|
Constructor and Description |
---|
AbstractFloatVectorRel(S[] values,
StorageType storageType)
Construct a new Relative Immutable FloatVector.
|
AbstractMutableFloatVectorRel(S[] values,
StorageType storageType)
Construct a new Relative Mutable FloatVector.
|
Copyright © 2015–2018 Delft University of Technology. All rights reserved.