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