Uses of Class
org.djunits.unit.Unit
Packages that use Unit
Package
Description
Base information about the quantities such as the SI dimensions.
Units for version 4 of DJUNITS.
Base classes for unit-based 0-d (Scalar), 1-d (Vector) and 2-d (Matrix) values.
Base value interfaces and classes, e.g. to distinguish between scalar, vector and matrix..
Generic interfaces and default implementations for Scalar, Vector and Matrix functions.
Generic utilities for all values (Scalar, Vector, Matrix).
Interfaces, abstract classes and utilities for DoubleMatrix.
Internal data storage for the Matrix.
Double Scalar storage and calculations with units, absolute/relative.Note: All code in this package is generated.
Interfaces, abstract classes and utilities for DoubleScalar.
Interfaces, abstract classes and utilities for DoubleVector.
Internal data storage for the Vector.
Interfaces, abstract classes and utilities for FloatMatrix.
package-info.java.
Float Scalar storage and calculations with units, absolute/relative.
Utilities, interfaces and abstract classes for FloatScalar.
Interfaces, abstract classes and utilities for FloatVector.
Internal storage for the FloatVector.
-
Uses of Unit in org.djunits.quantity
Classes in org.djunits.quantity with type parameters of type Unit -
Uses of Unit in org.djunits.unit
Classes in org.djunits.unit with type parameters of type UnitModifier and TypeClassDescriptionclassAbsoluteLinearUnit<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.classAll 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.unitModifier and TypeClassDescriptionclassAbsoluteLinearUnit<AU extends AbsoluteLinearUnit<AU,RU>, RU extends Unit<RU>> The AbsoluteUnit class indicates that a unit is absolute and has a "zero" point.classAbsoluteTemperature units.classThe units of absorbed dose (of ionizing radiation).classStandard acceleration unit based on distance and time.classThe units of amount of substance.classStandard angle unit.classStandard angular acceleration unit.classStandard angular velocity unit.classAreaUnit defines a number of common units for areas.classThe units of catalytic activity.classStandard density unit based on mass per volume.final classDimensionless unit.classStandard direction unit.classStandard duration units.classThe units of electrical capacitance.classUnits for electrical charge.classThe units of electrical conductance.classStandard units for electrical current.classThe units of electrical capacitance.classThe units of electrical potential (voltage).classThe units of electrical resistance.classThe units of energy.classThe units of equivalent dose (of ionizing radiation).classThe mass flow rate is the mass of a substance which passes through a given surface per unit of time (wikipedia).classThe volume flow rate is the volume of fluid which passes through a given surface per unit of time (wikipedia).classThe units of force.classStandard frequency unit based on time.classThe units of illuminance.classStandard length units.classObjects per unit of distance.classThe units of luminous flux.classThe units of luminous intensity.classThe units of magnetic flux density, a.k.a. magnetic induction.classThe units of magnetic flux.classStandard mass units.classAccording to Wikipedia: Momentum or linear momentum, or translational momentum is the product of the mass and velocity of an object.classStandard absolute position units.classThe units of power.classThe units of pressure.classThe units of radio activity (decays per unit of time).classSIUnit describes a unit with arbitrary SI dimensions for which no predefined unit exists.classStandard solid angle unit.classAccording 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.classTemperature units.classStandard absolute time units.classThe units of torque (moment of force).classVolumeUnit defines a number of common units for volumes. -
Uses of Unit in org.djunits.value
Classes in org.djunits.value with type parameters of type UnitModifier and TypeInterfaceDescriptioninterfaceAbsolute<AU extends AbsoluteLinearUnit<AU,RU>, A extends Absolute<AU, A, RU, R>, RU extends Unit<RU>, R extends RelWithAbs<AU, A, RU, R>> Absolute values are quantities that are measured from some agreed upon reference point.classIndexedValue<U extends Unit<U>,S extends Scalar<U, S>, T extends IndexedValue<U, S, T, D>, D extends Storage<D>> AbstractIndexedValue.java.interfaceRelative values express differences.interfaceRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends Absolute<AU, A, RU, R>, RU extends Unit<RU>, R extends RelWithAbs<AU, A, RU, R>> Relative values express differences; a RelWithAbs value represents a relative quantity that has a corresponding absolute quantity.interfaceValue 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 UnitModifier and TypeClassDescriptionclassMatrix<U extends Unit<U>,S extends Scalar<U, S>, V extends Vector<U, S, V, DV>, DV extends Storage<DV>, M extends Matrix<U, S, V, DV, M, DM>, DM extends Storage<DM>> Matrix to distinguish a matrix from scalars and matrixs.classScalar to distinguish a scalar from vectors and matrices.classVector to distinguish a vector from vectors and matrices. -
Uses of Unit in org.djunits.value.function
Classes in org.djunits.value.function with type parameters of type UnitModifier and TypeInterfaceDescriptioninterfaceDimensionlessFunctions<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. -
Uses of Unit in org.djunits.value.util
Methods in org.djunits.value.util with parameters of type UnitModifier and TypeMethodDescriptionstatic 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.base
Classes in org.djunits.value.vdouble.matrix.base with type parameters of type UnitModifier and TypeClassDescriptionclassDoubleMatrix<U extends Unit<U>,S extends DoubleScalar<U, S>, V extends DoubleVector<U, S, V>, M extends DoubleMatrix<U, S, V, M>> DoubleMatrix utility methods, e.g., for creating DoubleMatrixs from different types of data.classDoubleMatrixAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends DoubleScalarAbs<AU, A, RU, R>, AV extends DoubleVectorAbs<AU, A, AV, RU, R, RV>, AM extends DoubleMatrixAbs<AU, A, AV, AM, RU, R, RV, RM>, RU extends Unit<RU>, R extends DoubleScalarRelWithAbs<AU, A, RU, R>, RV extends DoubleVectorRelWithAbs<AU, A, AV, RU, R, RV>, RM extends DoubleMatrixRelWithAbs<AU, A, AV, AM, RU, R, RV, RM>> AbstractMutableDoubleMatrixRelWithAbs.java.classDoubleMatrixRel<U extends Unit<U>,S extends DoubleScalarRel<U, S>, RV extends DoubleVectorRel<U, S, RV>, RM extends DoubleMatrixRel<U, S, RV, RM>> DoubleMatrixRel.java.classDoubleMatrixRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends DoubleScalarAbs<AU, A, RU, R>, AV extends DoubleVectorAbs<AU, A, AV, RU, R, RV>, AM extends DoubleMatrixAbs<AU, A, AV, AM, RU, R, RV, RM>, RU extends Unit<RU>, R extends DoubleScalarRelWithAbs<AU, A, RU, R>, RV extends DoubleVectorRelWithAbs<AU, A, AV, RU, R, RV>, RM extends DoubleMatrixRelWithAbs<AU, A, AV, AM, RU, R, RV, RM>> AbstractMutableDoubleMatrixRelWithAbs.java.classDoubleSparseValue<U extends Unit<U>,S extends DoubleScalar<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 UnitModifier and TypeMethodDescriptionfinal <UT extends Unit<UT>,ST extends DoubleScalar<UT, ST>, VT extends DoubleVector<UT, ST, VT>, MT extends DoubleMatrix<UT, ST, VT, MT> & Relative<UT, MT>>
SIMatrixDoubleMatrixRel.divide(MT rel) Divide this Relative matrix by another Relative matrix.final <UT extends Unit<UT>,ST extends DoubleScalar<UT, ST>, VT extends DoubleVector<UT, ST, VT>, MT extends DoubleMatrix<UT, ST, VT, MT> & Relative<UT, MT>>
SIMatrixDoubleMatrixRel.times(MT rel) Multiply a Relative value with this Relative value for a matrix or matrix. -
Uses of Unit in org.djunits.value.vdouble.matrix.data
Methods in org.djunits.value.vdouble.matrix.data with type parameters of type UnitModifier and TypeMethodDescriptionprotected static <U extends Unit<U>,S extends DoubleScalar<U, S>>
S[][]DoubleMatrixData.checkRectangularAndNonNull(S[][] values) Check that a 2D array of float is not null, not empty and not jagged; i.e. all rows have the same length.static <U extends Unit<U>,S extends DoubleScalar<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 DoubleScalar<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 UnitModifier and TypeMethodDescriptionfinal <U extends Unit<U>,S extends DoubleScalarRel<U, S>>
SSIScalar.as(U displayUnit) Return the current scalar transformed to a scalar in the given unit.static <U extends Unit<U>,S extends DoubleScalar<U, S>>
SSIScalar.instantiate(double value, U unit) Instantiate the DoubleScalar based on its unit.Methods in org.djunits.value.vdouble.scalar with parameters of type UnitModifier and TypeMethodDescriptionstatic <S extends DoubleScalar<?,S>>
SSIScalar.instantiateAnonymous(double value, Unit<?> unit) Instantiate the DoubleScalar based on its unit. -
Uses of Unit in org.djunits.value.vdouble.scalar.base
Classes in org.djunits.value.vdouble.scalar.base with type parameters of type UnitModifier and TypeClassDescriptionclassDoubleScalar<U extends Unit<U>,S extends DoubleScalar<U, S>> The most basic abstract class for the DoubleScalar.classDoubleScalarAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends DoubleScalarAbs<AU, A, RU, R>, RU extends Unit<RU>, R extends DoubleScalarRelWithAbs<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.classDoubleScalarRel<U extends Unit<U>,R extends DoubleScalarRel<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.classDoubleScalarRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends DoubleScalarAbs<AU, A, RU, R>, RU extends Unit<RU>, R extends DoubleScalarRelWithAbs<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. -
Uses of Unit in org.djunits.value.vdouble.vector.base
Classes in org.djunits.value.vdouble.vector.base with type parameters of type UnitModifier and TypeClassDescriptionclassDoubleVector<U extends Unit<U>,S extends DoubleScalar<U, S>, V extends DoubleVector<U, S, V>> The most basic abstract class for the DoubleVector.classDoubleVectorAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends DoubleScalarAbs<AU, A, RU, R>, AV extends DoubleVectorAbs<AU, A, AV, RU, R, RV>, RU extends Unit<RU>, R extends DoubleScalarRelWithAbs<AU, A, RU, R>, RV extends DoubleVectorRelWithAbs<AU, A, AV, RU, R, RV>> AbstractMutableDoubleVectorRelWithAbs.java.classDoubleVectorRel<U extends Unit<U>,S extends DoubleScalarRel<U, S>, RV extends DoubleVectorRel<U, S, RV>> AbstractMutableDoubleVectorRel.java.classDoubleVectorRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends DoubleScalarAbs<AU, A, RU, R>, AV extends DoubleVectorAbs<AU, A, AV, RU, R, RV>, RU extends Unit<RU>, R extends DoubleScalarRelWithAbs<AU, A, RU, R>, RV extends DoubleVectorRelWithAbs<AU, A, AV, RU, R, RV>> AbstractMutableDoubleVectorRelWithAbs.java.Methods in org.djunits.value.vdouble.vector.base with type parameters of type UnitModifier and TypeMethodDescriptionfinal <UT extends Unit<UT>,ST extends DoubleScalarRel<UT, ST>, VT extends DoubleVectorRel<UT, ST, VT>>
SIVectorDoubleVectorRel.divide(VT rel) Divide this Relative value by a Relative value for a vector or matrix.final <UT extends Unit<UT>,ST extends DoubleScalarRel<UT, ST>, VT extends DoubleVectorRel<UT, ST, VT> & Relative<UT, VT>>
SIVectorDoubleVectorRel.times(VT rel) Multiply a Relative value with this Relative value for a vector or matrix. -
Uses of Unit in org.djunits.value.vdouble.vector.data
Methods in org.djunits.value.vdouble.vector.data with type parameters of type UnitModifier and TypeMethodDescriptionstatic <U extends Unit<U>,S extends DoubleScalar<U, S>>
DoubleVectorDataDoubleVectorData.instantiate(S[] values, StorageType storageType) Instantiate a DoubleVectorData with the right data type. -
Uses of Unit in org.djunits.value.vfloat.matrix.base
Classes in org.djunits.value.vfloat.matrix.base with type parameters of type UnitModifier and TypeClassDescriptionclassFloatMatrix<U extends Unit<U>,S extends FloatScalar<U, S>, V extends FloatVector<U, S, V>, M extends FloatMatrix<U, S, V, M>> FloatMatrix utility methods, e.g., for creating FloatMatrixs from different types of data.classFloatMatrixAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends FloatScalarAbs<AU, A, RU, R>, AV extends FloatVectorAbs<AU, A, AV, RU, R, RV>, AM extends FloatMatrixAbs<AU, A, AV, AM, RU, R, RV, RM>, RU extends Unit<RU>, R extends FloatScalarRelWithAbs<AU, A, RU, R>, RV extends FloatVectorRelWithAbs<AU, A, AV, RU, R, RV>, RM extends FloatMatrixRelWithAbs<AU, A, AV, AM, RU, R, RV, RM>> AbstractMutableFloatMatrixRelWithAbs.java.classFloatMatrixRel<U extends Unit<U>,S extends FloatScalarRel<U, S>, RV extends FloatVectorRel<U, S, RV>, RM extends FloatMatrixRel<U, S, RV, RM>> FloatMatrixRel.java.classFloatMatrixRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends FloatScalarAbs<AU, A, RU, R>, AV extends FloatVectorAbs<AU, A, AV, RU, R, RV>, AM extends FloatMatrixAbs<AU, A, AV, AM, RU, R, RV, RM>, RU extends Unit<RU>, R extends FloatScalarRelWithAbs<AU, A, RU, R>, RV extends FloatVectorRelWithAbs<AU, A, AV, RU, R, RV>, RM extends FloatMatrixRelWithAbs<AU, A, AV, AM, RU, R, RV, RM>> AbstractMutableFloatMatrixRelWithAbs.java.classFloatSparseValue<U extends Unit<U>,S extends FloatScalar<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 UnitModifier and TypeMethodDescriptionfinal <UT extends Unit<UT>,ST extends FloatScalar<UT, ST>, VT extends FloatVector<UT, ST, VT>, MT extends FloatMatrix<UT, ST, VT, MT> & Relative<UT, MT>>
FloatSIMatrixFloatMatrixRel.divide(MT rel) Divide this Relative matrix by another Relative matrix.final <UT extends Unit<UT>,ST extends FloatScalar<UT, ST>, VT extends FloatVector<UT, ST, VT>, MT extends FloatMatrix<UT, ST, VT, MT> & Relative<UT, MT>>
FloatSIMatrixFloatMatrixRel.times(MT rel) Multiply a Relative value with this Relative value for a matrix or matrix. -
Uses of Unit in org.djunits.value.vfloat.matrix.data
Methods in org.djunits.value.vfloat.matrix.data with type parameters of type UnitModifier and TypeMethodDescriptionprotected static <U extends Unit<U>,S extends FloatScalar<U, S>>
S[][]FloatMatrixData.checkRectangularAndNonNull(S[][] values) Check that a 2D array of float is not null, not empty and not jagged; i.e. all rows have the same length.static <U extends Unit<U>,S extends FloatScalar<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 FloatScalar<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 UnitModifier and TypeMethodDescriptionfinal <U extends Unit<U>,S extends FloatScalarRel<U, S>>
SFloatSIScalar.as(U displayUnit) Return the current scalar transformed to a scalar in the given unit.static <U extends Unit<U>,S extends FloatScalar<U, S>>
SFloatSIScalar.instantiate(float value, U unit) Instantiate the FloatScalar based on its unit.Methods in org.djunits.value.vfloat.scalar with parameters of type UnitModifier and TypeMethodDescriptionstatic <S extends FloatScalar<?,S>>
SFloatSIScalar.instantiateAnonymous(float value, Unit<?> unit) Instantiate the FloatScalar based on its unit. -
Uses of Unit in org.djunits.value.vfloat.scalar.base
Classes in org.djunits.value.vfloat.scalar.base with type parameters of type UnitModifier and TypeClassDescriptionclassFloatScalar<U extends Unit<U>,S extends FloatScalar<U, S>> Static methods to create and operate on FloatScalars.classFloatScalarAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends FloatScalarAbs<AU, A, RU, R>, RU extends Unit<RU>, R extends FloatScalarRelWithAbs<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.classFloatScalarRel<U extends Unit<U>,R extends FloatScalarRel<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.classFloatScalarRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends FloatScalarAbs<AU, A, RU, R>, RU extends Unit<RU>, R extends FloatScalarRelWithAbs<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. -
Uses of Unit in org.djunits.value.vfloat.vector.base
Classes in org.djunits.value.vfloat.vector.base with type parameters of type UnitModifier and TypeClassDescriptionclassFloatVector<U extends Unit<U>,S extends FloatScalar<U, S>, V extends FloatVector<U, S, V>> The most basic abstract class for the FloatVector.classFloatVectorAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends FloatScalarAbs<AU, A, RU, R>, AV extends FloatVectorAbs<AU, A, AV, RU, R, RV>, RU extends Unit<RU>, R extends FloatScalarRelWithAbs<AU, A, RU, R>, RV extends FloatVectorRelWithAbs<AU, A, AV, RU, R, RV>> AbstractMutableFloatVectorRelWithAbs.java.classFloatVectorRel<U extends Unit<U>,S extends FloatScalarRel<U, S>, RV extends FloatVectorRel<U, S, RV>> AbstractMutableFloatVectorRel.java.classFloatVectorRelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>, A extends FloatScalarAbs<AU, A, RU, R>, AV extends FloatVectorAbs<AU, A, AV, RU, R, RV>, RU extends Unit<RU>, R extends FloatScalarRelWithAbs<AU, A, RU, R>, RV extends FloatVectorRelWithAbs<AU, A, AV, RU, R, RV>> AbstractMutableFloatVectorRelWithAbs.java.Methods in org.djunits.value.vfloat.vector.base with type parameters of type UnitModifier and TypeMethodDescriptionfinal <UT extends Unit<UT>,ST extends FloatScalarRel<UT, ST>, VT extends FloatVectorRel<UT, ST, VT> & Relative<UT, VT>>
FloatSIVectorFloatVectorRel.divide(VT rel) Divide this Relative value by a Relative value for a vector or matrix.final <UT extends Unit<UT>,ST extends FloatScalarRel<UT, ST>, VT extends FloatVectorRel<UT, ST, VT> & Relative<UT, VT>>
FloatSIVectorFloatVectorRel.times(VT rel) Multiply a Relative value with this Relative value for a vector or matrix. -
Uses of Unit in org.djunits.value.vfloat.vector.data
Methods in org.djunits.value.vfloat.vector.data with type parameters of type UnitModifier and TypeMethodDescriptionstatic <U extends Unit<U>,S extends FloatScalar<U, S>>
FloatVectorDataFloatVectorData.instantiate(S[] values, StorageType storageType) Instantiate a FloatVectorData with the right data type.