| 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 |
|---|---|
FloatVector.Abs.Sparse<U> |
FloatVector.Abs.Sparse.copy()
Create a deep copy of this Value.
|
FloatVector.Abs.Sparse<U> |
MutableFloatVector.Abs.Sparse.immutable()
Make (immutable) FloatVector equivalent for any type of MutableFloatVector.
|
| Modifier and Type | Method and Description |
|---|---|
static <U extends Unit<U>> |
FloatVector.interpolate(FloatVector.Abs.Sparse<U> zero,
FloatVector.Abs.Sparse<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatVector.interpolate(FloatVector.Abs.Sparse<U> zero,
FloatVector.Abs.Sparse<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Abs.Sparse<U> left,
FloatVector.Abs.Dense<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Dense<U>.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Abs.Sparse<U> left,
FloatVector.Abs.Sparse<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Sparse<U>.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Abs.Sparse<U> left,
FloatVector.Abs.Sparse<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Sparse<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>.
|
static <U extends Unit<U>> |
FloatVector.minus(FloatVector.Abs.Sparse<U> left,
FloatVector.Rel.Sparse<U> right)
Subtract two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Sparse<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.plus(FloatVector.Abs.Sparse<U> left,
FloatVector.Rel.Sparse<U> right)
Add two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Sparse<U>.
|
static <U extends Unit<U>> |
FloatVector.sparseToDense(FloatVector.Abs.Sparse<U> in)
Create a Dense version of a Sparse FloatVector.
|
static MutableFloatVector.Abs.Sparse<SIUnit> |
FloatVector.times(FloatVector.Abs.Dense<?> left,
FloatVector.Abs.Sparse<?> right)
Multiply two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Sparse<SIUnit>.
|
static MutableFloatVector.Abs.Sparse<SIUnit> |
FloatVector.times(FloatVector.Abs.Sparse<?> left,
FloatVector.Abs<?> right)
Multiply two FloatVectors value by value and store the result in a new MutableFloatVector.Abs.Sparse<SIUnit>.
|
static <U extends Unit<U>> |
FloatVector.times(FloatVector.Abs.Sparse<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.Sparse<U>.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.