Uses of Class
org.djunits.unit.Unit
-
Packages that use Unit Package Description org.djunits.unit Units for version 4 of DJUNITS.org.djunits.unit.quantity Base information about the units such as the SI dimensions.org.djunits.value Base classes for unit-based 0-d (Scalar), 1-d (Vector) and 2-d (Matrix) values.org.djunits.value.base Base value interfaces and classes, e.g.org.djunits.value.function Generic interfaces and default implementations for Scalar, Vector and Matrix functions.org.djunits.value.util Generic utilities for all values (Scalar, Vector, Matrix).org.djunits.value.vdouble.matrix Double Matrix storage and calculations with units, absolute/relative, sparse/dense.org.djunits.value.vdouble.matrix.base Interfaces, abstract classes and utilities for DoubleMatrix.org.djunits.value.vdouble.matrix.data Internal data storage for the Matrix.org.djunits.value.vdouble.scalar Double Scalar storage and calculations with units, absolute/relative.Note: All code in this package is generated.org.djunits.value.vdouble.scalar.base Interfaces, abstract classes and utilities for DoubleScalar.org.djunits.value.vdouble.vector Double Vector storage and calculations with units, absolute/relative, sparse/dense.org.djunits.value.vdouble.vector.base Interfaces, abstract classes and utilities for DoubleVector.org.djunits.value.vdouble.vector.data Internal data storage for the Vector.org.djunits.value.vfloat.matrix Float Matrix storage and calculations with units, absolute/relative, sparse/dense.org.djunits.value.vfloat.matrix.base Interfaces, abstract classes and utilities for FloatMatrix.org.djunits.value.vfloat.matrix.data package-info.java.org.djunits.value.vfloat.scalar Float Scalar storage and calculations with units, absolute/relative.org.djunits.value.vfloat.scalar.base Utilities, interfaces and abstract classes for FloatScalar.org.djunits.value.vfloat.vector Float Vector storage and calculations with units, absolute/relative, sparse/dense.org.djunits.value.vfloat.vector.base Interfaces, abstract classes and utilities for FloatVector.org.djunits.value.vfloat.vector.data Internal storage for the FloatVector. -
-
Uses of Unit in org.djunits.unit
Classes in org.djunits.unit with type parameters of type Unit Modifier and Type Class Description class
AbsoluteLinearUnit<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
The AbsoluteUnit class indicates that a unit is absolute and has a "zero" point.static class
AbsoluteLinearUnit.Builder<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
Builder for the AbsoluteUnit.class
Unit<U extends Unit<U>>
All units are internally stored relative to a standard unit with conversion factor.static class
Unit.Builder<U extends Unit<U>>
The class that contains the information to build a unit.Subclasses of Unit in org.djunits.unit Modifier and Type Class Description class
AbsoluteLinearUnit<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>
The AbsoluteUnit class indicates that a unit is absolute and has a "zero" point.class
AbsoluteTemperatureUnit
AbsoluteTemperature units.class
AbsorbedDoseUnit
The units of absorbed dose (of ionizing radiation).class
AccelerationUnit
Standard acceleration unit based on distance and time.class
AmountOfSubstanceUnit
The units of amount of substance.class
AngleUnit
Standard angle unit.class
AngularAccelerationUnit
Standard angular acceleration unit.class
AngularVelocityUnit
Standard angular velocity unit.class
AreaUnit
AreaUnit defines a number of common units for areas.class
CatalyticActivityUnit
The units of catalytic activity.class
DensityUnit
Standard density unit based on mass per volume.class
DimensionlessUnit
Dimensionless unit.class
DirectionUnit
Standard direction unit.class
DurationUnit
Standard duration units.class
ElectricalCapacitanceUnit
The units of electrical capacitance.class
ElectricalChargeUnit
Units for electrical charge.class
ElectricalConductanceUnit
The units of electrical conductance.class
ElectricalCurrentUnit
Standard units for electrical current.class
ElectricalInductanceUnit
The units of electrical capacitance.class
ElectricalPotentialUnit
The units of electrical potential (voltage).class
ElectricalResistanceUnit
The units of electrical resistance.class
EnergyUnit
The units of energy.class
EquivalentDoseUnit
The units of equivalent dose (of ionizing radiation).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
IlluminanceUnit
The units of illuminance.class
LengthUnit
Standard length units.class
LinearDensityUnit
Objects per unit of distance.class
LuminousFluxUnit
The units of luminous flux.class
LuminousIntensityUnit
The units of luminous intensity.class
MagneticFluxDensityUnit
The units of magnetic flux density, a.k.a.class
MagneticFluxUnit
The units of magnetic flux.class
MassUnit
Standard mass units.class
MomentumUnit
According to Wikipedia: Momentum or linear momentum, or translational momentum is the product of the mass and velocity of an object.class
PositionUnit
Standard absolute position units.class
PowerUnit
The units of power.class
PressureUnit
The units of pressure.class
RadioActivityUnit
The units of radio activity (decays per unit of time).class
SIUnit
SIUnit describes a unit with arbitrary SI dimensions for which no predefined unit exists.class
SolidAngleUnit
Standard solid angle unit.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. -
Uses of Unit in org.djunits.unit.quantity
Classes in org.djunits.unit.quantity with type parameters of type Unit Modifier and Type Class Description class
Quantity<U extends Unit<U>>
Quantity contains a map of all registered units belonging to this base. -
Uses of Unit in org.djunits.value
Classes in org.djunits.value with type parameters of type Unit Modifier and Type Class Description class
AbstractIndexedValue<U extends Unit<U>,S extends Scalar<U,S>,T extends AbstractIndexedValue<U,S,T,D>,D extends AbstractStorage<D>>
AbstractIndexedValue.java.class
AbstractScalar<U extends Unit<U>,S extends Scalar<U,S>>
AbstractScalar is a class to help construct Scalar classes.class
AbstractValue<U extends Unit<U>,T extends Value<U,T>>
AbstractValue is a class to help construct Scalar, Vector, and Matrix classes.interface
IndexedValue<U extends Unit<U>,S extends Scalar<U,S>,T extends IndexedValue<U,S,T>>
IndexedValue.java.interface
Relative<U extends Unit<U>,T extends Value<U,T>>
Relative values express differences.interface
Value<U extends Unit<U>,T extends Value<U,T>>
Value is the generic interface for all Scalar, Vector and Matrix classes that forces implementation of a few unit- and value-related methods. -
Uses of Unit in org.djunits.value.base
Classes in org.djunits.value.base with type parameters of type Unit Modifier and Type Interface Description interface
Matrix<U extends Unit<U>,S extends Scalar<U,S>,V extends Vector<U,S,V>,M extends Matrix<U,S,V,M>>
Matrix to distinguish a matrix from scalars and matrixs.static interface
Matrix.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar<AU,A>,AV extends Vector.Abs<AU,A,AV,RU,R,RV>,AM extends Matrix.Abs<AU,A,AV,AM,RU,R,RV,RM>,RU extends Unit<RU>,R extends Scalar<RU,R>,RV extends Vector.RelWithAbs<AU,A,AV,RU,R,RV>,RM extends Matrix.RelWithAbs<AU,A,AV,AM,RU,R,RV,RM>>
Methods for Absolute Matrix.static interface
Matrix.Rel<U extends Unit<U>,S extends Scalar<U,S>,V extends Vector<U,S,V>,RM extends Matrix.Rel<U,S,V,RM>>
Methods for Relative Matrix.static interface
Matrix.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar<AU,A>,AV extends Vector.Abs<AU,A,AV,RU,R,RV>,AM extends Matrix.Abs<AU,A,AV,AM,RU,R,RV,RM>,RU extends Unit<RU>,R extends Scalar<RU,R>,RV extends Vector.RelWithAbs<AU,A,AV,RU,R,RV>,RM extends Matrix.RelWithAbs<AU,A,AV,AM,RU,R,RV,RM>>
Additional methods for Relative Matrix that has a corresponding Absolute Matrix.interface
Scalar<U extends Unit<U>,S extends Scalar<U,S>>
Scalar to distinguish a scalar from vectors and matrices.static interface
Scalar.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends Scalar.RelWithAbs<AU,A,RU,R>>
Methods for Absolute Scalar.static interface
Scalar.Rel<U extends Unit<U>,R extends Scalar.Rel<U,R>>
Methods for Relative Scalar.static interface
Scalar.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends Scalar.RelWithAbs<AU,A,RU,R>>
Additional methods for Relative Scalar that has a corresponding Absolute Scalar.interface
Vector<U extends Unit<U>,S extends Scalar<U,S>,V extends Vector<U,S,V>>
Vector to distinguish a vector from vectors and matrices.static interface
Vector.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar<AU,A>,AV extends Vector.Abs<AU,A,AV,RU,R,RV>,RU extends Unit<RU>,R extends Scalar<RU,R>,RV extends Vector.RelWithAbs<AU,A,AV,RU,R,RV>>
Methods for Absolute Vector.static interface
Vector.Rel<U extends Unit<U>,S extends Scalar<U,S>,RV extends Vector.Rel<U,S,RV>>
Methods for Relative Vector.static interface
Vector.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar<AU,A>,AV extends Vector.Abs<AU,A,AV,RU,R,RV>,RU extends Unit<RU>,R extends Scalar<RU,R>,RV extends Vector.RelWithAbs<AU,A,AV,RU,R,RV>>
Additional methods for Relative Vector that has a corresponding Absolute Vector. -
Uses of Unit in org.djunits.value.function
Classes in org.djunits.value.function with type parameters of type Unit Modifier and Type Interface Description interface
DimensionlessFunctions<U extends Unit<U>,T extends Value<U,T>>
Interface to force most functions of Math, which have not yet been implemented by MathFunctionsRel, to be implemented, with the exception of toRadians() and toDegrees() -- these functions are available for angles.interface
ValueFunctions<U extends Unit<U>,T extends Value<U,T>>
Interface to force a limited number of functions of Math to be implemented for absolute values. -
Uses of Unit in org.djunits.value.util
Methods in org.djunits.value.util with parameters of type Unit Modifier and Type Method 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. -
Uses of Unit in org.djunits.value.vdouble.matrix
Methods in org.djunits.value.vdouble.matrix with type parameters of type Unit Modifier and Type Method Description <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>,V extends AbstractDoubleVectorRel<U,S,V>,M extends AbstractDoubleMatrixRel<U,S,V,M>>
MSIMatrix. as(U displayUnit)
Return the current matrix transformed to a matrix in the given unit. -
Uses of Unit in org.djunits.value.vdouble.matrix.base
Classes in org.djunits.value.vdouble.matrix.base with type parameters of type Unit Modifier and Type Class Description class
AbstractDoubleMatrix<U extends Unit<U>,S extends AbstractDoubleScalar<U,S>,V extends AbstractDoubleVector<U,S,V>,M extends AbstractDoubleMatrix<U,S,V,M>>
The most basic abstract class for the DoubleMatrix.class
AbstractDoubleMatrixAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>,AV extends AbstractDoubleVectorAbs<AU,A,AV,RU,R,RV>,AM extends AbstractDoubleMatrixAbs<AU,A,AV,AM,RU,R,RV,RM>,RU extends Unit<RU>,R extends AbstractDoubleScalarRelWithAbs<AU,A,RU,R>,RV extends AbstractDoubleVectorRelWithAbs<AU,A,AV,RU,R,RV>,RM extends AbstractDoubleMatrixRelWithAbs<AU,A,AV,AM,RU,R,RV,RM>>
AbstractMutableDoubleMatrixRelWithAbs.java.class
AbstractDoubleMatrixRel<U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>,RV extends AbstractDoubleVectorRel<U,S,RV>,RM extends AbstractDoubleMatrixRel<U,S,RV,RM>>
AbstractDoubleMatrixRel.java.class
AbstractDoubleMatrixRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>,AV extends AbstractDoubleVectorAbs<AU,A,AV,RU,R,RV>,AM extends AbstractDoubleMatrixAbs<AU,A,AV,AM,RU,R,RV,RM>,RU extends Unit<RU>,R extends AbstractDoubleScalarRelWithAbs<AU,A,RU,R>,RV extends AbstractDoubleVectorRelWithAbs<AU,A,AV,RU,R,RV>,RM extends AbstractDoubleMatrixRelWithAbs<AU,A,AV,AM,RU,R,RV,RM>>
AbstractMutableDoubleMatrixRelWithAbs.java.interface
DoubleMatrixInterface<U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
Interface for the DoubleMatrix classes, specifically defining the methods that deal with double values.class
DoubleSparseValue<U extends Unit<U>,S extends DoubleScalarInterface<U,S>>
Data point for a matrix that can be used for constructing sparse matrices.Methods in org.djunits.value.vdouble.matrix.base with type parameters of type Unit Modifier and Type Method Description <UT extends Unit<UT>,ST extends AbstractDoubleScalar<UT,ST>,VT extends AbstractDoubleVector<UT,ST,VT>,MT extends AbstractDoubleMatrix<UT,ST,VT,MT> & Relative<UT,MT>>
SIMatrixAbstractDoubleMatrixRel. divide(MT rel)
Divide this Relative matrix by another Relative matrix.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiate(double[][] valuesInUnit, U unit, StorageType storageType)
Instantiate the DoubleMatrix based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiate(double[][] valuesInUnit, U unit, StorageType storageType, Class<M> matrixClass)
Instantiate the DoubleMatrix based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiate(Collection<DoubleSparseValue<U,S>> values, int rows, int cols, U displayUnit, StorageType storageType)
Construct a new Relative Immutable Double Matrix.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiate(Collection<DoubleSparseValue<U,S>> values, int rows, int cols, U displayUnit, StorageType storageType, Class<M> matrixClass)
Construct a new Relative Immutable Double Matrix.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiate(DoubleMatrixData values, U unit)
Instantiate the Mutable DoubleMatrix based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiate(DoubleMatrixData values, U unit, Class<M> matrixClass)
Instantiate the Mutable DoubleMatrix based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiate(S[][] values, U displayUnit, StorageType storageType)
Construct a new Relative Immutable Double Matrix.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiate(S[][] values, U displayUnit, StorageType storageType, Class<M> matrixClass)
Construct a new Relative Immutable Double Matrix.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiateAnonymous(DoubleMatrixData values, Unit<?> unit)
Instantiate the Immutable DoubleMatrix based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiateAnonymous(DoubleMatrixData values, Unit<?> unit, Class<M> matrixClass)
Instantiate the Immutable DoubleMatrix based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiateSI(double[][] valuesSI, U displayUnit, StorageType storageType)
Instantiate the DoubleMatrix based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiateSI(double[][] valuesSI, U displayUnit, StorageType storageType, Class<M> matrixClass)
Instantiate the DoubleMatrix based on its unit.<UT extends Unit<UT>,ST extends AbstractDoubleScalar<UT,ST>,VT extends AbstractDoubleVector<UT,ST,VT>,MT extends AbstractDoubleMatrix<UT,ST,VT,MT> & Relative<UT,MT>>
SIMatrixAbstractDoubleMatrixRel. times(MT rel)
Multiply a Relative value with this Relative value for a matrix or matrix.Methods in org.djunits.value.vdouble.matrix.base with parameters of type Unit Modifier and Type Method Description static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiateAnonymous(DoubleMatrixData values, Unit<?> unit)
Instantiate the Immutable DoubleMatrix based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>,M extends DoubleMatrixInterface<U,S,V,M>>
MDoubleMatrix. instantiateAnonymous(DoubleMatrixData values, Unit<?> unit, Class<M> matrixClass)
Instantiate the Immutable DoubleMatrix based on its unit. -
Uses of Unit in org.djunits.value.vdouble.matrix.data
Methods in org.djunits.value.vdouble.matrix.data with type parameters of type Unit Modifier and Type Method Description protected static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>>
S[][]DoubleMatrixData. checkRectangularAndNonNull(S[][] values)
Check that a 2D array of float is not null, not empty and not jagged; i.e.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>>
DoubleMatrixDataDoubleMatrixData. instantiate(Collection<DoubleSparseValue<U,S>> values, int rows, int cols, StorageType storageType)
Instantiate a DoubleMatrixData with the right data type.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>>
DoubleMatrixDataDoubleMatrixData. instantiate(S[][] values, StorageType storageType)
Instantiate a DoubleMatrixData with the right data type. -
Uses of Unit in org.djunits.value.vdouble.scalar
Methods in org.djunits.value.vdouble.scalar with type parameters of type Unit Modifier and Type Method Description <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>>
SSIScalar. as(U displayUnit)
Return the current scalar transformed to a scalar in the given unit. -
Uses of Unit in org.djunits.value.vdouble.scalar.base
Classes in org.djunits.value.vdouble.scalar.base with type parameters of type Unit Modifier and Type Class Description class
AbstractDoubleScalar<U extends Unit<U>,S extends AbstractDoubleScalar<U,S>>
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 AbstractDoubleScalarRelWithAbs<AU,A,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.class
AbstractDoubleScalarRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>,RU extends Unit<RU>,R extends AbstractDoubleScalarRelWithAbs<AU,A,RU,R>>
The typed, abstract DoubleScalarRelWithAbs class that forms the basis of the relative DoubleScalars suck as Duration that have an absolute equivalent such as Time.interface
DoubleScalarInterface<U extends Unit<U>,S extends DoubleScalarInterface<U,S>>
Double scalar functions.static interface
DoubleScalarInterface.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends DoubleScalarInterface.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends DoubleScalarInterface.RelWithAbs<AU,A,RU,R>>
Methods for Absolute Scalar.static interface
DoubleScalarInterface.Rel<U extends Unit<U>,R extends DoubleScalarInterface.Rel<U,R>>
Methods for Relative DoubleScalar.static interface
DoubleScalarInterface.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends DoubleScalarInterface.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends DoubleScalarInterface.RelWithAbs<AU,A,RU,R>>
Additional methods for Relative Scalar that has a corresponding Absolute Scalar.Methods in org.djunits.value.vdouble.scalar.base with type parameters of type Unit Modifier and Type Method Description static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>>
SDoubleScalar. instantiate(double value, U unit)
Instantiate the DoubleScalar based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>>
SDoubleScalar. instantiateSI(double valueSI, U displayUnit)
Instantiate the DoubleScalar with an SI value and add the displayUnit later.static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends DoubleScalarInterface.RelWithAbs<AU,A,RU,R>,A extends DoubleScalarInterface.Abs<AU,A,RU,R>>
ADoubleScalar. interpolate(A zero, A one, double ratio)
Interpolate between two values.static <U extends Unit<U>,R extends DoubleScalarInterface.Rel<U,R>>
RDoubleScalar. interpolate(R zero, R one, double ratio)
Interpolate between two values.static <U extends Unit<U>,T extends DoubleScalarInterface<U,T>>
TDoubleScalar. max(T r1, T r2)
Return the maximum value of two relative scalars.static <U extends Unit<U>,T extends DoubleScalarInterface<U,T>>
TDoubleScalar. max(T r1, T r2, T... rn)
Return the maximum value of more than two relative scalars.static <U extends Unit<U>,T extends DoubleScalarInterface<U,T>>
TDoubleScalar. min(T r1, T r2)
Return the minimum value of two relative scalars.static <U extends Unit<U>,T extends DoubleScalarInterface<U,T>>
TDoubleScalar. 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 DoubleScalarInterface.RelWithAbs<AU,A,RU,R>,A extends DoubleScalarInterface.Abs<AU,A,RU,R>>
RDoubleScalar. minus(A left, A right)
Subtract two absolute values.static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends DoubleScalarInterface.RelWithAbs<AU,A,RU,R>,A extends DoubleScalarInterface.Abs<AU,A,RU,R>>
ADoubleScalar. minus(A left, R right)
Subtract a Relative value from an absolute value.static <U extends Unit<U>,R extends DoubleScalarInterface.Rel<U,R>>
RDoubleScalar. 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 DoubleScalarInterface.RelWithAbs<AU,A,RU,R>,A extends DoubleScalarInterface.Abs<AU,A,RU,R>>
ADoubleScalar. 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 DoubleScalarInterface.RelWithAbs<AU,A,RU,R>,A extends DoubleScalarInterface.Abs<AU,A,RU,R>>
ADoubleScalar. plus(R left, A right)
Add an Absolute value to a Relative value.static <U extends Unit<U>,R extends DoubleScalarInterface.Rel<U,R>>
RDoubleScalar. plus(R left, R right)
Add a Relative value to a Relative value.Methods in org.djunits.value.vdouble.scalar.base with parameters of type Unit Modifier and Type Method Description static <S extends DoubleScalarInterface<?,S>>
SDoubleScalar. instantiateAnonymous(double value, Unit<?> unit)
Instantiate the DoubleScalar based on its unit. -
Uses of Unit in org.djunits.value.vdouble.vector
Methods in org.djunits.value.vdouble.vector with type parameters of type Unit Modifier and Type Method Description <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>,V extends AbstractDoubleVectorRel<U,S,V>>
VSIVector. as(U displayUnit)
Return the current vector transformed to a vector in the given unit. -
Uses of Unit in org.djunits.value.vdouble.vector.base
Classes in org.djunits.value.vdouble.vector.base with type parameters of type Unit Modifier and Type Class Description class
AbstractDoubleVector<U extends Unit<U>,S extends AbstractDoubleScalar<U,S>,V extends AbstractDoubleVector<U,S,V>>
The most basic abstract class for the DoubleVector.class
AbstractDoubleVectorAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>,AV extends AbstractDoubleVectorAbs<AU,A,AV,RU,R,RV>,RU extends Unit<RU>,R extends AbstractDoubleScalarRelWithAbs<AU,A,RU,R>,RV extends AbstractDoubleVectorRelWithAbs<AU,A,AV,RU,R,RV>>
AbstractMutableDoubleVectorRelWithAbs.java.class
AbstractDoubleVectorRel<U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>,RV extends AbstractDoubleVectorRel<U,S,RV>>
AbstractMutableDoubleVectorRel.java.class
AbstractDoubleVectorRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractDoubleScalarAbs<AU,A,RU,R>,AV extends AbstractDoubleVectorAbs<AU,A,AV,RU,R,RV>,RU extends Unit<RU>,R extends AbstractDoubleScalarRelWithAbs<AU,A,RU,R>,RV extends AbstractDoubleVectorRelWithAbs<AU,A,AV,RU,R,RV>>
AbstractMutableDoubleVectorRelWithAbs.java.interface
DoubleVectorInterface<U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
Interface for the DoubleVector classes, specifically defining the methods that deal with double values.Methods in org.djunits.value.vdouble.vector.base with type parameters of type Unit Modifier and Type Method Description <UT extends Unit<UT>,ST extends AbstractDoubleScalarRel<UT,ST>,VT extends AbstractDoubleVectorRel<UT,ST,VT>>
SIVectorAbstractDoubleVectorRel. divide(VT rel)
Divide this Relative value by a Relative value for a vector or matrix.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiate(double[] valuesInUnit, U unit, StorageType storageType)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiate(double[] valuesInUnit, U unit, StorageType storageType, Class<V> vectorClass)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiate(List<Double> valueListInUnit, U unit, StorageType storageType)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiate(List<Double> valueListInUnit, U unit, StorageType storageType, Class<V> vectorClass)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiate(SortedMap<Integer,Double> valueMapInUnit, int length, U unit, StorageType storageType)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiate(SortedMap<Integer,Double> valueMapInUnit, int length, U unit, StorageType storageType, Class<V> vectorClass)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiate(DoubleVectorData values, U unit)
Instantiate the Mutable DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiate(DoubleVectorData values, U unit, Class<V> vectorClass)
Instantiate the Mutable DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiate(S[] values, U displayUnit, StorageType storageType)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiate(S[] values, U displayUnit, StorageType storageType, Class<V> vectorClass)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateAnonymous(DoubleVectorData values, Unit<?> unit)
Instantiate the Immutable DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateAnonymous(DoubleVectorData values, Unit<?> unit, Class<V> vectorClass)
Instantiate the Immutable DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateList(List<S> valueList, U displayUnit, StorageType storageType)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateList(List<S> valueList, U displayUnit, StorageType storageType, Class<V> vectorClass)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateMap(SortedMap<Integer,S> valueMap, int length, U displayUnit, StorageType storageType)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateMap(SortedMap<Integer,S> valueMap, int length, U displayUnit, StorageType storageType, Class<V> vectorClass)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateSI(double[] valuesSI, U displayUnit, StorageType storageType)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateSI(double[] valuesSI, U displayUnit, StorageType storageType, Class<V> vectorClass)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateSI(List<Double> valueListSI, U displayUnit, StorageType storageType)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateSI(List<Double> valueListSI, U displayUnit, StorageType storageType, Class<V> vectorClass)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateSI(SortedMap<Integer,Double> valueMapSI, int length, U displayUnit, StorageType storageType)
Instantiate the DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateSI(SortedMap<Integer,Double> valueMapSI, int length, U displayUnit, StorageType storageType, Class<V> vectorClass)
Instantiate the DoubleVector based on its unit.<UT extends Unit<UT>,ST extends AbstractDoubleScalarRel<UT,ST>,VT extends AbstractDoubleVectorRel<UT,ST,VT> & Relative<UT,VT>>
SIVectorAbstractDoubleVectorRel. times(VT rel)
Multiply a Relative value with this Relative value for a vector or matrix.Methods in org.djunits.value.vdouble.vector.base with parameters of type Unit Modifier and Type Method Description static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateAnonymous(DoubleVectorData values, Unit<?> unit)
Instantiate the Immutable DoubleVector based on its unit.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>,V extends DoubleVectorInterface<U,S,V>>
VDoubleVector. instantiateAnonymous(DoubleVectorData values, Unit<?> unit, Class<V> vectorClass)
Instantiate the Immutable DoubleVector based on its unit. -
Uses of Unit in org.djunits.value.vdouble.vector.data
Methods in org.djunits.value.vdouble.vector.data with type parameters of type Unit Modifier and Type Method Description static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>>
DoubleVectorDataDoubleVectorData. instantiate(S[] values, StorageType storageType)
Instantiate a DoubleVectorData with the right data type.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>>
DoubleVectorDataDoubleVectorData. instantiateList(List<S> valueList, StorageType storageType)
Instantiate a DoubleVectorData with the right data type.static <U extends Unit<U>,S extends DoubleScalarInterface<U,S>>
DoubleVectorDataDoubleVectorData. instantiateMap(SortedMap<Integer,S> values, int length, StorageType storageType)
Instantiate a DoubleVectorData with the right data type. -
Uses of Unit in org.djunits.value.vfloat.matrix
Methods in org.djunits.value.vfloat.matrix with type parameters of type Unit Modifier and Type Method Description <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>,V extends AbstractFloatVectorRel<U,S,V>,M extends AbstractFloatMatrixRel<U,S,V,M>>
MFloatSIMatrix. as(U displayUnit)
Return the current matrix transformed to a matrix in the given unit. -
Uses of Unit in org.djunits.value.vfloat.matrix.base
Classes in org.djunits.value.vfloat.matrix.base with type parameters of type Unit Modifier and Type Class Description class
AbstractFloatMatrix<U extends Unit<U>,S extends AbstractFloatScalar<U,S>,V extends AbstractFloatVector<U,S,V>,M extends AbstractFloatMatrix<U,S,V,M>>
The most basic abstract class for the FloatMatrix.class
AbstractFloatMatrixAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractFloatScalarAbs<AU,A,RU,R>,AV extends AbstractFloatVectorAbs<AU,A,AV,RU,R,RV>,AM extends AbstractFloatMatrixAbs<AU,A,AV,AM,RU,R,RV,RM>,RU extends Unit<RU>,R extends AbstractFloatScalarRelWithAbs<AU,A,RU,R>,RV extends AbstractFloatVectorRelWithAbs<AU,A,AV,RU,R,RV>,RM extends AbstractFloatMatrixRelWithAbs<AU,A,AV,AM,RU,R,RV,RM>>
AbstractMutableFloatMatrixRelWithAbs.java.class
AbstractFloatMatrixRel<U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>,RV extends AbstractFloatVectorRel<U,S,RV>,RM extends AbstractFloatMatrixRel<U,S,RV,RM>>
AbstractFloatMatrixRel.java.class
AbstractFloatMatrixRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractFloatScalarAbs<AU,A,RU,R>,AV extends AbstractFloatVectorAbs<AU,A,AV,RU,R,RV>,AM extends AbstractFloatMatrixAbs<AU,A,AV,AM,RU,R,RV,RM>,RU extends Unit<RU>,R extends AbstractFloatScalarRelWithAbs<AU,A,RU,R>,RV extends AbstractFloatVectorRelWithAbs<AU,A,AV,RU,R,RV>,RM extends AbstractFloatMatrixRelWithAbs<AU,A,AV,AM,RU,R,RV,RM>>
AbstractMutableFloatMatrixRelWithAbs.java.interface
FloatMatrixInterface<U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
Interface for the FloatMatrix classes, specifically defining the methods that deal with float values.class
FloatSparseValue<U extends Unit<U>,S extends FloatScalarInterface<U,S>>
Data point for a matrix that can be used for constructing sparse matrices.Methods in org.djunits.value.vfloat.matrix.base with type parameters of type Unit Modifier and Type Method Description <UT extends Unit<UT>,ST extends AbstractFloatScalar<UT,ST>,VT extends AbstractFloatVector<UT,ST,VT>,MT extends AbstractFloatMatrix<UT,ST,VT,MT> & Relative<UT,MT>>
FloatSIMatrixAbstractFloatMatrixRel. divide(MT rel)
Divide this Relative matrix by another Relative matrix.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiate(float[][] valuesInUnit, U unit, StorageType storageType)
Instantiate the FloatMatrix based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiate(float[][] valuesInUnit, U unit, StorageType storageType, Class<M> matrixClass)
Instantiate the FloatMatrix based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiate(Collection<FloatSparseValue<U,S>> values, int rows, int cols, U displayUnit, StorageType storageType)
Construct a new Relative Immutable Float Matrix.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiate(Collection<FloatSparseValue<U,S>> values, int rows, int cols, U displayUnit, StorageType storageType, Class<M> matrixClass)
Construct a new Relative Immutable Float Matrix.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiate(FloatMatrixData values, U unit)
Instantiate the Mutable FloatMatrix based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiate(FloatMatrixData values, U unit, Class<M> matrixClass)
Instantiate the Mutable FloatMatrix based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiate(S[][] values, U displayUnit, StorageType storageType)
Construct a new Relative Immutable Float Matrix.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiate(S[][] values, U displayUnit, StorageType storageType, Class<M> matrixClass)
Construct a new Relative Immutable Float Matrix.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiateAnonymous(FloatMatrixData values, Unit<?> unit)
Instantiate the Immutable FloatMatrix based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiateAnonymous(FloatMatrixData values, Unit<?> unit, Class<M> matrixClass)
Instantiate the Immutable FloatMatrix based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiateSI(float[][] valuesSI, U displayUnit, StorageType storageType)
Instantiate the FloatMatrix based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiateSI(float[][] valuesSI, U displayUnit, StorageType storageType, Class<M> matrixClass)
Instantiate the FloatMatrix based on its unit.<UT extends Unit<UT>,ST extends AbstractFloatScalar<UT,ST>,VT extends AbstractFloatVector<UT,ST,VT>,MT extends AbstractFloatMatrix<UT,ST,VT,MT> & Relative<UT,MT>>
FloatSIMatrixAbstractFloatMatrixRel. times(MT rel)
Multiply a Relative value with this Relative value for a matrix or matrix.Methods in org.djunits.value.vfloat.matrix.base with parameters of type Unit Modifier and Type Method Description static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiateAnonymous(FloatMatrixData values, Unit<?> unit)
Instantiate the Immutable FloatMatrix based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>,M extends FloatMatrixInterface<U,S,V,M>>
MFloatMatrix. instantiateAnonymous(FloatMatrixData values, Unit<?> unit, Class<M> matrixClass)
Instantiate the Immutable FloatMatrix based on its unit. -
Uses of Unit in org.djunits.value.vfloat.matrix.data
Methods in org.djunits.value.vfloat.matrix.data with type parameters of type Unit Modifier and Type Method Description protected static <U extends Unit<U>,S extends FloatScalarInterface<U,S>>
S[][]FloatMatrixData. checkRectangularAndNonNull(S[][] values)
Check that a 2D array of float is not null, not empty and not jagged; i.e.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>>
FloatMatrixDataFloatMatrixData. instantiate(Collection<FloatSparseValue<U,S>> values, int rows, int cols, StorageType storageType)
Instantiate a FloatMatrixData with the right data type.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>>
FloatMatrixDataFloatMatrixData. instantiate(S[][] values, StorageType storageType)
Instantiate a FloatMatrixData with the right data type. -
Uses of Unit in org.djunits.value.vfloat.scalar
Methods in org.djunits.value.vfloat.scalar with type parameters of type Unit Modifier and Type Method Description <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>>
SFloatSIScalar. as(U displayUnit)
Return the current scalar transformed to a scalar in the given unit. -
Uses of Unit in org.djunits.value.vfloat.scalar.base
Classes in org.djunits.value.vfloat.scalar.base with type parameters of type Unit Modifier and Type Class Description class
AbstractFloatScalar<U extends Unit<U>,S extends AbstractFloatScalar<U,S>>
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 AbstractFloatScalarRelWithAbs<AU,A,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.class
AbstractFloatScalarRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractFloatScalarAbs<AU,A,RU,R>,RU extends Unit<RU>,R extends AbstractFloatScalarRelWithAbs<AU,A,RU,R>>
The typed, abstract FloatScalarRelWithAbs class that forms the basis of the relative FloatScalars suck as Duration that have an absolute equivalent such as Time.interface
FloatScalarInterface<U extends Unit<U>,S extends FloatScalarInterface<U,S>>
Float scalar functions.static interface
FloatScalarInterface.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends FloatScalarInterface.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends FloatScalarInterface.RelWithAbs<AU,A,RU,R>>
Methods for Absolute Scalar.static interface
FloatScalarInterface.Rel<U extends Unit<U>,R extends FloatScalarInterface.Rel<U,R>>
Methods for Relative FloatScalar.static interface
FloatScalarInterface.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends FloatScalarInterface.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends FloatScalarInterface.RelWithAbs<AU,A,RU,R>>
Additional methods for Relative Scalar that has a corresponding Absolute Scalar.Methods in org.djunits.value.vfloat.scalar.base with type parameters of type Unit Modifier and Type Method Description static <U extends Unit<U>,S extends FloatScalarInterface<U,S>>
SFloatScalar. instantiate(float value, U unit)
Instantiate the FloatScalar based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>>
SFloatScalar. instantiateSI(float valueSI, U displayUnit)
Instantiate the FloatScalar with an SI value and add the displayUnit later.static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends FloatScalarInterface.RelWithAbs<AU,A,RU,R>,A extends FloatScalarInterface.Abs<AU,A,RU,R>>
AFloatScalar. interpolate(A zero, A one, float ratio)
Interpolate between two values.static <U extends Unit<U>,R extends FloatScalarInterface.Rel<U,R>>
RFloatScalar. interpolate(R zero, R one, float ratio)
Interpolate between two values.static <U extends Unit<U>,T extends FloatScalarInterface<U,T>>
TFloatScalar. max(T r1, T r2)
Return the maximum value of two relative scalars.static <U extends Unit<U>,T extends FloatScalarInterface<U,T>>
TFloatScalar. max(T r1, T r2, T... rn)
Return the maximum value of more than two relative scalars.static <U extends Unit<U>,T extends FloatScalarInterface<U,T>>
TFloatScalar. min(T r1, T r2)
Return the minimum value of two relative scalars.static <U extends Unit<U>,T extends FloatScalarInterface<U,T>>
TFloatScalar. 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 FloatScalarInterface.RelWithAbs<AU,A,RU,R>,A extends FloatScalarInterface.Abs<AU,A,RU,R>>
RFloatScalar. minus(A left, A right)
Subtract two absolute values.static <AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>,R extends FloatScalarInterface.RelWithAbs<AU,A,RU,R>,A extends FloatScalarInterface.Abs<AU,A,RU,R>>
AFloatScalar. minus(A left, R right)
Subtract a Relative value from an absolute value.static <U extends Unit<U>,R extends FloatScalarInterface.Rel<U,R>>
RFloatScalar. 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 FloatScalarInterface.RelWithAbs<AU,A,RU,R>,A extends FloatScalarInterface.Abs<AU,A,RU,R>>
AFloatScalar. 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 FloatScalarInterface.RelWithAbs<AU,A,RU,R>,A extends FloatScalarInterface.Abs<AU,A,RU,R>>
AFloatScalar. plus(R left, A right)
Add an Absolute value to a Relative value.static <U extends Unit<U>,R extends FloatScalarInterface.Rel<U,R>>
RFloatScalar. plus(R left, R right)
Add a Relative value to a Relative value.Methods in org.djunits.value.vfloat.scalar.base with parameters of type Unit Modifier and Type Method Description static <S extends FloatScalarInterface<?,S>>
SFloatScalar. instantiateAnonymous(float value, Unit<?> unit)
Instantiate the FloatScalar based on its unit. -
Uses of Unit in org.djunits.value.vfloat.vector
Methods in org.djunits.value.vfloat.vector with type parameters of type Unit Modifier and Type Method Description <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>,V extends AbstractFloatVectorRel<U,S,V>>
VFloatSIVector. as(U displayUnit)
Return the current vector transformed to a vector in the given unit. -
Uses of Unit in org.djunits.value.vfloat.vector.base
Classes in org.djunits.value.vfloat.vector.base with type parameters of type Unit Modifier and Type Class Description class
AbstractFloatVector<U extends Unit<U>,S extends AbstractFloatScalar<U,S>,V extends AbstractFloatVector<U,S,V>>
The most basic abstract class for the FloatVector.class
AbstractFloatVectorAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractFloatScalarAbs<AU,A,RU,R>,AV extends AbstractFloatVectorAbs<AU,A,AV,RU,R,RV>,RU extends Unit<RU>,R extends AbstractFloatScalarRelWithAbs<AU,A,RU,R>,RV extends AbstractFloatVectorRelWithAbs<AU,A,AV,RU,R,RV>>
AbstractMutableFloatVectorRelWithAbs.java.class
AbstractFloatVectorRel<U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>,RV extends AbstractFloatVectorRel<U,S,RV>>
AbstractMutableFloatVectorRel.java.class
AbstractFloatVectorRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends AbstractFloatScalarAbs<AU,A,RU,R>,AV extends AbstractFloatVectorAbs<AU,A,AV,RU,R,RV>,RU extends Unit<RU>,R extends AbstractFloatScalarRelWithAbs<AU,A,RU,R>,RV extends AbstractFloatVectorRelWithAbs<AU,A,AV,RU,R,RV>>
AbstractMutableFloatVectorRelWithAbs.java.interface
FloatVectorInterface<U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
Interface for the FloatVector classes, specifically defining the methods that deal with float values.Methods in org.djunits.value.vfloat.vector.base with type parameters of type Unit Modifier and Type Method Description <UT extends Unit<UT>,ST extends AbstractFloatScalarRel<UT,ST>,VT extends AbstractFloatVectorRel<UT,ST,VT> & Relative<UT,VT>>
FloatSIVectorAbstractFloatVectorRel. divide(VT rel)
Divide this Relative value by a Relative value for a vector or matrix.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiate(float[] valuesInUnit, U unit, StorageType storageType)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiate(float[] valuesInUnit, U unit, StorageType storageType, Class<V> vectorClass)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiate(List<Float> valueListInUnit, U unit, StorageType storageType)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiate(List<Float> valueListInUnit, U unit, StorageType storageType, Class<V> vectorClass)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiate(SortedMap<Integer,Float> valueMapInUnit, int length, U unit, StorageType storageType)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiate(SortedMap<Integer,Float> valueMapInUnit, int length, U unit, StorageType storageType, Class<V> vectorClass)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiate(FloatVectorData values, U unit)
Instantiate the Mutable FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiate(FloatVectorData values, U unit, Class<V> vectorClass)
Instantiate the Mutable FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiate(S[] values, U displayUnit, StorageType storageType)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiate(S[] values, U displayUnit, StorageType storageType, Class<V> vectorClass)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateAnonymous(FloatVectorData values, Unit<?> unit)
Instantiate the Immutable FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateAnonymous(FloatVectorData values, Unit<?> unit, Class<V> vectorClass)
Instantiate the Immutable FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateList(List<S> valueList, U displayUnit, StorageType storageType)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateList(List<S> valueList, U displayUnit, StorageType storageType, Class<V> vectorClass)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateMap(SortedMap<Integer,S> valueMap, int length, U displayUnit, StorageType storageType)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateMap(SortedMap<Integer,S> valueMap, int length, U displayUnit, StorageType storageType, Class<V> vectorClass)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateSI(float[] valuesSI, U displayUnit, StorageType storageType)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateSI(float[] valuesSI, U displayUnit, StorageType storageType, Class<V> vectorClass)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateSI(List<Float> valueListSI, U displayUnit, StorageType storageType)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateSI(List<Float> valueListSI, U displayUnit, StorageType storageType, Class<V> vectorClass)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateSI(SortedMap<Integer,Float> valueMapSI, int length, U displayUnit, StorageType storageType)
Instantiate the FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateSI(SortedMap<Integer,Float> valueMapSI, int length, U displayUnit, StorageType storageType, Class<V> vectorClass)
Instantiate the FloatVector based on its unit.<UT extends Unit<UT>,ST extends AbstractFloatScalarRel<UT,ST>,VT extends AbstractFloatVectorRel<UT,ST,VT> & Relative<UT,VT>>
FloatSIVectorAbstractFloatVectorRel. times(VT rel)
Multiply a Relative value with this Relative value for a vector or matrix.Methods in org.djunits.value.vfloat.vector.base with parameters of type Unit Modifier and Type Method Description static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateAnonymous(FloatVectorData values, Unit<?> unit)
Instantiate the Immutable FloatVector based on its unit.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>,V extends FloatVectorInterface<U,S,V>>
VFloatVector. instantiateAnonymous(FloatVectorData values, Unit<?> unit, Class<V> vectorClass)
Instantiate the Immutable FloatVector based on its unit. -
Uses of Unit in org.djunits.value.vfloat.vector.data
Methods in org.djunits.value.vfloat.vector.data with type parameters of type Unit Modifier and Type Method Description static <U extends Unit<U>,S extends FloatScalarInterface<U,S>>
FloatVectorDataFloatVectorData. instantiate(S[] values, StorageType storageType)
Instantiate a FloatVectorData with the right data type.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>>
FloatVectorDataFloatVectorData. instantiateList(List<S> valueList, StorageType storageType)
Instantiate a FloatVectorData with the right data type.static <U extends Unit<U>,S extends FloatScalarInterface<U,S>>
FloatVectorDataFloatVectorData. instantiateMap(SortedMap<Integer,S> values, int length, StorageType storageType)
Instantiate a FloatVectorData with the right data type.
-