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.Abs<U> |
MutableFloatMatrix.Abs.get(int row,
int column)
Retrieve the value stored at a specified row and column as a FloatScalar.
|
FloatScalar.Abs<U> |
FloatMatrix.Abs.get(int row,
int column)
Retrieve the value stored at a specified row and column as a FloatScalar.
|
Constructor and Description |
---|
FloatMatrix.Abs.Dense(FloatScalar.Abs<U>[][] values)
Construct a new Absolute Dense Immutable FloatMatrix.
|
FloatMatrix.Abs.Sparse(FloatScalar.Abs<U>[][] values)
Construct a new Absolute Sparse Immutable FloatMatrix.
|
MutableFloatMatrix.Abs.Dense(FloatScalar.Abs<U>[][] values)
Construct a new Absolute Dense MutableFloatMatrix.
|
MutableFloatMatrix.Abs.Sparse(FloatScalar.Abs<U>[][] values)
Construct a new Absolute Sparse MutableFloatMatrix.
|
Modifier and Type | Method and Description |
---|---|
FloatScalar.Abs<U> |
FloatScalar.Abs.copy()
Create a deep copy of this Value.
|
FloatScalar.Abs<U> |
DistDiscreteFloatScalar.Abs.draw() |
FloatScalar.Abs<U> |
DistContinuousFloatScalar.Abs.draw() |
FloatScalar.Abs<U> |
MutableFloatScalar.Abs.immutable()
Make (immutable) FloatScalar equivalent for any type of MutableFloatScalar.
|
Modifier and Type | Method and Description |
---|---|
int |
FloatScalar.Abs.compareTo(FloatScalar.Abs<U> o) |
static MutableFloatScalar.Abs<SIUnit> |
FloatScalar.divide(FloatScalar.Abs<?> left,
FloatScalar.Abs<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static MutableFloatScalar.Abs<SIUnit> |
FloatScalar.divide(FloatScalar.Abs<?> left,
FloatScalar.Abs<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Abs<U> zero,
FloatScalar.Abs<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Abs<U> zero,
FloatScalar.Abs<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Abs<U> valueAbs1,
FloatScalar.Abs<U> valueAbs2)
Subtract two absolute values.
|
static <U extends Unit<U>> |
FloatScalar.minus(FloatScalar.Abs<U> valueAbs1,
FloatScalar.Abs<U> valueAbs2)
Subtract two absolute 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 MutableFloatScalar.Abs<SIUnit> |
FloatScalar.multiply(FloatScalar.Abs<?> left,
FloatScalar.Abs<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
static MutableFloatScalar.Abs<SIUnit> |
FloatScalar.multiply(FloatScalar.Abs<?> left,
FloatScalar.Abs<?> 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.
|
Constructor and Description |
---|
FloatScalar.Abs(FloatScalar.Abs<U> value)
Construct a new Absolute Immutable FloatScalar from an existing Absolute Immutable FloatScalar.
|
MutableFloatScalar.Abs(FloatScalar.Abs<U> value)
Construct a new Absolute MutableFloatScalar from an existing Absolute Immutable FloatScalar.
|
Modifier and Type | Method and Description |
---|---|
FloatScalar.Abs<U> |
MutableFloatVector.Abs.get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
FloatScalar.Abs<U> |
FloatVector.Abs.get(int index)
Retrieve the value stored at a specified index as a FloatScalar.
|
Constructor and Description |
---|
FloatVector.Abs.Dense(FloatScalar.Abs<U>[] values)
Construct a new Absolute Dense Immutable FloatVector.
|
FloatVector.Abs.Sparse(FloatScalar.Abs<U>[] values)
Construct a new Absolute Sparse Immutable FloatVector.
|
MutableFloatVector.Abs.Dense(FloatScalar.Abs<U>[] values)
Construct a new Absolute Dense MutableFloatVector.
|
MutableFloatVector.Abs.Sparse(FloatScalar.Abs<U>[] values)
Construct a new Absolute Sparse MutableFloatVector.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.