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 Position |
PositionMatrix.instantiateScalar(double value,
PositionUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
protected Position |
MutablePositionMatrix.instantiateScalar(double value,
PositionUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
Constructor and Description |
---|
MutablePositionMatrix(Position[][] values,
StorageType storageType)
Construct a new Absolute Mutable Double PositionMatrix.
|
PositionMatrix(Position[][] values,
StorageType storageType)
Construct a new Absolute Immutable Double LengthMatrix.
|
Modifier and Type | Field and Description |
---|---|
static Position |
Position.ZERO
constant with value zero.
|
Modifier and Type | Method and Description |
---|---|
static Position |
Position.createSI(double value)
Construct %TypeAbsl% scalar.
|
Position |
Position.instantiateAbs(double value,
PositionUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
Position |
Length.instantiateAbs(double value,
PositionUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
static Position |
Position.interpolate(Position zero,
Position one,
double ratio)
Interpolate between two values.
|
static Position |
Position.max(Position a1,
Position a2)
Return the maximum value of two absolute scalars.
|
static Position |
Position.max(Position a1,
Position a2,
Position... an)
Return the maximum value of more than two absolute scalars.
|
static Position |
Position.min(Position a1,
Position a2)
Return the minimum value of two absolute scalars.
|
static Position |
Position.min(Position a1,
Position a2,
Position... an)
Return the minimum value of more than two absolute scalars.
|
Position |
Length.plus(Position v)
Relative scalar plus Absolute scalar = Absolute scalar.
|
Modifier and Type | Method and Description |
---|---|
static Position |
Position.interpolate(Position zero,
Position one,
double ratio)
Interpolate between two values.
|
static Position |
Position.max(Position a1,
Position a2)
Return the maximum value of two absolute scalars.
|
static Position |
Position.max(Position a1,
Position a2,
Position... an)
Return the maximum value of more than two absolute scalars.
|
static Position |
Position.max(Position a1,
Position a2,
Position... an)
Return the maximum value of more than two absolute scalars.
|
static Position |
Position.min(Position a1,
Position a2)
Return the minimum value of two absolute scalars.
|
static Position |
Position.min(Position a1,
Position a2,
Position... an)
Return the minimum value of more than two absolute scalars.
|
static Position |
Position.min(Position a1,
Position a2,
Position... an)
Return the minimum value of more than two absolute scalars.
|
Position |
Length.plus(Position v)
Relative scalar plus Absolute scalar = Absolute scalar.
|
Constructor and Description |
---|
Position(Position value)
Construct Position scalar.
|
Modifier and Type | Method and Description |
---|---|
protected Position |
PositionVector.instantiateScalar(double value,
PositionUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
protected Position |
MutablePositionVector.instantiateScalar(double value,
PositionUnit unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
Position[] |
PositionVector.toArray()
Return an array of Position Scalars from this vector.
|
Position[] |
MutablePositionVector.toArray()
Return an array of Position Scalars from this vector.
|
Constructor and Description |
---|
MutablePositionVector(Position[] values,
StorageType storageType)
Construct a new Absolute Mutable Double PositionVector.
|
PositionVector(Position[] values,
StorageType storageType)
Construct a new Absolute Immutable Double PositionVector.
|
Constructor and Description |
---|
MutablePositionVector(List<Position> values,
StorageType storageType)
Construct a new Absolute Mutable Double PositionVector.
|
MutablePositionVector(SortedMap<Integer,Position> values,
int length,
StorageType storageType)
Construct a new Absolute Mutable Double PositionVector.
|
PositionVector(List<Position> values,
StorageType storageType)
Construct a new Absolute Immutable Double PositionVector.
|
PositionVector(SortedMap<Integer,Position> values,
int length,
StorageType storageType)
Construct a new Absolute Immutable Double PositionVector.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.