| Package | Description |
|---|---|
| org.djunits.unit |
Classes for the unit system.
|
| 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 | Method and Description |
|---|---|
static FloatScalar.Rel<AnglePlaneUnit> |
AnglePlaneUnit.normalize(FloatScalar.Rel<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
static FloatScalar.Rel<AnglePlaneUnit> |
AnglePlaneUnit.normalize(FloatScalar.Rel<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
FloatScalar.Rel<U> |
MutableFloatMatrix.Rel.get(int row,
int column)
Retrieve the value stored at a specified row and column as a FloatScalar.
|
FloatScalar.Rel<U> |
FloatMatrix.Rel.get(int row,
int column)
Retrieve the value stored at a specified row and column as a FloatScalar.
|
| Constructor and Description |
|---|
Dense(FloatScalar.Rel<U>[][] values)
Construct a new Relative Dense MutableFloatMatrix.
|
Dense(FloatScalar.Rel<U>[][] values)
Construct a new Relative Dense Immutable FloatMatrix.
|
Sparse(FloatScalar.Rel<U>[][] values)
Construct a new Relative Sparse MutableFloatMatrix.
|
Sparse(FloatScalar.Rel<U>[][] values)
Construct a new Relative Sparse Immutable FloatMatrix.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FloatAcceleration
Easy access methods for the Acceleration FloatScalar, which is relative by definition.
|
static class |
FloatAnglePlane.Rel
Easy access methods for the AnglePlane FloatScalar.
|
static class |
FloatAngleSlope.Rel
Easy access methods for the AngleSlope 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.
|
static class |
FloatDimensionless.Rel
Easy access methods for the Dimensionless 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.
|
static class |
FloatLength.Rel
Easy access methods for the Length 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 |
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 |
FloatMoneyPerTime
Easy access methods for the MoneyPerTime 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.
|
class |
FloatSpeed
Easy access methods for the Speed FloatScalar, which is relative by definition.
|
static class |
FloatTemperature.Rel
Easy access methods for the Temperature FloatScalar.
|
static class |
FloatTime.Rel
Easy access methods for the Time 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 |
|---|---|
FloatScalar.Rel<U> |
FloatScalar.Rel.abs()
Set the value(s) to their absolute value.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.asin()
Set the value(s) to the arc sine of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.atan()
Set the value(s) to the arc tangent of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.cbrt()
Set the value(s) to the(ir) cube root.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.ceil()
Set the value(s) to the smallest (closest to negative infinity) value(s) that are greater than or equal to the argument
and equal to a mathematical integer.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
FloatScalar.Rel<U> |
FloatScalar.Rel.cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
static FloatScalar.Rel<SIUnit> |
FloatScalar.divide(FloatScalar.Rel<?> left,
FloatScalar.Rel<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.divideBy(float constant)
Scale the value(s) by the inverse of a factor; i.e.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
FloatScalar.Rel<U> |
FloatScalar.Rel.expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
FloatScalar.Rel<U> |
FloatScalar.Rel.floor()
Set the value(s) to the largest (closest to positive infinity) value(s) that are less than or equal to the argument and
equal to a mathematical integer.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Rel<U> zero,
FloatScalar.Rel<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
FloatScalar.Rel<U> |
FloatScalar.Rel.log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
FloatScalar.Rel<U> |
FloatScalar.Rel.log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
FloatScalar.Rel<U> |
FloatScalar.Rel.log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Abs<U> left,
FloatScalar.Abs<U> right)
Subtract two absolute values.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.minus(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static FloatScalar.Rel<SIUnit> |
FloatScalar.multiply(FloatScalar.Rel<?> left,
FloatScalar.Rel<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.multiplyBy(float constant)
Scale the value(s) by a factor.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.plus(FloatScalar.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Add a Relative value to a Relative value.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.signum()
Set the value(s) to the signum function of the value(s); zero if the argument is zero, 1.0 if the argument is greater
than zero, -1.0 if the argument is less than zero.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.sin()
Set the value(s) to the trigonometric sine of the value(s).
|
FloatScalar.Rel<U> |
FloatScalar.Rel.sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
FloatScalar.Rel<U> |
FloatScalar.Rel.sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
FloatScalar.Rel<U> |
FloatScalar.Rel.tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
FloatScalar.Rel<U> |
FloatScalar.Rel.tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
FloatScalar.Rel<U> |
FloatScalar.Rel.toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
| Modifier and Type | Method and Description |
|---|---|
int |
FloatScalar.Rel.compareTo(FloatScalar.Rel<U> o) |
static FloatScalar.Rel<SIUnit> |
FloatScalar.divide(FloatScalar.Rel<?> left,
FloatScalar.Rel<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static FloatScalar.Rel<SIUnit> |
FloatScalar.divide(FloatScalar.Rel<?> left,
FloatScalar.Rel<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
boolean |
FloatScalar.Rel.eq(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is equal to a FloatScalar.Rel<U>.
|
boolean |
FloatScalar.Rel.ge(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is greater than a FloatScalar.Rel<U>.
|
boolean |
FloatScalar.Rel.gt(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is greater than or equal to a FloatScalar.Rel<U>.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Rel<U> zero,
FloatScalar.Rel<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Rel<U> zero,
FloatScalar.Rel<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
boolean |
FloatScalar.Rel.le(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is less than or equal to a FloatScalar.Rel<U>.
|
boolean |
FloatScalar.Rel.lt(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is less than a FloatScalar.Rel<U>.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Abs<U> left,
FloatScalar.Rel<U> right)
Subtract a Relative value from an absolute value.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.minus(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.minus(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static FloatScalar.Rel<SIUnit> |
FloatScalar.multiply(FloatScalar.Rel<?> left,
FloatScalar.Rel<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
static FloatScalar.Rel<SIUnit> |
FloatScalar.multiply(FloatScalar.Rel<?> left,
FloatScalar.Rel<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
boolean |
FloatScalar.Rel.ne(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is not equal to a FloatScalar.Rel<U>.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Abs<U> left,
FloatScalar.Rel<U> right)
Add a Relative value to an Absolute value.
|
FloatScalar.Abs<U> |
FloatScalar.Abs.plus(FloatScalar.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.plus(FloatScalar.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Rel<U> left,
FloatScalar.Abs<U> right)
Add an Absolute value to a Relative value.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Add a Relative value to a Relative value.
|
static <U extends Unit<U>> |
FloatScalar.plus(FloatScalar.Rel<U> left,
FloatScalar.Rel<U> right)
Add a Relative value to a Relative value.
|
| Constructor and Description |
|---|
FloatAcceleration(FloatScalar.Rel<AccelerationUnit> value)
Construct FloatAcceleration scalar.
|
FloatAngleSolid(FloatScalar.Rel<AngleSolidUnit> value)
Construct FloatAngleSolid scalar.
|
FloatArea(FloatScalar.Rel<AreaUnit> value)
Construct FloatArea scalar.
|
FloatDensity(FloatScalar.Rel<DensityUnit> value)
Construct FloatDensity scalar.
|
FloatElectricalCharge(FloatScalar.Rel<ElectricalChargeUnit> value)
Construct FloatElectricalCharge scalar.
|
FloatElectricalCurrent(FloatScalar.Rel<ElectricalCurrentUnit> value)
Construct FloatElectricalCurrent scalar.
|
FloatElectricalPotential(FloatScalar.Rel<ElectricalPotentialUnit> value)
Construct FloatElectricalPotential scalar.
|
FloatElectricalResistance(FloatScalar.Rel<ElectricalResistanceUnit> value)
Construct FloatElectricalResistance scalar.
|
FloatEnergy(FloatScalar.Rel<EnergyUnit> value)
Construct FloatEnergy scalar.
|
FloatFlowMass(FloatScalar.Rel<FlowMassUnit> value)
Construct FloatFlowMass scalar.
|
FloatFlowVolume(FloatScalar.Rel<FlowVolumeUnit> value)
Construct FloatFlowVolume scalar.
|
FloatForce(FloatScalar.Rel<ForceUnit> value)
Construct FloatForce scalar.
|
FloatFrequency(FloatScalar.Rel<FrequencyUnit> value)
Construct FloatFrequency scalar.
|
FloatLinearDensity(FloatScalar.Rel<LinearDensityUnit> value)
Construct FloatLinearDensity scalar.
|
FloatMass(FloatScalar.Rel<MassUnit> value)
Construct FloatMass scalar.
|
FloatMoney(FloatScalar.Rel<MoneyUnit> value)
Construct FloatMoney scalar.
|
FloatMoneyPerArea(FloatScalar.Rel<MoneyPerAreaUnit> value)
Construct FloatMoneyPerArea scalar.
|
FloatMoneyPerEnergy(FloatScalar.Rel<MoneyPerEnergyUnit> value)
Construct FloatMoneyPerEnergy scalar.
|
FloatMoneyPerLength(FloatScalar.Rel<MoneyPerLengthUnit> value)
Construct FloatMoneyPerLength scalar.
|
FloatMoneyPerMass(FloatScalar.Rel<MoneyPerMassUnit> value)
Construct FloatMoneyPerMass scalar.
|
FloatMoneyPerTime(FloatScalar.Rel<MoneyPerTimeUnit> value)
Construct FloatMoneyPerTime scalar.
|
FloatMoneyPerVolume(FloatScalar.Rel<MoneyPerVolumeUnit> value)
Construct FloatMoneyPerVolume scalar.
|
FloatPower(FloatScalar.Rel<PowerUnit> value)
Construct FloatPower scalar.
|
FloatPressure(FloatScalar.Rel<PressureUnit> value)
Construct FloatPressure scalar.
|
FloatSpeed(FloatScalar.Rel<SpeedUnit> value)
Construct FloatSpeed scalar.
|
FloatTorque(FloatScalar.Rel<TorqueUnit> value)
Construct FloatTorque scalar.
|
FloatVolume(FloatScalar.Rel<VolumeUnit> value)
Construct FloatVolume scalar.
|
Rel(FloatScalar.Rel<AnglePlaneUnit> value)
Construct FloatAnglePlane.Rel scalar.
|
Rel(FloatScalar.Rel<AngleSlopeUnit> value)
Construct FloatAngleSlope.Rel scalar.
|
Rel(FloatScalar.Rel<DimensionlessUnit> value)
Construct FloatDimensionless.Rel scalar.
|
Rel(FloatScalar.Rel<LengthUnit> value)
Construct FloatLength.Rel scalar.
|
Rel(FloatScalar.Rel<TemperatureUnit> value)
Construct FloatTemperature.Rel scalar.
|
Rel(FloatScalar.Rel<TimeUnit> value)
Construct FloatTime.Rel scalar.
|
Rel(FloatScalar.Rel<U> value)
Construct a new Relative Immutable FloatScalar from an existing Relative Immutable FloatScalar.
|
| Modifier and Type | Method and Description |
|---|---|
FloatScalar.Rel<U> |
MutableFloatVector.Rel.get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
FloatScalar.Rel<U> |
FloatVector.Rel.get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
| Modifier and Type | Method and Description |
|---|---|
protected FloatVectorDataSparse |
FloatVector.initializeSparseMR(SortedMap<Integer,FloatScalar.Rel<U>> values,
int length)
Import the values from a sparse map of integers and values.
|
| Constructor and Description |
|---|
Dense(FloatScalar.Rel<U>[] values)
Construct a new Relative Dense Mutable FloatVector.
|
Dense(FloatScalar.Rel<U>[] values)
Construct a new Relative Dense Immutable FloatVector.
|
Sparse(FloatScalar.Rel<U>[] values)
Construct a new Relative Sparse Mutable FloatVector.
|
Sparse(FloatScalar.Rel<U>[] values)
Construct a new Relative Sparse Immutable FloatVector.
|
| Constructor and Description |
|---|
Dense(List<FloatScalar.Rel<AccelerationUnit>> values)
Construct a new Relative Dense Immutable FloatVector.
|
Dense(List<FloatScalar.Rel<AccelerationUnit>> values)
Construct a new Relative Dense Immutable FloatVector.
|
Dense(List<FloatScalar.Rel<LengthUnit>> values)
Construct a new Relative Dense Immutable FloatVector.
|
Dense(List<FloatScalar.Rel<LengthUnit>> values)
Construct a new Relative Dense Immutable FloatVector.
|
Dense(List<FloatScalar.Rel<U>> values)
Construct a new Relative Dense Mutable FloatVector.
|
Dense(List<FloatScalar.Rel<U>> values)
Construct a new Relative Dense Immutable FloatVector.
|
Sparse(SortedMap<Integer,FloatScalar.Rel<AccelerationUnit>> values,
int length)
Construct a new Sparse Immutable Acceleration Vector.
|
Sparse(SortedMap<Integer,FloatScalar.Rel<AccelerationUnit>> values,
int length)
Construct a new Sparse Immutable Acceleration Vector.
|
Sparse(SortedMap<Integer,FloatScalar.Rel<LengthUnit>> values,
int length)
Construct a new Sparse Immutable FloatLength Vector.
|
Sparse(SortedMap<Integer,FloatScalar.Rel<LengthUnit>> values,
int length)
Construct a new Sparse Immutable FloatLength Vector.
|
Sparse(SortedMap<Integer,FloatScalar.Rel<U>> values,
int length)
Construct a new Relative Sparse Mutable FloatVector.
|
Sparse(SortedMap<Integer,FloatScalar.Rel<U>> values,
int length)
Construct a new Relative Sparse Immutable FloatVector.
|
Copyright © 2015 Delft University of Technology. All rights reserved.