| Package | Description |
|---|---|
| org.djunits.value.vdouble.matrix |
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
| org.djunits.value.vdouble.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
| org.djunits.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| Modifier and Type | Method and Description |
|---|---|
Time |
TimeMatrix.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
Time |
MutableTimeMatrix.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
| Constructor and Description |
|---|
MutableTimeMatrix(Time[][] values,
StorageType storageType)
Construct a new Absolute Mutable Double TimeMatrix.
|
TimeMatrix(Time[][] values,
StorageType storageType)
Construct a new Absolute Immutable Double DurationMatrix.
|
| Modifier and Type | Field and Description |
|---|---|
static Time |
Time.ZERO
constant with value zero.
|
| Modifier and Type | Method and Description |
|---|---|
protected Time |
Time.instantiateTypeAbs(double value,
TimeUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
protected Time |
Duration.instantiateTypeAbs(double value,
TimeUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
static Time |
Time.interpolate(Time zero,
Time one,
double ratio)
Interpolate between two values.
|
static Time |
Time.max(Time a1,
Time a2)
Return the maximum value of two absolute scalars.
|
static Time |
Time.max(Time a1,
Time a2,
Time... an)
Return the maximum value of more than two absolute scalars.
|
static Time |
Time.min(Time a1,
Time a2)
Return the minimum value of two absolute scalars.
|
static Time |
Time.min(Time a1,
Time a2,
Time... an)
Return the minimum value of more than two absolute scalars.
|
Time |
Duration.plus(Time v)
Relative scalar plus Absolute scalar = Absolute scalar.
|
Time |
Duration.toAbs()
Translate the relative scalar into an absolute scalar (e.g., before or after a multiplication or division).
|
| Modifier and Type | Method and Description |
|---|---|
static Time |
Time.interpolate(Time zero,
Time one,
double ratio)
Interpolate between two values.
|
static Time |
Time.max(Time a1,
Time a2)
Return the maximum value of two absolute scalars.
|
static Time |
Time.max(Time a1,
Time a2,
Time... an)
Return the maximum value of more than two absolute scalars.
|
static Time |
Time.max(Time a1,
Time a2,
Time... an)
Return the maximum value of more than two absolute scalars.
|
static Time |
Time.min(Time a1,
Time a2)
Return the minimum value of two absolute scalars.
|
static Time |
Time.min(Time a1,
Time a2,
Time... an)
Return the minimum value of more than two absolute scalars.
|
static Time |
Time.min(Time a1,
Time a2,
Time... an)
Return the minimum value of more than two absolute scalars.
|
Time |
Duration.plus(Time v)
Relative scalar plus Absolute scalar = Absolute scalar.
|
| Constructor and Description |
|---|
Time(Time value)
Construct Time scalar.
|
| Modifier and Type | Method and Description |
|---|---|
Time |
TimeVector.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
Time |
MutableTimeVector.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
| Constructor and Description |
|---|
MutableTimeVector(Time[] values,
StorageType storageType)
Construct a new Absolute Mutable Double TimeVector.
|
TimeVector(Time[] values,
StorageType storageType)
Construct a new Absolute Immutable Double TimeVector.
|
| Constructor and Description |
|---|
MutableTimeVector(List<Time> values,
StorageType storageType)
Construct a new Absolute Mutable Double TimeVector.
|
MutableTimeVector(SortedMap<Integer,Time> values,
int length,
StorageType storageType)
Construct a new Absolute Mutable Double TimeVector.
|
TimeVector(List<Time> values,
StorageType storageType)
Construct a new Absolute Immutable Double TimeVector.
|
TimeVector(SortedMap<Integer,Time> values,
int length,
StorageType storageType)
Construct a new Absolute Immutable Double TimeVector.
|
Copyright © 2015–2016 Delft University of Technology. All rights reserved.