Package | Description |
---|---|
org.djunits.unit |
Classes for the unit system.
|
org.djunits.value |
Base classes for unit-based 0-d (Scalar), 1-d (Vector) and 2-d (Matrix) values.
|
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.
|
org.djunits.value.vfloat.matrix |
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
org.djunits.value.vfloat.scalar |
Float Scalar storage and calculations with units, absolute/relative.
|
org.djunits.value.vfloat.vector |
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
|
Modifier and Type | Class and Description |
---|---|
class |
AbsoluteLinearUnit<AU extends LinearUnit<AU>,RU extends Unit<RU>>
An absolute unit is a unit that needs to be defined with a "distance" to the reference absolute unit.
|
class |
Unit<U extends Unit<U>>
All units are internally stored relative to a standard unit with conversion factor.
|
Modifier and Type | Class and Description |
---|---|
class |
AbsoluteLinearUnit<AU extends LinearUnit<AU>,RU extends Unit<RU>>
An absolute unit is a unit that needs to be defined with a "distance" to the reference absolute unit.
|
class |
AbsoluteTemperatureUnit
AbsoluteTemperature units.
|
class |
AccelerationUnit
Standard acceleration unit based on distance and time.
|
class |
AngleSolidUnit
Standard solid angle unit.
|
class |
AngleUnit
Standard angle unit.
|
class |
AreaUnit
AreaUnit defines a number of common units for areas.
|
class |
DensityUnit
Standard density unit based on mass and length.
|
class |
DimensionlessUnit
Dimensionless unit.
|
class |
DirectionUnit
Standard direction unit.
|
class |
DurationUnit
Standard duration units.
|
class |
ElectricalChargeUnit
Units for electrical charge.
|
class |
ElectricalCurrentUnit
Standard units for electrical current.
|
class |
ElectricalPotentialUnit
The units of electrical potential (voltage).
|
class |
ElectricalResistanceUnit
The units of electrical resistance.
|
class |
EnergyUnit
The units of energy.
|
class |
FlowMassUnit
The mass flow rate is the mass of a substance which passes through a given surface per unit of time (wikipedia).
|
class |
FlowVolumeUnit
The volume flow rate is the volume of fluid which passes through a given surface per unit of time (wikipedia).
|
class |
ForceUnit
The units of force.
|
class |
FrequencyUnit
Standard frequency unit based on time.
|
class |
LengthUnit
Standard length units.
|
class |
LinearDensityUnit
Objects per unit of distance.
|
class |
LinearUnit<U extends LinearUnit<U>>
A linear unit with easy-access constructor with a linear factor, and access to the linear factor.
|
class |
MassUnit
Standard mass units.
|
class |
MoneyPerAreaUnit
MoneyPerAreaUnit defines a unit for the cost or benefit per area, e.g.
|
class |
MoneyPerDurationUnit
MoneyPerDurationUnit defines a unit for the cost or benefit per time, e.g.
|
class |
MoneyPerEnergyUnit
MoneyPerEnergyUnit defines a unit for the cost or benefit per unit of energy, e.g.
|
class |
MoneyPerLengthUnit
MoneyPerLengthUnit defines a unit for the cost or benefit per length, e.g.
|
class |
MoneyPerMassUnit
MoneyPerMassUnit defines a unit for the cost or benefit per mass, e.g.
|
class |
MoneyPerVolumeUnit
MoneyPerVolumeUnit defines a unit for the cost or benefit per volume, e.g.
|
class |
MoneyUnit
MoneyUnit defines a monetary unit, and wraps the joda money currency unit.
|
class |
PositionUnit
Standard absolute position units.
|
class |
PowerUnit
The units of power.
|
class |
PressureUnit
The units of pressure.
|
class |
SIUnit
Helper class to create arbitrary SI units.
|
class |
SpeedUnit
According to Wikipedia: Speed describes only how fast an object is
moving, whereas speed gives both how fast and in what direction the object is moving.
|
class |
TemperatureUnit
Temperature units.
|
class |
TimeUnit
Standard absolute time units.
|
class |
TorqueUnit
The units of torque (moment of force).
|
class |
VolumeUnit
VolumeUnit defines a number of common units for volumes.
|
Modifier and Type | Method and Description |
---|---|
static <V extends Unit<V>> |
Unit.getUnits(Class<V> unitClass)
Return a set of defined units for a given unit type.
|
Modifier and Type | Method and Description |
---|---|
Set<Unit<U>> |
Unit.getAllUnitsOfThisType()
Return a copy of the set of all defined units for this unit type.
|
static Set<Unit<?>> |
Unit.lookupOrCreateUnitWithSICoefficients(String normalizedSICoefficientsString) |
static Set<Unit<?>> |
Unit.lookupUnitWithSICoefficients(String normalizedSICoefficientsString) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractValue<U extends Unit<U>>
AbstractValue is a class to help construct Matrix, Complex, and Vector but it does not extend java.lang.Number.
|
interface |
FunctionsAbs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,A extends Absolute & Value<AU>,R extends Relative & Value<RU>>
The functions to be implemented for absolute vectors and matrices.
|
interface |
FunctionsRel<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,A extends Absolute & Value<AU>,R extends Relative & Value<RU>>
The functions to be implemented for relative vectors and matrices.
|
class |
Scalar<U extends Unit<U>>
Basics of the Scalar type
|
interface |
Value<U extends Unit<U>>
Value is a static interface that forces implementation of a few unit- and value-related methods.
|
Modifier and Type | Method and Description |
---|---|
static <U extends Unit<U>> |
Scalar.stringOf(Scalar<U> value)
Returns a String representation of the scalar value that can be parsed back into its scalar type.
|
static <U extends Unit<U>> |
Scalar.stringOfDefaultLocale(Scalar<U> value)
Returns a String representation of the scalar value that can be parsed back into its scalar type.
|
static <U extends Unit<U>> |
Scalar.textualStringOf(Scalar<U> value)
Returns a String representation of the scalar value that can be parsed back into its scalar type.
|
static <U extends Unit<U>> |
Scalar.textualStringOfDefaultLocale(Scalar<U> value)
Returns a String representation of the scalar value that can be parsed back into its scalar type.
|
Modifier and Type | Method and Description |
---|---|
static double |
ValueUtil.expressAsSIUnit(double value,
Unit<?> unit)
Convert a value in a given unit into the equivalent in the standard SI unit.
|
static double |
ValueUtil.expressAsUnit(double siValue,
Unit<?> targetUnit)
Convert a value from the standard SI unit into a compatible unit.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDoubleMatrix<U extends Unit<U>,T extends AbstractDoubleMatrix<U,T>>
The most basic abstract class for the DoubleMatrix.
|
(package private) class |
AbstractDoubleMatrixAbs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,A extends AbstractDoubleMatrixAbs<AU,RU,A,R,MA,S>,R extends AbstractDoubleMatrixRel<RU,R,?,?>,MA extends AbstractMutableDoubleMatrixAbs<AU,RU,A,R,MA,S>,S extends AbstractDoubleScalarAbs<AU,S,RU,?>>
Absolute Immutable typed matrix.
|
(package private) class |
AbstractDoubleMatrixRel<U extends Unit<U>,R extends AbstractDoubleMatrixRel<U,R,MR,S>,MR extends AbstractMutableDoubleMatrixRel<U,R,MR,S>,S extends AbstractDoubleScalarRel<U,S>>
Relative Immutable typed matrix.
|
(package private) class |
AbstractMutableDoubleMatrixAbs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,A extends AbstractDoubleMatrixAbs<AU,RU,A,R,MA,S>,R extends AbstractDoubleMatrixRel<RU,R,?,?>,MA extends AbstractMutableDoubleMatrixAbs<AU,RU,A,R,MA,S>,S extends AbstractDoubleScalarAbs<AU,S,RU,?>>
Absolute Mutable typed Matrix.
|
(package private) class |
AbstractMutableDoubleMatrixRel<U extends Unit<U>,R extends AbstractDoubleMatrixRel<U,R,MR,S>,MR extends AbstractMutableDoubleMatrixRel<U,R,MR,S>,S extends AbstractDoubleScalarRel<U,S>>
Relative Mutable typed Matrix.
|
static class |
DoubleMatrix.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
ABSOLUTE implementation of DoubleMatrix.
|
static class |
DoubleMatrix.Rel<U extends Unit<U>>
RELATIVE implementation of DoubleMatrix.
|
interface |
DoubleMatrixInterface<U extends Unit<U>>
Interface for the Immutable and Mutable DoubleMatrix classes.
|
static class |
MutableDoubleMatrix.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
ABSOLUTE implementation of MutableDoubleVector.
|
static class |
MutableDoubleMatrix.Rel<U extends Unit<U>>
RELATIVE implementation of MutableDoubleMatrix.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,S extends AbstractDoubleScalarAbs<AU,S,RU,?>> |
AbstractDoubleMatrixAbs.checkUnit(S[][] dsArray)
Check that a provided array can be used to create some descendant of a DoubleMatrix, and return the Unit.
|
(package private) static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleMatrixRel.checkUnit(S[][] dsArray)
Check that a provided array can be used to create some descendant of a DoubleMatrix, and return the Unit.
|
(package private) static <U extends Unit<U>> |
DoubleMatrix.divide(DoubleMatrix.Rel<U> left,
DoubleMatrix.Rel<U> right)
Divide the content of two matrices with a static method on a cell-by-cell basis; Rel / Rel = Rel.
|
protected static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,S extends AbstractDoubleScalarAbs<AU,S,RU,?>> |
AbstractDoubleMatrixAbs.ensureRectangularAndNonEmpty(S[][] values)
Check that a 2D array of DoubleScalar<?> is rectangular; i.e.
|
protected static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleMatrixRel.ensureRectangularAndNonEmpty(S[][] values)
Check that a 2D array of DoubleScalar<?> is rectangular; i.e.
|
static <U extends Unit<U>,S extends AbstractDoubleMatrix<U,S>> |
DoubleMatrixUtil.instantiate(double[][] value,
U unit,
StorageType storageType)
Instantiate the DoubleMatrix based on its unit.
|
static <U extends Unit<U>,S extends AbstractDoubleMatrix<U,S>> |
DoubleMatrixUtil.instantiateSI(double[][] si,
U displayUnit,
StorageType storageType)
Instantiate the DoubleMatrix based on its unit.
|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>> |
DoubleMatrix.minus(DoubleMatrix.Abs<AU,RU> left,
DoubleMatrix.Abs<AU,RU> right)
Subtract the content of two matrices with a static method on a cell-by-cell basis; Abs - Abs = Rel.
|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>> |
DoubleMatrix.minus(DoubleMatrix.Abs<AU,RU> left,
DoubleMatrix.Rel<RU> right)
Subtract the content of two matrices with a static method on a cell-by-cell basis; Abs - Rel = Abs.
|
(package private) static <U extends Unit<U>> |
DoubleMatrix.minus(DoubleMatrix.Rel<U> left,
DoubleMatrix.Rel<U> right)
Subtract the content of two matrices with a static method on a cell-by-cell basis; Rel - Rel = Rel.
|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>> |
DoubleMatrix.plus(DoubleMatrix.Abs<AU,RU> left,
DoubleMatrix.Rel<RU> right)
Add the content of two matrices with a static method on a cell-by-cell basis; Abs + Rel = Abs.
|
(package private) static <U extends Unit<U>> |
DoubleMatrix.plus(DoubleMatrix.Rel<U> left,
DoubleMatrix.Rel<U> right)
Add the content of two matrices with a static method on a cell-by-cell basis; Rel + Rel = Rel.
|
(package private) static <U extends Unit<U>> |
DoubleMatrix.times(DoubleMatrix.Rel<U> left,
DoubleMatrix.Rel<U> right)
Multiply the content of two matrices with a static method on a cell-by-cell basis; Rel * Rel = Rel.
|
Modifier and Type | Method and Description |
---|---|
static <S extends AbstractDoubleMatrix<?,S>> |
DoubleMatrixUtil.instantiateAnonymous(double[][] value,
Unit<?> unit,
StorageType storageType)
Instantiate the DoubleMatrix based on its unit.
|
static <S extends AbstractDoubleMatrix<?,S>> |
DoubleMatrixUtil.instantiateAnonymousSI(double[][] si,
Unit<?> displayUnit,
StorageType storageType)
Instantiate the DoubleMatrix based on its unit.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDoubleScalar<U extends Unit<U>,T extends AbstractDoubleScalar<U,T>>
The most basic abstract class for the DoubleScalar.
|
class |
AbstractDoubleScalarAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>>
The typed, abstract DoubleScalarAbs class that forms the basis of all DoubleScalar definitions and extensions.
Note: A relative scalar class can implement the toAbs() method if it has an absolute equivalent. |
class |
AbstractDoubleScalarRel<U extends Unit<U>,R extends AbstractDoubleScalarRel<U,R>>
The typed, abstract DoubleScalarRel class that forms the basis of all DoubleScalar definitions and extensions.
Note: A relative scalar class can implement the toAbs() method if it has an absolute equivalent. |
static class |
DoubleScalar.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
Absolute Immutable DoubleScalar.
|
static class |
DoubleScalar.Rel<U extends Unit<U>>
Relative Immutable DoubleScalar.
|
Modifier and Type | Method and Description |
---|---|
static <U extends Unit<U>,S extends AbstractDoubleScalar<U,S>> |
DoubleScalarUtil.instantiate(double value,
U unit)
Instantiate the DoubleScalar based on its unit.
|
static <U extends Unit<U>,S extends AbstractDoubleScalar<U,S>> |
DoubleScalarUtil.instantiateSI(double si,
U displayUnit)
Instantiate the DoubleScalar based on its unit.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>> |
AbstractDoubleScalarAbs.interpolate(A zero,
A one,
double ratio)
Interpolate between two values.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>> |
DoubleScalar.interpolate(A zero,
A one,
double ratio)
Interpolate between two values.
|
static <U extends Unit<U>,R extends AbstractDoubleScalarRel<U,R>> |
DoubleScalar.interpolate(R zero,
R one,
double ratio)
Interpolate between two values.
|
static <U extends Unit<U>,R extends AbstractDoubleScalarRel<U,R>> |
AbstractDoubleScalarRel.interpolate(R zero,
R one,
double ratio)
Interpolate between two values.
|
static <U extends Unit<U>,T extends AbstractDoubleScalar<U,T>> |
DoubleScalar.max(T r1,
T r2)
Return the maximum value of two relative scalars.
|
static <U extends Unit<U>,T extends AbstractDoubleScalar<U,T>> |
DoubleScalar.max(T r1,
T r2,
T... rn)
Return the maximum value of more than two relative scalars.
|
static <U extends Unit<U>,T extends AbstractDoubleScalar<U,T>> |
DoubleScalar.min(T r1,
T r2)
Return the minimum value of two relative scalars.
|
static <U extends Unit<U>,T extends AbstractDoubleScalar<U,T>> |
DoubleScalar.min(T r1,
T r2,
T... rn)
Return the minimum value of more than two relative scalars.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>> |
DoubleScalar.minus(A left,
A right)
Subtract two absolute values.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>> |
DoubleScalar.minus(A left,
R right)
Subtract a Relative value from an absolute value.
|
static <U extends Unit<U>,R extends AbstractDoubleScalarRel<U,R>> |
DoubleScalar.minus(R left,
R right)
Subtract a relative value from a relative value.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>> |
DoubleScalar.plus(A left,
R right)
Add a Relative value to an Absolute value.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractDoubleScalarRel<RU,R>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>> |
DoubleScalar.plus(R left,
A right)
Add an Absolute value to a Relative value.
|
static <U extends Unit<U>,R extends AbstractDoubleScalarRel<U,R>> |
DoubleScalar.plus(R left,
R right)
Add a Relative value to a Relative value.
|
Modifier and Type | Method and Description |
---|---|
static <S extends AbstractDoubleScalar<?,S>> |
DoubleScalarUtil.instantiateAnonymous(double value,
Unit<?> unit)
Instantiate the DoubleScalar based on its unit.
|
static <S extends AbstractDoubleScalar<?,S>> |
DoubleScalarUtil.instantiateAnonymousSI(double si,
Unit<?> displayUnit)
Instantiate the DoubleScalar based on its unit.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDoubleVector<U extends Unit<U>,T extends AbstractDoubleVector<U,T>>
The most basic abstract class for the DoubleVector.
|
(package private) class |
AbstractDoubleVectorAbs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,A extends AbstractDoubleVectorAbs<AU,RU,A,R,MA,S>,R extends AbstractDoubleVectorRel<RU,R,?,?>,MA extends AbstractMutableDoubleVectorAbs<AU,RU,A,R,MA,S>,S extends AbstractDoubleScalarAbs<AU,S,RU,?>>
Absolute Immutable typed vector.
|
(package private) class |
AbstractDoubleVectorRel<U extends Unit<U>,R extends AbstractDoubleVectorRel<U,R,MR,S>,MR extends AbstractMutableDoubleVectorRel<U,R,MR,S>,S extends AbstractDoubleScalarRel<U,S>>
Relative Immutable typed vector.
|
(package private) class |
AbstractMutableDoubleVectorAbs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,A extends AbstractDoubleVectorAbs<AU,RU,A,R,MA,S>,R extends AbstractDoubleVectorRel<RU,R,?,?>,MA extends AbstractMutableDoubleVectorAbs<AU,RU,A,R,MA,S>,S extends AbstractDoubleScalarAbs<AU,S,RU,?>>
Absolute Mutable typed Vector.
|
(package private) class |
AbstractMutableDoubleVectorRel<U extends Unit<U>,R extends AbstractDoubleVectorRel<U,R,MR,S>,MR extends AbstractMutableDoubleVectorRel<U,R,MR,S>,S extends AbstractDoubleScalarRel<U,S>>
Relative Mutable typed Vector.
|
static class |
DoubleVector.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
Absolute Immutable DoubleVector.
|
static class |
DoubleVector.Rel<U extends Unit<U>>
Relative Immutable DoubleVector.
|
interface |
DoubleVectorInterface<U extends Unit<U>>
Interface for the Immutable and Mutable DoubleVector classes.
|
static class |
MutableDoubleVector.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
Absolute Immutable DoubleVector.
|
static class |
MutableDoubleVector.Rel<U extends Unit<U>>
Relative Immutable DoubleVector.
|
interface |
MutableDoubleVectorInterface<U extends Unit<U>>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleVectorRel.checkUnit(AbstractDoubleScalarRel<U,S>[] dsArray)
Check that a provided array can be used to create some descendant of a DoubleVector, and return the Unit.
|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,S extends AbstractDoubleScalarAbs<AU,S,RU,?>> |
AbstractDoubleVectorAbs.checkUnit(List<S> dsList)
Check that a provided list can be used to create some descendant of a DoubleVector, and return the Unit.
|
(package private) static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleVectorRel.checkUnit(List<S> dsList)
Check that a provided list can be used to create some descendant of a DoubleVector, and return the Unit.
|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,S extends AbstractDoubleScalarAbs<AU,S,RU,?>> |
AbstractDoubleVectorAbs.checkUnit(S[] dsArray)
Check that a provided array can be used to create some descendant of a DoubleVector, and return the Unit.
|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,S extends AbstractDoubleScalarAbs<AU,S,RU,?>> |
AbstractDoubleVectorAbs.checkUnit(SortedMap<Integer,S> dsMap)
Check that a provided Map can be used to create some descendant of a DoubleVector.
|
(package private) static <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>> |
AbstractDoubleVectorRel.checkUnit(SortedMap<Integer,S> dsMap)
Check that a provided Map can be used to create some descendant of a DoubleVector.
|
static <U extends Unit<U>,S extends AbstractDoubleVector<U,S>> |
DoubleVectorUtil.instantiate(double[] value,
U unit,
StorageType storageType)
Instantiate the DoubleVector based on its unit.
|
static <U extends Unit<U>,S extends AbstractDoubleVector<U,S>> |
DoubleVectorUtil.instantiateSI(double[] si,
U displayUnit,
StorageType storageType)
Instantiate the DoubleVector based on its unit.
|
Modifier and Type | Method and Description |
---|---|
static <S extends AbstractDoubleVector<?,S>> |
DoubleVectorUtil.instantiateAnonymous(double[] value,
Unit<?> unit,
StorageType storageType)
Instantiate the DoubleVector based on its unit.
|
static <S extends AbstractDoubleVector<?,S>> |
DoubleVectorUtil.instantiateAnonymousSI(double[] si,
Unit<?> displayUnit,
StorageType storageType)
Instantiate the DoubleVector based on its unit.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFloatMatrix<U extends Unit<U>,T extends AbstractFloatMatrix<U,T>>
The most basic abstract class for the FloatMatrix.
|
(package private) class |
AbstractFloatMatrixAbs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,A extends AbstractFloatMatrixAbs<AU,RU,A,R,MA,S>,R extends AbstractFloatMatrixRel<RU,R,?,?>,MA extends AbstractMutableFloatMatrixAbs<AU,RU,A,R,MA,S>,S extends AbstractFloatScalarAbs<AU,S,RU,?>>
Absolute Immutable typed matrix.
|
(package private) class |
AbstractFloatMatrixRel<U extends Unit<U>,R extends AbstractFloatMatrixRel<U,R,MR,S>,MR extends AbstractMutableFloatMatrixRel<U,R,MR,S>,S extends AbstractFloatScalarRel<U,S>>
Relative Immutable typed matrix.
|
(package private) class |
AbstractMutableFloatMatrixAbs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,A extends AbstractFloatMatrixAbs<AU,RU,A,R,MA,S>,R extends AbstractFloatMatrixRel<RU,R,?,?>,MA extends AbstractMutableFloatMatrixAbs<AU,RU,A,R,MA,S>,S extends AbstractFloatScalarAbs<AU,S,RU,?>>
Absolute Mutable typed Matrix.
|
(package private) class |
AbstractMutableFloatMatrixRel<U extends Unit<U>,R extends AbstractFloatMatrixRel<U,R,MR,S>,MR extends AbstractMutableFloatMatrixRel<U,R,MR,S>,S extends AbstractFloatScalarRel<U,S>>
Relative Mutable typed Matrix.
|
static class |
FloatMatrix.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
ABSOLUTE implementation of FloatMatrix.
|
static class |
FloatMatrix.Rel<U extends Unit<U>>
RELATIVE implementation of FloatMatrix.
|
interface |
FloatMatrixInterface<U extends Unit<U>>
Interface for the Immutable and Mutable FloatMatrix classes.
|
static class |
MutableFloatMatrix.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
ABSOLUTE implementation of MutableFloatVector.
|
static class |
MutableFloatMatrix.Rel<U extends Unit<U>>
RELATIVE implementation of MutableFloatMatrix.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,S extends AbstractFloatScalarAbs<AU,S,RU,?>> |
AbstractFloatMatrixAbs.checkUnit(S[][] dsArray)
Check that a provided array can be used to create some descendant of a FloatMatrix, and return the Unit.
|
(package private) static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatMatrixRel.checkUnit(S[][] dsArray)
Check that a provided array can be used to create some descendant of a FloatMatrix, and return the Unit.
|
(package private) static <U extends Unit<U>> |
FloatMatrix.divide(FloatMatrix.Rel<U> left,
FloatMatrix.Rel<U> right)
Divide the content of two matrices with a static method on a cell-by-cell basis; Rel / Rel = Rel.
|
protected static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,S extends AbstractFloatScalarAbs<AU,S,RU,?>> |
AbstractFloatMatrixAbs.ensureRectangularAndNonEmpty(S[][] values)
Check that a 2D array of FloatScalar<?> is rectangular; i.e.
|
protected static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatMatrixRel.ensureRectangularAndNonEmpty(S[][] values)
Check that a 2D array of FloatScalar<?> is rectangular; i.e.
|
static <U extends Unit<U>,S extends AbstractFloatMatrix<U,S>> |
FloatMatrixUtil.instantiate(float[][] value,
U unit,
StorageType storageType)
Instantiate the FloatMatrix based on its unit.
|
static <U extends Unit<U>,S extends AbstractFloatMatrix<U,S>> |
FloatMatrixUtil.instantiateSI(float[][] si,
U displayUnit,
StorageType storageType)
Instantiate the FloatMatrix based on its unit.
|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>> |
FloatMatrix.minus(FloatMatrix.Abs<AU,RU> left,
FloatMatrix.Abs<AU,RU> right)
Subtract the content of two matrices with a static method on a cell-by-cell basis; Abs - Abs = Rel.
|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>> |
FloatMatrix.minus(FloatMatrix.Abs<AU,RU> left,
FloatMatrix.Rel<RU> right)
Subtract the content of two matrices with a static method on a cell-by-cell basis; Abs - Rel = Abs.
|
(package private) static <U extends Unit<U>> |
FloatMatrix.minus(FloatMatrix.Rel<U> left,
FloatMatrix.Rel<U> right)
Subtract the content of two matrices with a static method on a cell-by-cell basis; Rel - Rel = Rel.
|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>> |
FloatMatrix.plus(FloatMatrix.Abs<AU,RU> left,
FloatMatrix.Rel<RU> right)
Add the content of two matrices with a static method on a cell-by-cell basis; Abs + Rel = Abs.
|
(package private) static <U extends Unit<U>> |
FloatMatrix.plus(FloatMatrix.Rel<U> left,
FloatMatrix.Rel<U> right)
Add the content of two matrices with a static method on a cell-by-cell basis; Rel + Rel = Rel.
|
(package private) static <U extends Unit<U>> |
FloatMatrix.times(FloatMatrix.Rel<U> left,
FloatMatrix.Rel<U> right)
Multiply the content of two matrices with a static method on a cell-by-cell basis; Rel * Rel = Rel.
|
Modifier and Type | Method and Description |
---|---|
static <S extends AbstractFloatMatrix<?,S>> |
FloatMatrixUtil.instantiateAnonymous(float[][] value,
Unit<?> unit,
StorageType storageType)
Instantiate the FloatMatrix based on its unit.
|
static <S extends AbstractFloatMatrix<?,S>> |
FloatMatrixUtil.instantiateAnonymousSI(float[][] si,
Unit<?> displayUnit,
StorageType storageType)
Instantiate the FloatMatrix based on its unit.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFloatScalar<U extends Unit<U>,T extends AbstractFloatScalar<U,T>>
The most basic abstract class for the FloatScalar.
|
class |
AbstractFloatScalarAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractFloatScalarAbs<AU,A,RU,R>,RU extends Unit<RU>,R extends AbstractFloatScalarRel<RU,R>>
The typed, abstract FloatScalarAbs class that forms the basis of all FloatScalar definitions and extensions.
Note: A relative scalar class can implement the toAbs() method if it has an absolute equivalent. |
class |
AbstractFloatScalarRel<U extends Unit<U>,R extends AbstractFloatScalarRel<U,R>>
The typed, abstract FloatScalarRel class that forms the basis of all FloatScalar definitions and extensions.
Note: A relative scalar class can implement the toAbs() method if it has an absolute equivalent. |
static class |
FloatScalar.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
Absolute Immutable FloatScalar.
|
static class |
FloatScalar.Rel<U extends Unit<U>>
Relative Immutable FloatScalar.
|
Modifier and Type | Method and Description |
---|---|
static <U extends Unit<U>,S extends AbstractFloatScalar<U,S>> |
FloatScalarUtil.instantiate(float value,
U unit)
Instantiate the DoubleScalar based on its unit.
|
static <U extends Unit<U>,S extends AbstractFloatScalar<U,S>> |
FloatScalarUtil.instantiateSI(float si,
U displayUnit)
Instantiate the DoubleScalar based on its unit.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractFloatScalarRel<RU,R>,A extends AbstractFloatScalarAbs<AU,A,RU,R>> |
FloatScalar.interpolate(A zero,
A one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>> |
FloatScalar.interpolate(FloatScalar.Abs<AU,RU> zero,
FloatScalar.Abs<AU,RU> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
FloatScalar.interpolate(FloatScalar.Rel<U> zero,
FloatScalar.Rel<U> one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>,R extends AbstractFloatScalarRel<U,R>> |
FloatScalar.interpolate(R zero,
R one,
float ratio)
Interpolate between or extrapolate over two values.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractFloatScalarRel<RU,R>,A extends AbstractFloatScalarAbs<AU,A,RU,R>> |
FloatScalar.minus(A left,
A right)
Subtract two absolute values.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractFloatScalarRel<RU,R>,A extends AbstractFloatScalarAbs<AU,A,RU,R>> |
FloatScalar.minus(A left,
R right)
Subtract a Relative value from an absolute value.
|
static <U extends Unit<U>,R extends AbstractFloatScalarRel<U,R>> |
FloatScalar.minus(R left,
R right)
Subtract a relative value from a relative value.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractFloatScalarRel<RU,R>,A extends AbstractFloatScalarAbs<AU,A,RU,R>> |
FloatScalar.plus(A left,
R right)
Add a Relative value to an Absolute value.
|
static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends AbstractFloatScalarRel<RU,R>,A extends AbstractFloatScalarAbs<AU,A,RU,R>> |
FloatScalar.plus(R left,
A right)
Add an Absolute value to a Relative value.
|
static <U extends Unit<U>,R extends AbstractFloatScalarRel<U,R>> |
FloatScalar.plus(R left,
R right)
Add a Relative value to a Relative value.
|
Modifier and Type | Method and Description |
---|---|
static <S extends AbstractFloatScalar<?,S>> |
FloatScalarUtil.instantiateAnonymous(float value,
Unit<?> unit)
Instantiate the DoubleScalar based on its unit.
|
static <S extends AbstractFloatScalar<?,S>> |
FloatScalarUtil.instantiateAnonymousSI(float si,
Unit<?> displayUnit)
Instantiate the DoubleScalar based on its unit.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFloatVector<U extends Unit<U>,T extends AbstractFloatVector<U,T>>
The most basic abstract class for the FloatVector.
|
(package private) class |
AbstractFloatVectorAbs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,A extends AbstractFloatVectorAbs<AU,RU,A,R,MA,S>,R extends AbstractFloatVectorRel<RU,R,?,?>,MA extends AbstractMutableFloatVectorAbs<AU,RU,A,R,MA,S>,S extends AbstractFloatScalarAbs<AU,S,RU,?>>
Absolute Immutable typed vector.
|
(package private) class |
AbstractFloatVectorRel<U extends Unit<U>,R extends AbstractFloatVectorRel<U,R,MR,S>,MR extends AbstractMutableFloatVectorRel<U,R,MR,S>,S extends AbstractFloatScalarRel<U,S>>
Relative Immutable typed vector.
|
(package private) class |
AbstractMutableFloatVectorAbs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,A extends AbstractFloatVectorAbs<AU,RU,A,R,MA,S>,R extends AbstractFloatVectorRel<RU,R,?,?>,MA extends AbstractMutableFloatVectorAbs<AU,RU,A,R,MA,S>,S extends AbstractFloatScalarAbs<AU,S,RU,?>>
Absolute Mutable typed Vector.
|
(package private) class |
AbstractMutableFloatVectorRel<U extends Unit<U>,R extends AbstractFloatVectorRel<U,R,MR,S>,MR extends AbstractMutableFloatVectorRel<U,R,MR,S>,S extends AbstractFloatScalarRel<U,S>>
Relative Mutable typed Vector.
|
static class |
FloatVector.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
Absolute Immutable FloatVector.
|
static class |
FloatVector.Rel<U extends Unit<U>>
Relative Immutable FloatVector.
|
interface |
FloatVectorInterface<U extends Unit<U>>
Interface for the Immutable and Mutable FloatVector classes.
|
static class |
MutableFloatVector.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
Absolute Immutable FloatVector.
|
static class |
MutableFloatVector.Rel<U extends Unit<U>>
Relative Immutable FloatVector.
|
interface |
MutableFloatVectorInterface<U extends Unit<U>>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatVectorRel.checkUnit(AbstractFloatScalarRel<U,S>[] dsArray)
Check that a provided array can be used to create some descendant of a FloatVector, and return the Unit.
|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,S extends AbstractFloatScalarAbs<AU,S,RU,?>> |
AbstractFloatVectorAbs.checkUnit(List<S> dsList)
Check that a provided list can be used to create some descendant of a FloatVector, and return the Unit.
|
(package private) static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatVectorRel.checkUnit(List<S> dsList)
Check that a provided list can be used to create some descendant of a FloatVector, and return the Unit.
|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,S extends AbstractFloatScalarAbs<AU,S,RU,?>> |
AbstractFloatVectorAbs.checkUnit(S[] dsArray)
Check that a provided array can be used to create some descendant of a FloatVector, and return the Unit.
|
(package private) static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,S extends AbstractFloatScalarAbs<AU,S,RU,?>> |
AbstractFloatVectorAbs.checkUnit(SortedMap<Integer,S> dsMap)
Check that a provided Map can be used to create some descendant of a FloatVector.
|
(package private) static <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>> |
AbstractFloatVectorRel.checkUnit(SortedMap<Integer,S> dsMap)
Check that a provided Map can be used to create some descendant of a FloatVector.
|
static <U extends Unit<U>,S extends AbstractFloatVector<U,S>> |
FloatVectorUtil.instantiate(float[] value,
U unit,
StorageType storageType)
Instantiate the FloatVector based on its unit.
|
static <U extends Unit<U>,S extends AbstractFloatVector<U,S>> |
FloatVectorUtil.instantiateSI(float[] si,
U displayUnit,
StorageType storageType)
Instantiate the FloatVector based on its unit.
|
Modifier and Type | Method and Description |
---|---|
static <S extends AbstractFloatVector<?,S>> |
FloatVectorUtil.instantiateAnonymous(float[] value,
Unit<?> unit,
StorageType storageType)
Instantiate the FloatVector based on its unit.
|
static <S extends AbstractFloatVector<?,S>> |
FloatVectorUtil.instantiateAnonymousSI(float[] si,
Unit<?> displayUnit,
StorageType storageType)
Instantiate the FloatVector based on its unit.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.