Uses of Interface
org.djunits.unit.Unit
Packages that use Unit
Package
Description
Methods to format quantity-related values for display.
The quantity package stores information about quantities with their units.
Definition classes for quantities.
Base classes to encode and store units.
The org.djunits.si package contains classes that can work with and manipulate SI prefixes and SI dimensions.
Generic functions for Quantity, Vector and Matrix.
1-element vector and matrix classes with a unit.
2-element vector and matrix classes with a unit.
3-element vector and matrix classes with a unit.
Definition classes for vectors and matrices.
Square matrix implementations with dimension N.
Rectangular matrix implementations with dimension NxM.
Storage objects for larger vectors and matrices (dense/sparse, double/float).
Two-dimensonal tables with quantities.
-
Uses of Unit in org.djunits.formatter
Fields in org.djunits.formatter declared as UnitModifier and TypeFieldDescription(package private) Unit<?,?> FormatContext.displayUnitDisplay unit to use.(package private) Unit<?,?> Formatter.unitthe unit to express the value in.Methods in org.djunits.formatter with parameters of type UnitModifier and TypeMethodDescriptionFormat.setDisplayUnit(Unit<?, ?> unit) Set the display unit to use. -
Uses of Unit in org.djunits.quantity
Classes in org.djunits.quantity that implement UnitModifier and TypeClassDescriptionstatic classAbsorbedDose.Unit encodes the units of absorbed dose (of ionizing radiation).static classAcceleration.Unit encodes the units of acceleration.static classAmountOfSubstance.Unit encodes the units of amount of substance (base unit is mol).static classAngle.Unit encodes the units of angle (radians, degrees).static classAngularAcceleration.Unit encodes the units of angle (radians or degrees per second squared).static classAngularVelocity.Unit encodes the units of angle (radians, degrees).static classArea.Unit encodes the area unit (length x length).static classArealObjectDensity.Unit encodes the unit for number of objects per unit of area.static classCatalyticActivity.Unit encodes the units of the speed of a chamical reaction, and is expressed in mol/s.static classDensity.Unit encodes the units of density based on mass per volume.static classDuration.Unit encodes the units of relative time.static classElectricalCapacitance.Unit encodes the units of capacitance (in farad).static classElectricalConductance.Unit encodes the units of electrical conductance, and is expressed in Siemens.static classElectricalInductance.Unit encodes the units of electromagnetic inductance.static classElectricalResistance.Unit encodes the opposition to the flow of electric current.static classElectricCharge.Unit is a unit of electric charge and is expressed in Coulomb.static classElectricCurrent.Unit encodes the units of electric current (A).static classElectricPotential.Unit encodes the units of electric potential (difference)static classEnergy.Unit encodes the units of energy.static classEquivalentDose.Unit encodes the unit of radiation exposure.static classFlowMass.Unit encodes the units of mass flow.static classFlowVolume.Unit encodes the units of volume flow.static classForce.Unit encodes the units of force.static classFrequency.Unit encodes the units of frequency.static classIlluminance.Unit encodes the units of illuminance.static classLength.Unit encodes the length unit.static classLinearDensity.Unit encodes unit for mass per unit length.static classLinearObjectDensity.Unit encodes the unit for the number of objects per unit of length.static classLuminousFlux.Unit encodes the units of total perceived power of light emitted by a source.static classLuminousIntensity.Unit encodes the units of luminous flux emitted per unit solid angle.static classMagneticFlux.Unit encodes the units of total magnetic field passing through a given area.static classMagneticFluxDensity.Unit encodes the units of strength of the magnetic field per unit area.static classMass.Unit encodes the unit of the amount of matter in an object.static classMomentum.Unit encodes a unit for the product of an object's mass and velocity.static classPower.Unit encodes the units for the rate of energy transfer or work done per unit time.static classPressure.Unit encodes the units of force exerted per unit area.static classRadioActivity.Unit encodes the units of radioactivity.static classSolidAngle.Unit encodes the units of solid angles.static classSpeed.Unit encodes the units of the rate of change of a position over time.static classTemperature.Unit encodes the units of relative and absolute temperature.static classTorque.Unit encodes the units of rotational force about an axis, measured in newton meters (Nm).static classVolume.Unit encodes the volume unit (length x length x length).static classVolumetricObjectDensity.Unit encodes the unit for number of objects per unit of volume. -
Uses of Unit in org.djunits.quantity.def
Methods in org.djunits.quantity.def that return UnitMethods in org.djunits.quantity.def with parameters of type UnitModifier and TypeMethodDescription<TQ extends Quantity<TQ>>
TQReturn the quantity 'as' a known quantity, using a unit to express the result in.String representation of this quantity, expressed in the specified unit.String representation of this quantity, expressed in the specified unit.final doubleRetrieve the relative quantity value converted into some specified unit.final doubleRetrieve the value converted into some specified unit.Quantity.instantiate(double valueInUnit, Unit<?, Q> unit) Instantiate a quantity with a value and a unit.AbsQuantity.setDisplayUnit(Unit<?, Q> newUnit) Quantity.setDisplayUnit(Unit<?, Q> newUnit) Constructors in org.djunits.quantity.def with parameters of type Unit -
Uses of Unit in org.djunits.unit
Classes in org.djunits.unit with type parameters of type UnitModifier and TypeClassDescriptionclassAbstractUnit<U extends Unit<U,Q>, Q extends Quantity<Q>> The AbstractUnit is the parent class of all units, and encodes the common behavior of the units.interfaceUnitInterface defines the contract for a unit.Classes in org.djunits.unit that implement UnitModifier and TypeClassDescriptionclassAbstractUnit<U extends Unit<U,Q>, Q extends Quantity<Q>> The AbstractUnit is the parent class of all units, and encodes the common behavior of the units.classUnitless encodes a unit without dimensions, e.g., to encode a constant.Methods in org.djunits.unit with type parameters of type UnitModifier and TypeMethodDescriptionstatic <U extends Unit<?,?>>
ULook up a unit in the registry, based on its textual abbreviation.Methods in org.djunits.unit that return types with arguments of type UnitModifier and TypeMethodDescriptionUnits.registeredUnits()Return a safe copy of the registered units, e.g. to build pick lists in a user interface.Methods in org.djunits.unit with parameters of type UnitModifier and TypeMethodDescriptionstatic voidRegister a unit so it can be found based on its textual abbreviations.static voidUnits.unregister(Unit<?, ?> unit) Unregister a unit, e.g. in a unit test.Method parameters in org.djunits.unit with type arguments of type UnitModifier and TypeMethodDescriptionstatic StringUnits.localizedQuantityName(Class<? extends Unit<?, ?>> unitClass) Get the localized unit name for a unit class. -
Uses of Unit in org.djunits.unit.si
Classes in org.djunits.unit.si that implement UnitModifier and TypeClassDescriptionclassSIUnit stores the dimensionality of a unit using the SI standards. -
Uses of Unit in org.djunits.value
Methods in org.djunits.value that return UnitMethods in org.djunits.value with parameters of type Unit -
Uses of Unit in org.djunits.vecmat.d1
Methods in org.djunits.vecmat.d1 with parameters of type UnitModifier and TypeMethodDescriptionReturn the matrix 'as' a matrix with a known quantity, using a unit to express the result in.Return the vector 'as' a vector with a known quantity, using a unit to express the result in.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix1x1<A,Q> Create an AbsMatrix1x1 with a unit, based on a 2-dimensional grid.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix1x1<A,Q> Create an AbsMatrix1x1 without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix1x1<A,Q> Create an AbsMatrix1x1 without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector1<A,Q> Create an AbsVector1 without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector1<A,Q> Create an AbsVector1 without needing generics.Create a new Matrix1x1 with a unit, based on a 2-dimensional grid.Create a Matrix1x1 without needing generics.Create a Matrix1x1 without needing generics.Create a Vector1 without needing generics.Create a Vector1 without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix1x1<A,Q> Create an AbsMatrix1x1 with a unit, based on a 2-dimensional grid with SI-values.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix1x1<A,Q> Create an AbsMatrix1x1 without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector1<A,Q> Create an AbsVector1 without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector1<A,Q> Create an AbsVector1 without needing generics.Create a new Matrix1x1 with a unit, based on a 2-dimensional grid with SI-values.Create a Matrix1x1 without needing generics.Create a Vector1 without needing generics.Create a Vector1 without needing generics.Constructors in org.djunits.vecmat.d1 with parameters of type Unit -
Uses of Unit in org.djunits.vecmat.d2
Methods in org.djunits.vecmat.d2 with parameters of type UnitModifier and TypeMethodDescriptionReturn the matrix 'as' a matrix with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ>>
Vector2.Col<TQ>Return the vector 'as' a vector with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ>>
Vector2.Row<TQ>Return the vector 'as' a vector with a known quantity, using a unit to express the result in.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix2x2<A,Q> Create an AbsMatrix2x2 with a unit, based on a 2-dimensional grid.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix2x2<A,Q> Create an AbsMatrix2x2 without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector2.Col<A,Q> Create a AbsVector2.Col without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector2.Col<A,Q> Create a AbsVector2.Col without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector2.Row<A,Q> Create a AbsVector2.Row without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector2.Row<A,Q> Create a AbsVector2.Row without needing generics.Create a new Matrix2x2 with a unit, based on a 2-dimensional grid with values in the given unit.Create a new Matrix2x2 with a unit, based on a row-major array with values in the given unit.static <Q extends Quantity<Q>>
Vector2.Col<Q>Create a Vector2.Col without needing generics.static <Q extends Quantity<Q>>
Vector2.Col<Q>Create a Vector2.Col without needing generics.static <Q extends Quantity<Q>>
Vector2.Row<Q>Create a Vector2.Row without needing generics.static <Q extends Quantity<Q>>
Vector2.Row<Q>Create a Vector2.Row without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix2x2<A,Q> Create an AbsMatrix2x2 with a unit, based on a 2-dimensional grid with SI-values.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix2x2<A,Q> Create an AbsMatrix2x2 without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector2.Col<A,Q> Create a AbsVector2.Col without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector2.Col<A,Q> Create a AbsVector2.Col without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector2.Row<A,Q> Create a AbsVector2.Row without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector2.Row<A,Q> Create a AbsVector2.Row without needing generics.Create a new Matrix2x2 with a unit, based on a 2-dimensional grid with SI-values.Create a Matrix2x2 without needing generics, based on a row-major array with SI-values.static <Q extends Quantity<Q>>
Vector2.Col<Q>Create a Vector2.Col without needing generics.static <Q extends Quantity<Q>>
Vector2.Col<Q>Create a Vector2.Col without needing generics.static <Q extends Quantity<Q>>
Vector2.Row<Q>Create a Vector2.Row without needing generics.static <Q extends Quantity<Q>>
Vector2.Row<Q>Create a Vector2.Row without needing generics.Constructors in org.djunits.vecmat.d2 with parameters of type UnitModifierConstructorDescriptionCreate a new 2 column vector with a display unit.protectedCreate a new Matrix2x2 with a unit.Create a new 2 row vector with a unit.protectedCreate a new Vector2 with a display unit. -
Uses of Unit in org.djunits.vecmat.d3
Methods in org.djunits.vecmat.d3 with parameters of type UnitModifier and TypeMethodDescriptionReturn the matrix 'as' a matrix with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ>>
Vector3.Col<TQ>Return the vector 'as' a vector with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ>>
Vector3.Row<TQ>Return the vector 'as' a vector with a known quantity, using a unit to express the result in.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix3x3<A,Q> Create an AbsMatrix3x3 with a unit, based on a 2-dimensional grid.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix3x3<A,Q> Create an AbsMatrix3x3 without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector3.Col<A,Q> Create a AbsVector3.Col without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector3.Col<A,Q> Create a AbsVector3.Col without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector3.Row<A,Q> Create a AbsVector3.Row without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector3.Row<A,Q> Create a AbsVector3.Row without needing generics.Create a new Matrix3x3 with a unit, based on a 2-dimensional grid with values in the given unit.Create a new Matrix3x3 with a unit, based on a row-major array with values in the given unit.static <Q extends Quantity<Q>>
Vector3.Col<Q>Create a Vector3.Col without needing generics.static <Q extends Quantity<Q>>
Vector3.Col<Q>Create a Vector3.Col without needing generics.static <Q extends Quantity<Q>>
Vector3.Row<Q>Create a Vector3.Row without needing generics.static <Q extends Quantity<Q>>
Vector3.Row<Q>Create a Vector3.Row without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix3x3<A,Q> Create an AbsMatrix3x3 with a unit, based on a 2-dimensional grid with SI-values.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrix3x3<A,Q> Create an AbsMatrix3x3 without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector3.Col<A,Q> Create a AbsVector3.Col without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector3.Col<A,Q> Create a AbsVector3.Col without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector3.Row<A,Q> Create a AbsVector3.Row without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVector3.Row<A,Q> Create a AbsVector3.Row without needing generics.Create a new Matrix3x3 with a unit, based on a 2-dimensional grid with SI-values.Create a Matrix3x3 without needing generics, based on a row-major array with SI-values.static <Q extends Quantity<Q>>
Vector3.Col<Q>Create a Vector3.Col without needing generics.static <Q extends Quantity<Q>>
Vector3.Col<Q>Create a Vector3.Col without needing generics.static <Q extends Quantity<Q>>
Vector3.Row<Q>Create a Vector3.Row without needing generics.static <Q extends Quantity<Q>>
Vector3.Row<Q>Create a Vector3.Row without needing generics.Constructors in org.djunits.vecmat.d3 with parameters of type UnitModifierConstructorDescriptionCreate a new 3 column vector with a display unit.protectedCreate a new Matrix3x3 with a unit.Create a new 3 row vector with a display unit.protectedCreate a new Vector3 with a display unit. -
Uses of Unit in org.djunits.vecmat.def
Methods in org.djunits.vecmat.def that return UnitMethods in org.djunits.vecmat.def with parameters of type UnitModifier and TypeMethodDescriptionString representation of this matrix, expressed in the specified unit.default StringString representation of this vector, expressed in the specified unit.default StringString representation of this vector, expressed in the specified unit.String representation of this matrix, expressed in the specified unit.default StringString representation of this vector, expressed in the specified unit.default StringString representation of this vector, expressed in the specified unit.AbsVectorMatrix.setDisplayUnit(Unit<?, Q> newUnit) VectorMatrix.setDisplayUnit(Unit<?, Q> newUnit) Constructors in org.djunits.vecmat.def with parameters of type UnitModifierConstructorDescriptionCreate a new matrix with a unit.protectedSquareDenseMatrix(double[] dataSi, Unit<?, Q> displayUnit, int order) Create a new SquareDenseMatrix with a unit.SquareMatrix(Unit<?, Q> displayUnit) Create a new square matrix with a unit.Create a new Table with a unit.Create a new Vector with a unit, as an extension of Matrix.VectorMatrix(Unit<?, Q> displayUnit) Create a new vector or matrix with a unit. -
Uses of Unit in org.djunits.vecmat.dn
Methods in org.djunits.vecmat.dn with parameters of type UnitModifier and TypeMethodDescriptionReturn the matrix "as" a matrix with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ>>
VectorN.Col<TQ>Return the vector 'as' a vector with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ>>
VectorN.Row<TQ>Return the vector 'as' a vector with a known quantity, using a unit to express the result in.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrixNxN<A,Q> Create an AbsMatrixNxN with a unit, based on a 2-dimensional grid.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrixNxN<A,Q> Create an AbsMatrixNxN without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVectorN.Col<A,Q> Create a AbsVectorN.Col without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVectorN.Row<A,Q> Create a AbsVectorN.Row without needing generics.Create a new MatrixNxN with a unit, based on a 2-dimensional grid with values in the given unit.Create a new MatrixNxN with a unit, based on a row-major array with values in the given unit.static <Q extends Quantity<Q>>
VectorN.Col<Q>Create a new column VectorN with a unit, based on a double[] array that contains data in the given unit.static <Q extends Quantity<Q>>
VectorN.Row<Q>Create a new row VectorN with a unit, based on a double[] array that contains data in the given unit.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrixNxN<A,Q> Create an AbsMatrixNxN with a unit, based on a 2-dimensional grid with SI-values.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrixNxN<A,Q> Create an AbsMatrixNxN without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVectorN.Col<A,Q> Create a AbsVectorN.Col without needing generics.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsVectorN.Row<A,Q> Create a AbsVectorN.Row without needing generics.Create a new MatrixNxN with a unit, based on a 2-dimensional grid with SI-values.Create a MatrixNxN without needing generics, based on a row-major array with SI-values.static <Q extends Quantity<Q>>
VectorN.Col<Q>Create a new column VectorN with a unit, based on a double[] array that contains SI data.static <Q extends Quantity<Q>>
VectorN.Col<Q>VectorN.Col.ofSi(DataGridSi<?> dataSi, Unit<?, Q> displayUnit) Create a new column VectorN with a unit, based on a DataGridSi storage object that contains SI data.static <Q extends Quantity<Q>>
VectorN.Row<Q>Create a new row VectorN with a unit, based on a double[] array that contains SI data.static <Q extends Quantity<Q>>
VectorN.Row<Q>VectorN.Row.ofSi(DataGridSi<?> dataSi, Unit<?, Q> displayUnit) Create a new row VectorN with a unit, based on a DataGridSi storage object that contains SI data.Constructors in org.djunits.vecmat.dn with parameters of type UnitModifierConstructorDescriptionCol(DataGridSi<?> dataSi, Unit<?, Q> displayUnit) Create a new column VectorN with a unit, based on a DataGridSi storage object that contains SI data.MatrixNxN(DataGridSi<?> dataGridSi, Unit<?, Q> displayUnit) Create a new NxN Matrix with a unit, based on a DataGrid storage object that contains SI data.Row(DataGridSi<?> dataSi, Unit<?, Q> displayUnit) Create a new row VectorN with a unit, based on a DataGridSi storage object that contains SI data.protectedVectorN(DataGridSi<?> dataSi, Unit<?, Q> displayUnit) Create a new VectorN with a unit, based on a DataGridSi storage object that contains SI data. -
Uses of Unit in org.djunits.vecmat.dnxm
Methods in org.djunits.vecmat.dnxm with parameters of type UnitModifier and TypeMethodDescriptionReturn the matrix 'as' a matrix with a known quantity, using a unit to express the result in.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrixNxM<A,Q> Create a new AbsMatrixNxM with a unit, based on a 2-dimensional grid with values in the given unit.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrixNxM<A,Q> Create a new AbsMatrixNxM with a unit, based on a row-major array with values in the given unit.Create a new MatrixNxM with a unit, based on a 2-dimensional grid with values in the given unit.Create a new MatrixNxM with a unit, based on a row-major array with values in the given unit.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrixNxM<A,Q> Create a new AbsMatrixNxM with a unit, based on a 2-dimensional grid with SI-values.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsMatrixNxM<A,Q> Create a AbsMatrixNxM without needing generics, based on a row-major array with SI-values.Create a new MatrixNxM with a unit, based on a 2-dimensional grid with SI-values.Create a MatrixNxM without needing generics, based on a row-major array with SI-values.Constructors in org.djunits.vecmat.dnxm with parameters of type UnitModifierConstructorDescriptionMatrixNxM(DataGridSi<?> dataGridSi, Unit<?, Q> displayUnit) Create a new NxM Matrix with a unit, based on a DataGrid storage object that contains SI data. -
Uses of Unit in org.djunits.vecmat.storage
Methods in org.djunits.vecmat.storage with parameters of type UnitModifier and TypeMethodDescriptionstatic <Q extends Quantity<Q>>
DenseDoubleDataSiInstantiate a data object based on a row x column double[][] array in a given unit.static <Q extends Quantity<Q>>
DenseDoubleDataSiInstantiate a data object based on a row-major double[] array in a given unit.static <Q extends Quantity<Q>>
DenseFloatDataSiInstantiate a data object with a double[rows][cols].static <Q extends Quantity<Q>>
DenseFloatDataSiInstantiate a data object with one array in row-major format.static <Q extends Quantity<Q>>
DenseFloatDataSiInstantiate a data object with a float[rows][cols].static <Q extends Quantity<Q>>
DenseFloatDataSiInstantiate a data object with one array in row-major format.Constructors in org.djunits.vecmat.storage with parameters of type UnitModifierConstructorDescriptionDoubleSparseValue(int row, int column, double valueInUnit, Unit<?, Q> unit) Create a data point for a sparse matrix.FloatSparseValue(int row, int column, float valueInUnit, Unit<?, Q> unit) Create a data point for a sparse matrix. -
Uses of Unit in org.djunits.vecmat.table
Methods in org.djunits.vecmat.table with parameters of type UnitModifier and TypeMethodDescription<TQ extends Quantity<TQ>>
QuantityTable<TQ>Return the QuantityTable 'as' a QuantityTable with a known quantity, using a unit to express the result in.String representation of this quantity table, expressed in the specified unit.String representation of this quantity table, expressed in the specified unit.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsQuantityTable<A,Q> Create a new AbsQuantityTable with a unit, based on a 2-dimensional grid with values in the given unit.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsQuantityTable<A,Q> Create a new AbsQuantityTable with a unit, based on a row-major array with values in the given unit.static <Q extends Quantity<Q>>
QuantityTable<Q>Create a new QuantityTable with a unit, based on a 2-dimensional grid with values in the given unit.static <Q extends Quantity<Q>>
QuantityTable<Q>Create a new QuantityTable with a unit, based on a row-major array with values in the given unit.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsQuantityTable<A,Q> Create a new AbsQuantityTable with a unit, based on a 2-dimensional grid with SI-values.static <A extends AbsQuantity<A,Q, R>, Q extends Quantity<Q>, R extends Reference<R, A, Q>>
AbsQuantityTable<A,Q> Create a AbsQuantityTable without needing generics, based on a row-major array with SI-values.static <Q extends Quantity<Q>>
QuantityTable<Q>Create a new QuantityTable with a unit, based on a 2-dimensional grid with SI-values.static <Q extends Quantity<Q>>
QuantityTable<Q>Create a QuantityTable without needing generics, based on a row-major array with SI-values.Constructors in org.djunits.vecmat.table with parameters of type UnitModifierConstructorDescriptionQuantityTable(DataGridSi<?> dataGridSi, Unit<?, Q> displayUnit) Create a new NxM QuantityTable with a unit, based on a DataGrid storage object.