Uses of Class
org.djunits.unit.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
-
Uses of Unit in org.djunits.unit
Modifier and TypeClassDescriptionclass
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
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.Modifier and TypeClassDescriptionclass
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
AbsoluteTemperature units.class
The units of absorbed dose (of ionizing radiation).class
Standard acceleration unit based on distance and time.class
The units of amount of substance.class
Standard angle unit.class
Standard angular acceleration unit.class
Standard angular velocity unit.class
AreaUnit defines a number of common units for areas.class
The units of catalytic activity.class
Standard density unit based on mass per volume.final class
Dimensionless unit.class
Standard direction unit.class
Standard duration units.class
The units of electrical capacitance.class
Units for electrical charge.class
The units of electrical conductance.class
Standard units for electrical current.class
The units of electrical capacitance.class
The units of electrical potential (voltage).class
The units of electrical resistance.class
The units of energy.class
The units of equivalent dose (of ionizing radiation).class
The mass flow rate is the mass of a substance which passes through a given surface per unit of time (wikipedia).class
The volume flow rate is the volume of fluid which passes through a given surface per unit of time (wikipedia).class
The units of force.class
Standard frequency unit based on time.class
The units of illuminance.class
Standard length units.class
Objects per unit of distance.class
The units of luminous flux.class
The units of luminous intensity.class
The units of magnetic flux density, a.k.a. magnetic induction.class
The units of magnetic flux.class
Standard mass units.class
According to Wikipedia: Momentum or linear momentum, or translational momentum is the product of the mass and velocity of an object.class
Standard absolute position units.class
The units of power.class
The units of pressure.class
The units of radio activity (decays per unit of time).class
SIUnit describes a unit with arbitrary SI dimensions for which no predefined unit exists.class
Standard solid angle unit.class
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
Temperature units.class
Standard absolute time units.class
The units of torque (moment of force).class
VolumeUnit defines a number of common units for volumes. -
Uses of Unit in org.djunits.value
Modifier and TypeInterfaceDescriptioninterface
Absolute<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.class
IndexedValue<U extends Unit<U>,
S extends Scalar<U, S>, T extends IndexedValue<U, S, T, D>, D extends Storage<D>> AbstractIndexedValue.java.interface
Relative values express differences.interface
RelWithAbs<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.interface
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
Modifier and TypeClassDescriptionclass
Matrix<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.class
Scalar to distinguish a scalar from vectors and matrices.class
Vector to distinguish a vector from vectors and matrices. -
Uses of Unit in org.djunits.value.function
Modifier and TypeInterfaceDescriptioninterface
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. -
Uses of Unit in org.djunits.value.util
Modifier and TypeMethodDescriptionstatic 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.base
Modifier and TypeClassDescriptionclass
DoubleMatrix<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.class
DoubleMatrixAbs<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.class
DoubleMatrixRel<U extends Unit<U>,
S extends DoubleScalarRel<U, S>, RV extends DoubleVectorRel<U, S, RV>, RM extends DoubleMatrixRel<U, S, RV, RM>> DoubleMatrixRel.java.class
DoubleMatrixRelWithAbs<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.class
DoubleSparseValue<U extends Unit<U>,
S extends DoubleScalar<U, S>> Data point for a matrix that can be used for constructing sparse matrices.Modifier 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
Modifier 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
Modifier 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. -
Uses of Unit in org.djunits.value.vdouble.scalar.base
Modifier and TypeClassDescriptionclass
DoubleScalar<U extends Unit<U>,
S extends DoubleScalar<U, S>> The most basic abstract class for the DoubleScalar.class
DoubleScalarAbs<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.class
DoubleScalarRel<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.class
DoubleScalarRelWithAbs<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.Modifier and TypeMethodDescriptionstatic <U extends Unit<U>,
S extends DoubleScalar<U, S>>
SDoubleScalar.instantiate
(double value, U unit) Instantiate the DoubleScalar based on its unit.static <U extends Unit<U>,
S extends DoubleScalar<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 DoubleScalarRelWithAbs<AU, A, RU, R>, A extends DoubleScalarAbs<AU, A, RU, R>>
ADoubleScalar.interpolate
(A zero, A one, double ratio) Interpolate between two values.static <U extends Unit<U>,
R extends DoubleScalarRel<U, R>>
RDoubleScalar.interpolate
(R zero, R one, double ratio) Interpolate between two values.static <U extends Unit<U>,
T extends DoubleScalar<U, T>>
TDoubleScalar.max
(T r1, T r2) Return the maximum value of two relative scalars.static <U extends Unit<U>,
T extends DoubleScalar<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 DoubleScalar<U, T>>
TDoubleScalar.min
(T r1, T r2) Return the minimum value of two relative scalars.static <U extends Unit<U>,
T extends DoubleScalar<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 DoubleScalarRelWithAbs<AU, A, RU, R>, A extends DoubleScalarAbs<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 DoubleScalarRelWithAbs<AU, A, RU, R>, A extends DoubleScalarAbs<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 DoubleScalarRel<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 DoubleScalarRelWithAbs<AU, A, RU, R>, A extends DoubleScalarAbs<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 DoubleScalarRelWithAbs<AU, A, RU, R>, A extends DoubleScalarAbs<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 DoubleScalarRel<U, R>>
RDoubleScalar.plus
(R left, R right) Add a Relative value to a Relative value.Modifier and TypeMethodDescriptionstatic <S extends DoubleScalar<?,
S>>
SDoubleScalar.instantiateAnonymous
(double value, Unit<?> unit) Instantiate the DoubleScalar based on its unit. -
Uses of Unit in org.djunits.value.vdouble.vector.base
Modifier and TypeClassDescriptionclass
DoubleVector<U extends Unit<U>,
S extends DoubleScalar<U, S>, V extends DoubleVector<U, S, V>> The most basic abstract class for the DoubleVector.class
DoubleVectorAbs<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.class
DoubleVectorRel<U extends Unit<U>,
S extends DoubleScalarRel<U, S>, RV extends DoubleVectorRel<U, S, RV>> AbstractMutableDoubleVectorRel.java.class
DoubleVectorRelWithAbs<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.Modifier 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
Modifier 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
Modifier and TypeClassDescriptionclass
FloatMatrix<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.class
FloatMatrixAbs<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.class
FloatMatrixRel<U extends Unit<U>,
S extends FloatScalarRel<U, S>, RV extends FloatVectorRel<U, S, RV>, RM extends FloatMatrixRel<U, S, RV, RM>> FloatMatrixRel.java.class
FloatMatrixRelWithAbs<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.class
FloatSparseValue<U extends Unit<U>,
S extends FloatScalar<U, S>> Data point for a matrix that can be used for constructing sparse matrices.Modifier 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
Modifier 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
Modifier 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. -
Uses of Unit in org.djunits.value.vfloat.scalar.base
Modifier and TypeClassDescriptionclass
FloatScalar<U extends Unit<U>,
S extends FloatScalar<U, S>> Static methods to create and operate on FloatScalars.class
FloatScalarAbs<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.class
FloatScalarRel<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.class
FloatScalarRelWithAbs<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.Modifier and TypeMethodDescriptionstatic <U extends Unit<U>,
S extends FloatScalar<U, S>>
SFloatScalar.instantiate
(float value, U unit) Instantiate the FloatScalar based on its unit.static <U extends Unit<U>,
S extends FloatScalar<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 FloatScalarRelWithAbs<AU, A, RU, R>, A extends FloatScalarAbs<AU, A, RU, R>>
AFloatScalar.interpolate
(A zero, A one, float ratio) Interpolate between two values.static <U extends Unit<U>,
R extends FloatScalarRel<U, R>>
RFloatScalar.interpolate
(R zero, R one, float ratio) Interpolate between two values.static <U extends Unit<U>,
T extends FloatScalar<U, T>>
TFloatScalar.max
(T r1, T r2) Return the maximum value of two relative scalars.static <U extends Unit<U>,
T extends FloatScalar<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 FloatScalar<U, T>>
TFloatScalar.min
(T r1, T r2) Return the minimum value of two relative scalars.static <U extends Unit<U>,
T extends FloatScalar<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 FloatScalarRelWithAbs<AU, A, RU, R>, A extends FloatScalarAbs<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 FloatScalarRelWithAbs<AU, A, RU, R>, A extends FloatScalarAbs<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 FloatScalarRel<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 FloatScalarRelWithAbs<AU, A, RU, R>, A extends FloatScalarAbs<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 FloatScalarRelWithAbs<AU, A, RU, R>, A extends FloatScalarAbs<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 FloatScalarRel<U, R>>
RFloatScalar.plus
(R left, R right) Add a Relative value to a Relative value.Modifier and TypeMethodDescriptionstatic <S extends FloatScalar<?,
S>>
SFloatScalar.instantiateAnonymous
(float value, Unit<?> unit) Instantiate the FloatScalar based on its unit. -
Uses of Unit in org.djunits.value.vfloat.vector.base
Modifier and TypeClassDescriptionclass
FloatVector<U extends Unit<U>,
S extends FloatScalar<U, S>, V extends FloatVector<U, S, V>> The most basic abstract class for the FloatVector.class
FloatVectorAbs<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.class
FloatVectorRel<U extends Unit<U>,
S extends FloatScalarRel<U, S>, RV extends FloatVectorRel<U, S, RV>> AbstractMutableFloatVectorRel.java.class
FloatVectorRelWithAbs<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.Modifier 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
Modifier 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.