Package | Description |
---|---|
org.djunits.value |
Base classes for unit-based 0-d (Scalar), 1-d (Vector) and 2-d (Matrix) values.
|
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<AngleUnit> |
AngleUtil.normalize(FloatScalar.Rel<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
Modifier and Type | Method and Description |
---|---|
static FloatScalar.Rel<AngleUnit> |
AngleUtil.normalize(FloatScalar.Rel<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
Modifier and Type | Method and Description |
---|---|
protected FloatScalar.Rel<U> |
MutableFloatMatrix.Rel.instantiateScalar(float value,
U unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatScalar.Rel<U> |
FloatMatrix.Rel.instantiateScalar(float value,
U unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
Constructor and Description |
---|
Rel(FloatScalar.Rel<U>[][] values,
StorageType storageType)
Construct a new Relative Mutable FloatMatrix.
|
Rel(FloatScalar.Rel<U>[][] values,
StorageType storageType)
Construct a new Relative Immutable FloatMatrix.
|
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.
|
FloatScalar.Rel<RU> |
FloatScalar.Abs.instantiateRel(float value,
RU unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
FloatScalar.Rel<U> |
FloatScalar.Rel.instantiateRel(float value,
U unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
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 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 | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
Rel(FloatScalar.Rel<U> value)
Construct a new Relative Immutable FloatScalar from an existing Relative Immutable FloatScalar.
|
Modifier and Type | Method and Description |
---|---|
protected FloatScalar.Rel<U> |
MutableFloatVector.Rel.instantiateScalar(float value,
U unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
protected FloatScalar.Rel<U> |
FloatVector.Rel.instantiateScalar(float value,
U unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
Constructor and Description |
---|
Rel(FloatScalar.Rel<U>[] values,
StorageType storageType)
Construct a new Relative Mutable FloatVector.
|
Rel(FloatScalar.Rel<U>[] values,
StorageType storageType)
Construct a new Relative Mutable FloatVector.
|
Constructor and Description |
---|
Rel(List<FloatScalar.Rel<U>> values,
StorageType storageType)
Construct a new Relative Mutable FloatVector.
|
Rel(List<FloatScalar.Rel<U>> values,
StorageType storageType)
Construct a new Relative Mutable FloatVector.
|
Rel(SortedMap<Integer,FloatScalar.Rel<U>> values,
int length,
StorageType storageType)
Construct a new Relative Mutable FloatVector.
|
Rel(SortedMap<Integer,FloatScalar.Rel<U>> values,
int length,
StorageType storageType)
Construct a new Relative Mutable FloatVector.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.