Package | Description |
---|---|
org.djunits.unit |
Classes for the unit system.
|
org.djunits.unit.scale |
Scales for unit conversion, offers functions to and from SI units.
|
org.djunits.value.vdouble.matrix |
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
org.djunits.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
org.djunits.value.vfloat.matrix |
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
org.djunits.value.vfloat.vector |
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
|
Modifier and Type | Method and Description |
---|---|
Scale |
Unit.getScale() |
Constructor and Description |
---|
LinearUnit(String nameOrNameKey,
String abbreviationOrAbbreviationKey,
UnitSystem unitSystem,
Scale scale,
boolean standardUnit)
Build a unit with a specific conversion scale to/from the standard unit.
|
Unit(String nameOrNameKey,
String abbreviationOrAbbreviationKey,
UnitSystem unitSystem,
Scale scale,
boolean standardUnit)
Build a unit with a specific conversion scale to/from the standard unit.
|
Modifier and Type | Class and Description |
---|---|
class |
GradeScale
A Scale for transforming a slope as a grade, where 45 degrees is 1, and 90 degrees is infinite, to radians.
|
class |
LinearScale
A Scale for linear transformations not involving a zero-offset, e.g.
|
class |
OffsetLinearScale
A Scale for linear transformations with an offset that has to be applied first when converting to the standard (SI) unit,
before the scaling takes place, e.g.
|
class |
StandardScale
A Scale for standard, e.g.
|
Modifier and Type | Method and Description |
---|---|
static DoubleMatrixData |
DoubleMatrixData.instantiate(double[][] values,
Scale scale,
StorageType storageType)
Instantiate a DoubleMatrixData with the right data type.
|
Modifier and Type | Method and Description |
---|---|
static DoubleVectorData |
DoubleVectorData.instantiate(double[] values,
Scale scale,
StorageType storageType)
Instantiate a DoubleVectorData with the right data type.
|
static DoubleVectorData |
DoubleVectorData.instantiate(List<Double> values,
Scale scale,
StorageType storageType)
Instantiate a DoubleVectorData with the right data type.
|
static DoubleVectorData |
DoubleVectorData.instantiate(SortedMap<Integer,Double> values,
int length,
Scale scale,
StorageType storageType)
Instantiate a DoubleVectorData with the right data type.
|
Modifier and Type | Method and Description |
---|---|
static FloatMatrixData |
FloatMatrixData.instantiate(float[][] values,
Scale scale,
StorageType storageType)
Instantiate a FloatMatrixData with the right data type.
|
Modifier and Type | Method and Description |
---|---|
static FloatVectorData |
FloatVectorData.instantiate(float[] values,
Scale scale,
StorageType storageType)
Instantiate a FloatVectorData with the right data type.
|
static FloatVectorData |
FloatVectorData.instantiate(List<Float> values,
Scale scale,
StorageType storageType)
Instantiate a FloatVectorData with the right data type.
|
static FloatVectorData |
FloatVectorData.instantiate(SortedMap<Integer,Float> values,
int length,
Scale scale,
StorageType storageType)
Instantiate a FloatVectorData with the right data type.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.