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.Dense<U> |
FloatVector.Abs.Dense.copy()
Create a deep copy of this Value.
|
FloatVector.Abs.Dense<U> |
MutableFloatVector.Abs.Dense.immutable()
Make (immutable) FloatVector equivalent for any type of MutableFloatVector.
|
Modifier and Type | Method and Description |
---|---|
static <U extends Unit<U>> |
FloatVector.denseToSparse(FloatVector.Abs.Dense<U> in)
Create a Sparse version of a Dense FloatVector.
|
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.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.Abs<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.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.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.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 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 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 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 <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.