Uses of Interface
org.djunits.unit.UnitInterface
Packages that use UnitInterface
Package
Description
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.
Copyright (c) 2025-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands.
Copyright (c) 2025-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands.
Square vector and matrix implementations with dimension N.
Rectangular matrix implementations with dimension NxM.
Interfaces for Vector and Matrix operations.
Storage objects for larger vectors and matrices (dense/sparse, double/float).
Two-dimensonal tables with quantities.
-
Uses of UnitInterface in org.djunits.quantity
Classes in org.djunits.quantity that implement UnitInterfaceModifier 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 UnitInterface in org.djunits.quantity.def
Classes in org.djunits.quantity.def with type parameters of type UnitInterfaceModifier and TypeClassDescriptionclassAbsoluteQuantity<A extends AbsoluteQuantity<A,Q, U, R>, Q extends Quantity<Q, U>, U extends UnitInterface<U, Q>, R extends AbstractReference<R, Q>> AbsoluteQuantity is an abstract class that stores the basic information about a absolute quantity.classQuantity<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> Quantity is an abstract class that stores the basic information about a quantity.Methods in org.djunits.quantity.def with type parameters of type UnitInterfaceModifier and TypeMethodDescription<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
TQQuantity.as(TU targetUnit) Return the quantity 'as' a known quantity, using a unit to express the result in.static <A extends AbsoluteQuantity<A,Q, U, R>, Q extends Quantity<Q, U>, U extends UnitInterface<U, Q>, R extends AbstractReference<R, Q>>
AAbsoluteQuantity.interpolate(A zero, A one, double ratio) Interpolate between two absolute quantities.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
QQuantity.interpolate(Q zero, Q one, double ratio) Interpolate between two quantities.static <A extends AbsoluteQuantity<A,Q, U, R>, Q extends Quantity<Q, U>, U extends UnitInterface<U, Q>, R extends AbstractReference<R, Q>>
AAbsoluteQuantity.max(A quantity1, A... quantities) Return the maximum value of one or more quantities.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
QQuantity.max(Q quantity1, Q... quantities) Return the maximum value of one or more quantities.static <A extends AbsoluteQuantity<A,Q, U, R>, Q extends Quantity<Q, U>, U extends UnitInterface<U, Q>, R extends AbstractReference<R, Q>>
AAbsoluteQuantity.mean(A quantity1, A... quantities) Return the mean of one or more quantities.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
QQuantity.mean(Q quantity1, Q... quantities) Return the mean of one or more quantities.static <A extends AbsoluteQuantity<A,Q, U, R>, Q extends Quantity<Q, U>, U extends UnitInterface<U, Q>, R extends AbstractReference<R, Q>>
AAbsoluteQuantity.min(A quantity1, A... quantities) Return the minimum value of one or more quantities.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
QQuantity.min(Q quantity1, Q... quantities) Return the minimum value of one or more quantities.static <A extends AbsoluteQuantity<A,Q, U, R>, Q extends Quantity<Q, U>, U extends UnitInterface<U, Q>, R extends AbstractReference<R, Q>>
AReturns an absolute quantity based on a value and the textual representation of the unit, which can be localized.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
QReturns a quantity based on a value and the textual representation of the unit, which can be localized.static <A extends AbsoluteQuantity<A,Q, U, R>, Q extends Quantity<Q, U>, U extends UnitInterface<U, Q>, R extends AbstractReference<R, Q>>
AAbsoluteQuantity.sum(A quantity1, A... quantities) Return the sum of one or more quantities.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
QQuantity.sum(Q quantity1, Q... quantities) Return the sum of one or more quantities.static <A extends AbsoluteQuantity<A,Q, U, R>, Q extends Quantity<Q, U>, U extends UnitInterface<U, Q>, R extends AbstractReference<R, Q>>
AReturns an absolute quantity for the textual representation of a value with a unit.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
QReturns a quantity for the textual representation of a value with a unit. -
Uses of UnitInterface in org.djunits.unit
Classes in org.djunits.unit with type parameters of type UnitInterfaceModifier and TypeClassDescriptionclassAbstractUnit<U extends UnitInterface<U,Q>, Q extends Quantity<Q, U>> The AbstractUnit is the parent class of all units, and encodes the common behavior of the units.interfaceUnitInterface<U extends UnitInterface<U,Q>, Q extends Quantity<Q, U>> UnitInterface defines the contract for a unit.Classes in org.djunits.unit that implement UnitInterfaceModifier and TypeClassDescriptionclassAbstractUnit<U extends UnitInterface<U,Q>, Q extends Quantity<Q, U>> 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 UnitInterfaceModifier and TypeMethodDescriptionstatic <U extends UnitInterface<U,?>>
ULook up a unit in the registry, based on its textual abbreviation.Methods in org.djunits.unit that return types with arguments of type UnitInterfaceModifier and TypeMethodDescriptionstatic Map<String,Map<String, UnitInterface<?, ?>>> Units.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 UnitInterfaceModifier and TypeMethodDescriptionstatic voidUnits.register(UnitInterface<?, ?> unit) Register a unit so it can be found based on its textual abbreviations.static voidUnits.unregister(UnitInterface<?, ?> unit) Unregister a unit, e.g. in a unit test.Method parameters in org.djunits.unit with type arguments of type UnitInterfaceModifier and TypeMethodDescriptionstatic StringUnits.localizedQuantityName(Class<? extends UnitInterface<?, ?>> unitClass) Get the localized unit name for a unit class. -
Uses of UnitInterface in org.djunits.unit.si
Classes in org.djunits.unit.si that implement UnitInterfaceModifier and TypeClassDescriptionclassSIUnit stores the dimensionality of a unit using the SI standards. -
Uses of UnitInterface in org.djunits.value
Classes in org.djunits.value with type parameters of type UnitInterfaceModifier and TypeInterfaceDescriptioninterfaceValue<U extends UnitInterface<U,?>, SELF extends Value<U, SELF>> 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 UnitInterface in org.djunits.vecmat.d1
Classes in org.djunits.vecmat.d1 with type parameters of type UnitInterfaceModifier and TypeClassDescriptionclassMatrix1x1<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> Matrix1x1 implements a matrix with 1x1 real-valued entries.classVector1<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> Vector1 implements a vector with one real-valued entry.Methods in org.djunits.vecmat.d1 with type parameters of type UnitInterfaceModifier and TypeMethodDescription<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
Matrix1x1<TQ,TU> Matrix1x1.as(TU targetUnit) Return the matrix 'as' a matrix with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
Vector1<TQ,TU> Vector1.as(TU targetUnit) Return the vector 'as' a vector with a known quantity, using a unit to express the result in.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
Matrix1x1<Q,U> Matrix1x1.of(double[][] gridInUnit, U displayUnit) Create a new Matrix1x1 with a unit, based on a 2-dimensional grid.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
Matrix1x1<Q,U> Matrix1x1.of(double[] arrayInUnit, U displayUnit) Create a new Matrix1x1 with a unit, based on a 1-dimensional array.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
Vector1<Q,U> Vector1.of(double xInUnit, U displayUnit) Create a Vector1 without needing generics. -
Uses of UnitInterface in org.djunits.vecmat.d2
Classes in org.djunits.vecmat.d2 with type parameters of type UnitInterfaceModifier and TypeClassDescriptionclassMatrix2x2<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> Matrix2x2 implements a matrix with 2x2 real-valued entries.classVector2<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>, V extends Vector2<Q, U, V, SI, H>, SI extends Vector2<SIQuantity, SIUnit, SI, ?, ?>, H extends Vector2<?, ?, ?, ?, ?>> Vector2 implements a vector with two real-valued entries.static classVector2.Col<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> Vector2.Col implements a column vector with two real-valued entries.static classVector2.Row<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> Vector2.Row implements a row vector with two real-valued entries.Methods in org.djunits.vecmat.d2 with type parameters of type UnitInterfaceModifier and TypeMethodDescription<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
Matrix2x2<TQ,TU> Matrix2x2.as(TU targetUnit) Return the matrix 'as' a matrix with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
Vector2.Col<TQ,TU> Vector2.Col.as(TU targetUnit) Return the vector 'as' a vector with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
Vector2.Row<TQ,TU> Vector2.Row.as(TU targetUnit) Return the vector 'as' a vector with a known quantity, using a unit to express the result in.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
Matrix2x2<Q,U> Matrix2x2.of(double[][] gridInUnit, U displayUnit) Create a new Matrix2x2 with a unit, based on a 2-dimensional grid.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
Matrix2x2<Q,U> Matrix2x2.of(double[] arrayInUnit, U displayUnit) Create a new Matrix2x2 with a unit, based on a 1-dimensional array.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
Vector2.Col<Q,U> Vector2.Col.of(double xInUnit, double yInUnit, U displayUnit) Create a Vector2 column vector without needing generics.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
Vector2.Row<Q,U> Vector2.Row.of(double xInUnit, double yInUnit, U displayUnit) Create a Vector2 row vector without needing generics. -
Uses of UnitInterface in org.djunits.vecmat.d3
Classes in org.djunits.vecmat.d3 with type parameters of type UnitInterfaceModifier and TypeClassDescriptionclassMatrix3x3<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> Matrix3x3 implements a matrix with 3x3 real-valued entries.classVector3<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>, V extends Vector3<Q, U, V, SI, H>, SI extends Vector3<SIQuantity, SIUnit, SI, ?, ?>, H extends Vector3<?, ?, ?, ?, ?>> Vector3 implements a vector with three real-valued entries.static classVector3.Col<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> Vector3.Col implements a column vector with three real-valued entries.static classVector3.Row<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> Vector3.Row implements a row vector with three real-valued entries.Methods in org.djunits.vecmat.d3 with type parameters of type UnitInterfaceModifier and TypeMethodDescription<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
Matrix3x3<TQ,TU> Matrix3x3.as(TU targetUnit) Return the matrix 'as' a matrix with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
Vector3.Col<TQ,TU> Vector3.Col.as(TU targetUnit) Return the vector 'as' a vector with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
Vector3.Row<TQ,TU> Vector3.Row.as(TU targetUnit) Return the vector 'as' a vector with a known quantity, using a unit to express the result in.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
Matrix3x3<Q,U> Matrix3x3.of(double[][] gridInUnit, U displayUnit) Create a new Matrix3x3 with a unit, based on a 2-dimensional grid.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
Matrix3x3<Q,U> Matrix3x3.of(double[] arrayInUnit, U displayUnit) Create a new Matrix3x3 with a unit, based on a 1-dimensional array.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
Vector3.Col<Q,U> Vector3.Col.of(double xInUnit, double yInUnit, double zInUnit, U displayUnit) Create a Vector3 column vector without needing generics.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
Vector3.Row<Q,U> Vector3.Row.of(double xInUnit, double yInUnit, double zInUnit, U displayUnit) Create a Vector3 row vector without needing generics. -
Uses of UnitInterface in org.djunits.vecmat.def
Classes in org.djunits.vecmat.def with type parameters of type UnitInterfaceModifier and TypeClassDescriptionclassMatrix<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>, M extends Matrix<Q, U, M, SI, H>, SI extends Matrix<SIQuantity, SIUnit, SI, ?, ?>, H extends Matrix<?, ?, ?, ?, ?>> Matrix contains a number of standard operations on matrices of relative quantities.classSquareDenseMatrix<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>, M extends SquareDenseMatrix<Q, U, M, SI, H>, SI extends SquareDenseMatrix<SIQuantity, SIUnit, SI, ?, ?>, H extends SquareDenseMatrix<?, ?, ?, ?, ?>> SquareDenseMatrix implements the core functions for a matrix with n x n real-valued entries.classSquareMatrix<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>, M extends SquareMatrix<Q, U, M, SI, H>, SI extends SquareMatrix<SIQuantity, SIUnit, SI, ?, ?>, H extends SquareMatrix<?, ?, ?, ?, ?>> SquareMatrix defines a number of operations that can be applied to square matrixes, such as transpose, invert, and determinant.classVector<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>, V extends Vector<Q, U, V, SI, H>, SI extends Vector<SIQuantity, SIUnit, SI, ?, ?>, H extends Vector<?, ?, ?, ?, ?>> Vector contains the contract for Vector classes.classVectorMatrix<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>, VM extends VectorMatrix<Q, U, VM, SI, H>, SI extends VectorMatrix<SIQuantity, SIUnit, SI, ?, ?>, H extends VectorMatrix<?, ?, ?, ?, ?>> VectorMatrix contains a number of standard operations on vectors and matrices of relative quantities. -
Uses of UnitInterface in org.djunits.vecmat.dn
Classes in org.djunits.vecmat.dn with type parameters of type UnitInterfaceModifier and TypeClassDescriptionclassMatrixNxN<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> MatrixNxN implements a square matrix with NxN real-valued entries.classVectorN<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>, V extends VectorN<Q, U, V, SI, H>, SI extends VectorN<SIQuantity, SIUnit, SI, ?, ?>, H extends VectorN<?, ?, ?, ?, ?>> VectorN.java.static classVectorN.Col<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> VectorN.Col implements a column vector with real-valued entries.static classVectorN.Row<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> VectorN.Row implements a row vector with real-valued entries.Methods in org.djunits.vecmat.dn with type parameters of type UnitInterfaceModifier and TypeMethodDescription<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
MatrixNxN<TQ,TU> MatrixNxN.as(TU targetUnit) Return the matrix "as" a matrix with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
VectorN.Col<TQ,TU> VectorN.Col.as(TU targetUnit) Return the vector 'as' a vector with a known quantity, using a unit to express the result in.<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
VectorN.Row<TQ,TU> VectorN.Row.as(TU targetUnit) Return the vector 'as' a vector with a known quantity, using a unit to express the result in.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
MatrixNxN<Q,U> MatrixNxN.of(double[][] valueGridInUnit, U displayUnit) Create a new MatrixNxN with a unit, based on a 2-dimensional grid.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
MatrixNxN<Q,U> MatrixNxN.of(double[] valueArrayInUnit, U displayUnit) Create a new MatrixNxN with a unit, based on a 1-dimensional array.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
VectorN.Col<Q,U> VectorN.Col.of(double[] data, U unit) 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,U>, U extends UnitInterface<U, Q>>
VectorN.Col<Q,U> Create a new column VectorN with a unit, based on a quantity list that contains data.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
VectorN.Col<Q,U> VectorN.Col.of(Q[] data, U displayUnit) Create a new column VectorN with a unit, based on a quantity array that contains data.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
VectorN.Row<Q,U> VectorN.Row.of(double[] data, U unit) Create a new row VectorN with a unit, based on a double[] array that contains data in the given unit.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
VectorN.Row<Q,U> Create a new row VectorN with a unit, based on a quantity list that contains data.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
VectorN.Row<Q,U> VectorN.Row.of(Q[] data, U displayUnit) Create a new row VectorN with a unit, based on a quantity array that contains data.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
VectorN.Col<Q,U> VectorN.Col.ofSi(double[] dataSi, U displayUnit) Create a new column VectorN with a unit, based on a double[] array that contains SI data.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
VectorN.Col<Q,U> VectorN.Col.ofSi(DataGridSi<?> dataSi, U displayUnit) Create a new column VectorN with a unit, based on a DataGridSi storage object that contains SI data.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
VectorN.Row<Q,U> VectorN.Row.ofSi(double[] dataSi, U displayUnit) Create a new row VectorN with a unit, based on a double[] array that contains SI data.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
VectorN.Row<Q,U> VectorN.Row.ofSi(DataGridSi<?> dataSi, U displayUnit) Create a new row VectorN with a unit, based on a DataGridSi storage object that contains SI data. -
Uses of UnitInterface in org.djunits.vecmat.dnxm
Classes in org.djunits.vecmat.dnxm with type parameters of type UnitInterfaceModifier and TypeClassDescriptionclassMatrixNxM<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> MatrixNxM implements a matrix with NxM real-valued entries.Methods in org.djunits.vecmat.dnxm with type parameters of type UnitInterfaceModifier and TypeMethodDescription<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
MatrixNxM<TQ,TU> MatrixNxM.as(TU targetUnit) Return the matrix 'as' a matrix with a known quantity, using a unit to express the result in.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
MatrixNxM<Q,U> MatrixNxM.of(double[][] valueGridInUnit, U displayUnit) Create a new MatrixNxM with a unit, based on a 2-dimensional double grid.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
MatrixNxM<Q,U> MatrixNxM.of(double[] valueArrayInUnit, int rows, int cols, U displayUnit) Create a new MatrixNxM with a unit, based on a 1-dimensional double array.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
MatrixNxM<Q,U> MatrixNxM.of(Q[][] quantityGrid, U displayUnit) Create a new MatrixNxM with a unit, based on a 2-dimensional quantity grid. -
Uses of UnitInterface in org.djunits.vecmat.operations
Classes in org.djunits.vecmat.operations with type parameters of type UnitInterfaceModifier and TypeInterfaceDescriptioninterfaceNormed<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> Normed calculates a norm of an element, expressed as a quantity. -
Uses of UnitInterface in org.djunits.vecmat.storage
Classes in org.djunits.vecmat.storage with type parameters of type UnitInterfaceModifier and TypeClassDescriptionclassDoubleSparseValue<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> Double-precision data point for a matrix that can be used for constructing sparse matrices.classFloatSparseValue<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> Float-precision data point for a matrix that can be used for constructing sparse matrices.Methods in org.djunits.vecmat.storage with type parameters of type UnitInterfaceModifier and TypeMethodDescription<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
voidSparseDoubleDataSi.storeSparse(Q[] denseData) Store sparse data[] and indexes[].<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
voidSparseDoubleDataSi.storeSparse(Q[][] denseData) Store sparse data[] and indexes[].<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
voidSparseFloatDataSi.storeSparse(Q[] denseData) Store sparse data[] and indexes[].<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
voidSparseFloatDataSi.storeSparse(Q[][] denseData) Store sparse data[] and indexes[]. -
Uses of UnitInterface in org.djunits.vecmat.table
Classes in org.djunits.vecmat.table with type parameters of type UnitInterfaceModifier and TypeClassDescriptionclassQuantityTable<Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>> QuantityTable is a two-dimensonal table with quantities.Methods in org.djunits.vecmat.table with type parameters of type UnitInterfaceModifier and TypeMethodDescription<TQ extends Quantity<TQ,TU>, TU extends UnitInterface<TU, TQ>>
QuantityTable<TQ,TU> QuantityTable.as(TU targetUnit) Return the QuantityTable 'as' a QuantityTable with a known quantity, using a unit to express the result in.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
QuantityTable<Q,U> QuantityTable.of(double[][] valueGridInUnit, U displayUnit) Create a new NxM QuantityTable with a unit, based on a 2-dimensional double grid.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
QuantityTable<Q,U> QuantityTable.of(double[] valueArrayInUnit, int rows, int cols, U displayUnit) Create a new NxM QuantityTable with a unit, based on a 1-dimensional double array.static <Q extends Quantity<Q,U>, U extends UnitInterface<U, Q>>
QuantityTable<Q,U> QuantityTable.of(Q[][] quantityGrid, U displayUnit) Create a new NxM QuantityTable with a unit, based on a 2-dimensional quantity grid.