| Package | Description |
|---|---|
| org.opentrafficsim.core.value.vfloat.vector |
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
FloatVector.Rel.Dense<U extends Unit<U>> |
static class |
FloatVector.Rel.Sparse<U extends Unit<U>> |
| Modifier and Type | Method and Description |
|---|---|
MutableFloatVector.Abs<U> |
MutableFloatVector.Abs.decrementBy(FloatVector.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
MutableFloatVector.Rel<U> |
MutableFloatVector.Rel.decrementBy(FloatVector.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
protected MutableFloatVector<U> |
MutableFloatVector.decrementByImpl(FloatVector.Rel<U> rel)
Decrement the corresponding values of this Relative FloatVector from the values of this MutableFloatVector.
|
MutableFloatVector.Abs<U> |
MutableFloatVector.Abs.incrementBy(FloatVector.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
MutableFloatVector.Rel<U> |
MutableFloatVector.Rel.incrementBy(FloatVector.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
protected MutableFloatVector<U> |
MutableFloatVector.incrementByImpl(FloatVector.Rel<U> rel)
Increment the values in this MutableFloatVector by the corresponding values in a Relative FloatVector.
|
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.Rel.Dense<U> left,
FloatVector.Rel<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.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.Rel.Dense<U> left,
FloatVector.Rel<U> right)
Add two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Dense<U>.
|
static MutableFloatVector.Rel.Sparse<SIUnit> |
FloatVector.times(FloatVector.Rel.Sparse<?> left,
FloatVector.Rel<?> right)
Multiply two FloatVectors value by value and store the result in a new MutableFloatVector.Rel.Sparse<SIUnit>.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.