| Package | Description |
|---|---|
| org.opentrafficsim.core.value.vfloat.vector |
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| Modifier and Type | Method and Description |
|---|---|
MutableFloatVector.Abs.Dense<U> |
MutableFloatVector.Abs.Dense.copy()
Create a deep copy of this Value.
|
static <U extends Unit<U>> |
FloatVector.interpolate(FloatVector.Abs.Dense<U> zero,
FloatVector.Abs.Dense<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Abs.Dense<U> left,
FloatVector.Rel<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Abs.Sparse<U> left,
FloatVector.Rel.Dense<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Dense<U>.
|
MutableFloatVector.Abs.Dense<U> |
MutableFloatVector.Abs.Dense.mutable()
Create a mutable version of this FloatVector.
|
MutableFloatVector.Abs.Dense<U> |
FloatVector.Abs.Dense.mutable()
Create a mutable version of this FloatVector.
|
static <U extends Unit<U>> |
FloatVector.plus(FloatVector.Abs.Dense<U> left,
FloatVector.Rel<U> right)
Add two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.plus(FloatVector.Abs.Sparse<U> left,
FloatVector.Rel.Dense<U> right)
Add two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.sparseToDense(FloatVector.Abs.Sparse<U> in)
Create a Dense version of a Sparse FloatVector.
|
static MutableFloatVector.Abs.Dense<SIUnit> |
FloatVector.times(FloatVector.Abs.Dense<?> left,
FloatVector.Abs.Dense<?> right)
Multiply two FloatVectors value by value and store the result in a new
MutableFloatVector.Abs.Dense<SIUnit>.
|
static <U extends Unit<U>> |
FloatVector.times(FloatVector.Abs.Dense<U> left,
float[] right)
Multiply the values in a FloatVector and a float array value by value and store the result in a new
MutableFloatVector.Abs.Dense<U>.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.