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