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 |
---|
FloatMatrix.Rel.Dense(FloatScalar.Rel<U>[][] values)
Construct a new Relative Dense Immutable FloatMatrix.
|
FloatMatrix.Rel.Sparse(FloatScalar.Rel<U>[][] values)
Construct a new Relative Sparse Immutable FloatMatrix.
|
MutableFloatMatrix.Rel.Dense(FloatScalar.Rel<U>[][] values)
Construct a new Relative Dense MutableFloatMatrix.
|
MutableFloatMatrix.Rel.Sparse(FloatScalar.Rel<U>[][] values)
Construct a new Relative Sparse MutableFloatMatrix.
|
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.
|
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.
|
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.
|
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 |
---|
FloatScalar.Rel(FloatScalar.Rel<U> value)
Construct a new Relative Immutable FloatScalar from an existing Relative Immutable FloatScalar.
|
MutableFloatScalar.Rel(FloatScalar.Rel<U> value)
Construct a new Relative MutableFloatScalar 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 |
---|
FloatVector.Rel.Dense(FloatScalar.Rel<U>[] values)
Construct a new Relative Dense Immutable FloatVector.
|
FloatVector.Rel.Sparse(FloatScalar.Rel<U>[] values)
Construct a new Relative Sparse Immutable FloatVector.
|
MutableFloatVector.Rel.Dense(FloatScalar.Rel<U>[] values)
Construct a new Relative Dense MutableFloatVector.
|
MutableFloatVector.Rel.Sparse(FloatScalar.Rel<U>[] values)
Construct a new Relative Sparse MutableFloatVector.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.