| Package | Description |
|---|---|
| org.opentrafficsim.core.value.vfloat.matrix |
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
| org.opentrafficsim.core.value.vfloat.scalar |
Float Scalar storage and calculations with units, absolute/relative.
|
| org.opentrafficsim.core.value.vfloat.vector |
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| 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 | Method and Description |
|---|---|
FloatScalar.Rel<U> |
FloatScalar.Rel.copy()
Create a deep copy of this Value.
|
FloatScalar.Rel<U> |
DistDiscreteFloatScalar.Rel.draw() |
FloatScalar.Rel<U> |
DistContinuousFloatScalar.Rel.draw() |
FloatScalar.Rel<U> |
MutableFloatScalar.Rel.immutable()
Make (immutable) FloatScalar equivalent for any type of MutableFloatScalar.
|
| Modifier and Type | Method and Description |
|---|---|
int |
FloatScalar.Rel.compareTo(FloatScalar.Rel<U> o) |
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.decrementBy(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
MutableFloatScalar.Rel<U> |
MutableFloatScalar.Rel.decrementBy(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
protected MutableFloatScalar<U> |
MutableFloatScalar.decrementByImpl(FloatScalar.Rel<U> rel)
Decrement the value of this Relative FloatScalar from the value of this MutableFloatScalar.
|
static MutableFloatScalar.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 MutableFloatScalar.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 |
MutableFloatScalar.Rel.eq(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is equal to a FloatScalar.Rel<U>.
|
boolean |
FloatScalar.Rel.eq(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is equal to a FloatScalar.Rel<U>.
|
boolean |
MutableFloatScalar.Rel.ge(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is greater than 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 |
MutableFloatScalar.Rel.gt(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is greater than or equal to 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>.
|
MutableFloatScalar.Abs<U> |
MutableFloatScalar.Abs.incrementBy(FloatScalar.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
MutableFloatScalar.Rel<U> |
MutableFloatScalar.Rel.incrementBy(FloatScalar.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
protected MutableFloatScalar<U> |
MutableFloatScalar.incrementByImpl(FloatScalar.Rel<U> rel)
Increment the value in this MutableFloatScalar by the value in a Relative FloatScalar.
|
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 |
MutableFloatScalar.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.le(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is less than or equal to a FloatScalar.Rel<U>.
|
boolean |
MutableFloatScalar.Rel.lt(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is less than 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.
|
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 MutableFloatScalar.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 MutableFloatScalar.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 |
MutableFloatScalar.Rel.ne(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is not equal to a FloatScalar.Rel<U>.
|
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.
|
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 |
|---|
Rel(FloatScalar.Rel<U> value)
Construct a new Relative MutableFloatScalar from an existing Relative Immutable FloatScalar.
|
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.
|
| Constructor and Description |
|---|
Dense(FloatScalar.Rel<U>[] values)
Construct a new Relative Dense MutableFloatVector.
|
Dense(FloatScalar.Rel<U>[] values)
Construct a new Relative Dense Immutable FloatVector.
|
Sparse(FloatScalar.Rel<U>[] values)
Construct a new Relative Sparse MutableFloatVector.
|
Sparse(FloatScalar.Rel<U>[] values)
Construct a new Relative Sparse Immutable FloatVector.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.