Uses of Class
org.djunits.unit.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 classAbsoluteLinearUnit<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>The AbsoluteUnit class indicates that a unit is absolute and has a "zero" point.static classAbsoluteLinearUnit.Builder<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>Builder for the AbsoluteUnit.classUnit<U extends Unit<U>>All units are internally stored relative to a standard unit with conversion factor.static classUnit.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 classAbsoluteLinearUnit<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>The AbsoluteUnit class indicates that a unit is absolute and has a "zero" point.classAbsoluteTemperatureUnitAbsoluteTemperature units.classAbsorbedDoseUnitThe units of absorbed dose (of ionizing radiation).classAccelerationUnitStandard acceleration unit based on distance and time.classAmountOfSubstanceUnitThe units of amount of substance.classAngleUnitStandard angle unit.classAngularAccelerationUnitStandard angular acceleration unit.classAngularVelocityUnitStandard angular velocity unit.classAreaUnitAreaUnit defines a number of common units for areas.classCatalyticActivityUnitThe units of catalytic activity.classDensityUnitStandard density unit based on mass per volume.classDimensionlessUnitDimensionless unit.classDirectionUnitStandard direction unit.classDurationUnitStandard duration units.classElectricalCapacitanceUnitThe units of electrical capacitance.classElectricalChargeUnitUnits for electrical charge.classElectricalConductanceUnitThe units of electrical conductance.classElectricalCurrentUnitStandard units for electrical current.classElectricalInductanceUnitThe units of electrical capacitance.classElectricalPotentialUnitThe units of electrical potential (voltage).classElectricalResistanceUnitThe units of electrical resistance.classEnergyUnitThe units of energy.classEquivalentDoseUnitThe units of equivalent dose (of ionizing radiation).classFlowMassUnitThe mass flow rate is the mass of a substance which passes through a given surface per unit of time (wikipedia).classFlowVolumeUnitThe volume flow rate is the volume of fluid which passes through a given surface per unit of time (wikipedia).classForceUnitThe units of force.classFrequencyUnitStandard frequency unit based on time.classIlluminanceUnitThe units of illuminance.classLengthUnitStandard length units.classLinearDensityUnitObjects per unit of distance.classLuminousFluxUnitThe units of luminous flux.classLuminousIntensityUnitThe units of luminous intensity.classMagneticFluxDensityUnitThe units of magnetic flux density, a.k.a.classMagneticFluxUnitThe units of magnetic flux.classMassUnitStandard mass units.classMomentumUnitAccording to Wikipedia: Momentum or linear momentum, or translational momentum is the product of the mass and velocity of an object.classPositionUnitStandard absolute position units.classPowerUnitThe units of power.classPressureUnitThe units of pressure.classRadioActivityUnitThe units of radio activity (decays per unit of time).classSIUnitSIUnit describes a unit with arbitrary SI dimensions for which no predefined unit exists.classSolidAngleUnitStandard solid angle unit.classSpeedUnitAccording 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.classTemperatureUnitTemperature units.classTimeUnitStandard absolute time units.classTorqueUnitThe units of torque (moment of force).classVolumeUnitVolumeUnit 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 classQuantity<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 classAbstractIndexedValue<U extends Unit<U>,S extends Scalar<U,S>,T extends AbstractIndexedValue<U,S,T,D>,D extends AbstractStorage<D>>AbstractIndexedValue.java.classAbstractScalar<U extends Unit<U>,S extends Scalar<U,S>>AbstractScalar is a class to help construct Scalar classes.classAbstractValue<U extends Unit<U>,T extends Value<U,T>>AbstractValue is a class to help construct Scalar, Vector, and Matrix classes.interfaceIndexedValue<U extends Unit<U>,S extends Scalar<U,S>,T extends IndexedValue<U,S,T>>IndexedValue.java.interfaceRelative<U extends Unit<U>,T extends Value<U,T>>Relative values express differences.interfaceValue<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 interfaceMatrix<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 interfaceMatrix.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 interfaceMatrix.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 interfaceMatrix.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.interfaceScalar<U extends Unit<U>,S extends Scalar<U,S>>Scalar to distinguish a scalar from vectors and matrices.static interfaceScalar.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 interfaceScalar.Rel<U extends Unit<U>,R extends Scalar.Rel<U,R>>Methods for Relative Scalar.static interfaceScalar.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.interfaceVector<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 interfaceVector.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 interfaceVector.Rel<U extends Unit<U>,S extends Scalar<U,S>,RV extends Vector.Rel<U,S,RV>>Methods for Relative Vector.static interfaceVector.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 interfaceDimensionlessFunctions<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.interfaceValueFunctions<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 doubleValueUtil. expressAsSIUnit(double value, Unit<?> unit)Convert a value in a given unit into the equivalent in the standard SI unit.static doubleValueUtil. 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 classAbstractDoubleMatrix<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.classAbstractDoubleMatrixAbs<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.classAbstractDoubleMatrixRel<U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>,RV extends AbstractDoubleVectorRel<U,S,RV>,RM extends AbstractDoubleMatrixRel<U,S,RV,RM>>AbstractDoubleMatrixRel.java.classAbstractDoubleMatrixRelWithAbs<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.interfaceDoubleMatrixInterface<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.classDoubleSparseValue<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. checkRectangularAndNonEmpty(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 classAbstractDoubleScalar<U extends Unit<U>,S extends AbstractDoubleScalar<U,S>>The most basic abstract class for the DoubleScalar.classAbstractDoubleScalarAbs<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.classAbstractDoubleScalarRel<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.classAbstractDoubleScalarRelWithAbs<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.interfaceDoubleScalarInterface<U extends Unit<U>,S extends DoubleScalarInterface<U,S>>Double scalar functions.static interfaceDoubleScalarInterface.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 interfaceDoubleScalarInterface.Rel<U extends Unit<U>,R extends DoubleScalarInterface.Rel<U,R>>Methods for Relative DoubleScalar.static interfaceDoubleScalarInterface.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 classAbstractDoubleVector<U extends Unit<U>,S extends AbstractDoubleScalar<U,S>,V extends AbstractDoubleVector<U,S,V>>The most basic abstract class for the DoubleVector.classAbstractDoubleVectorAbs<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.classAbstractDoubleVectorRel<U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>,RV extends AbstractDoubleVectorRel<U,S,RV>>AbstractMutableDoubleVectorRel.java.classAbstractDoubleVectorRelWithAbs<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.interfaceDoubleVectorInterface<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 classAbstractFloatMatrix<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.classAbstractFloatMatrixAbs<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.classAbstractFloatMatrixRel<U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>,RV extends AbstractFloatVectorRel<U,S,RV>,RM extends AbstractFloatMatrixRel<U,S,RV,RM>>AbstractFloatMatrixRel.java.classAbstractFloatMatrixRelWithAbs<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.interfaceFloatMatrixInterface<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.classFloatSparseValue<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. checkRectangularAndNonEmpty(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 classAbstractFloatScalar<U extends Unit<U>,S extends AbstractFloatScalar<U,S>>The most basic abstract class for the FloatScalar.classAbstractFloatScalarAbs<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.classAbstractFloatScalarRel<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.classAbstractFloatScalarRelWithAbs<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.interfaceFloatScalarInterface<U extends Unit<U>,S extends FloatScalarInterface<U,S>>Float scalar functions.static interfaceFloatScalarInterface.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 interfaceFloatScalarInterface.Rel<U extends Unit<U>,R extends FloatScalarInterface.Rel<U,R>>Methods for Relative FloatScalar.static interfaceFloatScalarInterface.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 classAbstractFloatVector<U extends Unit<U>,S extends AbstractFloatScalar<U,S>,V extends AbstractFloatVector<U,S,V>>The most basic abstract class for the FloatVector.classAbstractFloatVectorAbs<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.classAbstractFloatVectorRel<U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>,RV extends AbstractFloatVectorRel<U,S,RV>>AbstractMutableFloatVectorRel.java.classAbstractFloatVectorRelWithAbs<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.interfaceFloatVectorInterface<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.