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 |
---|---|
protected Time |
TimeMatrix.instantiateScalar(double value,
TimeUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
protected Time |
MutableTimeMatrix.instantiateScalar(double value,
TimeUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
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 |
---|---|
static Time |
Time.createSI(double value)
Construct %TypeAbsl% scalar.
|
Time |
Time.instantiateAbs(double value,
TimeUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
Time |
Duration.instantiateAbs(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.
|
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 |
---|---|
protected Time |
TimeVector.instantiateScalar(double value,
TimeUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
protected Time |
MutableTimeVector.instantiateScalar(double value,
TimeUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
Time[] |
TimeVector.toArray()
Return an array of Time Scalars from this vector.
|
Time[] |
MutableTimeVector.toArray()
Return an array of Time Scalars from this vector.
|
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–2018 Delft University of Technology. All rights reserved.