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