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