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 | Method and Description |
---|---|
protected FloatPosition |
MutableFloatPositionMatrix.instantiateScalar(float value,
PositionUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
protected FloatPosition |
FloatPositionMatrix.instantiateScalar(float value,
PositionUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
Constructor and Description |
---|
FloatPositionMatrix(FloatPosition[][] values,
StorageType storageType)
Construct a new Absolute Immutable FloatPositionMatrix.
|
MutableFloatPositionMatrix(FloatPosition[][] values,
StorageType storageType)
Construct a new Absolute Mutable FloatPositionMatrix.
|
Modifier and Type | Field and Description |
---|---|
static FloatPosition |
FloatPosition.ZERO
constant with value zero.
|
Modifier and Type | Method and Description |
---|---|
static FloatPosition |
FloatPosition.createSI(float value)
Construct FloatPosition scalar.
|
FloatPosition |
FloatPosition.instantiateAbs(float value,
PositionUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
FloatPosition |
FloatLength.instantiateAbs(float value,
PositionUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
static FloatPosition |
FloatPosition.interpolate(FloatPosition zero,
FloatPosition one,
float ratio)
Interpolate between two values.
|
static FloatPosition |
FloatPosition.max(FloatPosition a1,
FloatPosition a2)
Return the maximum value of two absolute scalars.
|
static FloatPosition |
FloatPosition.max(FloatPosition a1,
FloatPosition a2,
FloatPosition... an)
Return the maximum value of more than two absolute scalars.
|
static FloatPosition |
FloatPosition.min(FloatPosition a1,
FloatPosition a2)
Return the minimum value of two absolute scalars.
|
static FloatPosition |
FloatPosition.min(FloatPosition a1,
FloatPosition a2,
FloatPosition... an)
Return the minimum value of more than two absolute scalars.
|
FloatPosition |
FloatLength.plus(FloatPosition v)
Relative scalar plus Absolute scalar = Absolute scalar.
|
Modifier and Type | Method and Description |
---|---|
static FloatPosition |
FloatPosition.interpolate(FloatPosition zero,
FloatPosition one,
float ratio)
Interpolate between two values.
|
static FloatPosition |
FloatPosition.max(FloatPosition a1,
FloatPosition a2)
Return the maximum value of two absolute scalars.
|
static FloatPosition |
FloatPosition.max(FloatPosition a1,
FloatPosition a2,
FloatPosition... an)
Return the maximum value of more than two absolute scalars.
|
static FloatPosition |
FloatPosition.max(FloatPosition a1,
FloatPosition a2,
FloatPosition... an)
Return the maximum value of more than two absolute scalars.
|
static FloatPosition |
FloatPosition.min(FloatPosition a1,
FloatPosition a2)
Return the minimum value of two absolute scalars.
|
static FloatPosition |
FloatPosition.min(FloatPosition a1,
FloatPosition a2,
FloatPosition... an)
Return the minimum value of more than two absolute scalars.
|
static FloatPosition |
FloatPosition.min(FloatPosition a1,
FloatPosition a2,
FloatPosition... an)
Return the minimum value of more than two absolute scalars.
|
FloatPosition |
FloatLength.plus(FloatPosition v)
Relative scalar plus Absolute scalar = Absolute scalar.
|
Constructor and Description |
---|
FloatPosition(FloatPosition value)
Construct FloatPosition scalar.
|
Modifier and Type | Method and Description |
---|---|
protected FloatPosition |
MutableFloatPositionVector.instantiateScalar(float value,
PositionUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
protected FloatPosition |
FloatPositionVector.instantiateScalar(float value,
PositionUnit unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
FloatPosition[] |
MutableFloatPositionVector.toArray()
Return an array of FloatPosition Scalars from this vector.
|
FloatPosition[] |
FloatPositionVector.toArray()
Return an array of FloatPosition Scalars from this vector.
|
Constructor and Description |
---|
FloatPositionVector(FloatPosition[] values,
StorageType storageType)
Construct a new Absolute Immutable FloatPositionVector.
|
MutableFloatPositionVector(FloatPosition[] values,
StorageType storageType)
Construct a new Absolute Mutable FloatPositionVector.
|
Constructor and Description |
---|
FloatPositionVector(List<FloatPosition> values,
StorageType storageType)
Construct a new Absolute Immutable FloatPositionVector.
|
FloatPositionVector(SortedMap<Integer,FloatPosition> values,
int length,
StorageType storageType)
Construct a new Absolute Immutable FloatPositionVector.
|
MutableFloatPositionVector(List<FloatPosition> values,
StorageType storageType)
Construct a new Absolute Mutable FloatPositionVector.
|
MutableFloatPositionVector(SortedMap<Integer,FloatPosition> values,
int length,
StorageType storageType)
Construct a new Absolute Mutable FloatPositionVector.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.