Class FloatSIMatrix

All Implemented Interfaces:
Serializable, Cloneable, Matrix<SIUnit,​FloatSIScalar,​FloatSIVector,​FloatSIMatrix>, Matrix.Rel<SIUnit,​FloatSIScalar,​FloatSIVector,​FloatSIMatrix>, ValueFunctions<SIUnit,​FloatSIMatrix>, IndexedValue<SIUnit,​FloatSIScalar,​FloatSIMatrix>, Relative<SIUnit,​FloatSIMatrix>, Value<SIUnit,​FloatSIMatrix>, FloatMatrixInterface<SIUnit,​FloatSIScalar,​FloatSIVector,​FloatSIMatrix>

@Generated(value="org.djunits.generator.GenerateDJUNIT",
           date="2020-01-19T15:21:24.964166400Z")
public class FloatSIMatrix
extends AbstractFloatMatrixRel<SIUnit,​FloatSIScalar,​FloatSIVector,​FloatSIMatrix>
Easy access methods for the generic Relative SI FloatMatrix.

Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • instantiate

      public static FloatSIMatrix instantiate​(float[][] values, SIUnit unit, StorageType storageType) throws ValueRuntimeException
      Construct a new Relative Float FloatSIMatrix.
      Parameters:
      values - float[][]; the values of the entries in the new Relative Float FloatSIMatrix
      unit - SIUnit; the unit of the new Relative Float FloatSIMatrix
      storageType - StorageType; the data type to use (e.g., DENSE or SPARSE)
      Returns:
      FloatSIMatrix; the FloatSIMatrix of the given unit
      Throws:
      ValueRuntimeException - when values is null
    • getScalarClass

      public Class<FloatSIScalar> getScalarClass()
      Return the class of the corresponding scalar.
      Returns:
      Class<S>; the class of the corresponding scalar
    • getVectorClass

      public Class<FloatSIVector> getVectorClass()
      Return the class of the corresponding vector.
      Returns:
      Class<V>; the class of the corresponding vector
    • of

      public static FloatSIMatrix of​(float[][] values, String unitString, StorageType storageType)
      Returns an FloatSIMatrix based on an array of values and the textual representation of the unit.
      Parameters:
      values - float[][]; the values to use
      unitString - String; the textual representation of the unit
      storageType - StorageType; the storage type to use
      Returns:
      FloatSIMatrix; the matrix representation of the values in their unit
      Throws:
      IllegalArgumentException - when the unit cannot be parsed or is incorrect
      NullPointerException - when the unitString argument is null
    • instantiateMatrix

      public FloatSIMatrix instantiateMatrix​(FloatMatrixData fmd, SIUnit unit)
      Instantiate a new matrix of the class of this matrix. This can be used instead of the FloatMatrix.instiantiate() methods in case another matrix of this class is known. The method is faster than FloatMatrix.instantiate, and it will also work if the matrix is user-defined.
      Parameters:
      fmd - FloatMatrixData; the data used to instantiate the matrix
      unit - U; the display unit of the matrix
      Returns:
      V; a matrix of the correct type
    • instantiateVector

      public FloatSIVector instantiateVector​(FloatVectorData fvd, SIUnit unit)
      Instantiate a new vector of the class of this matrix. This can be used instead of the FloatVector.instiantiate() methods in case another matrix of this class is known. The method is faster than FloatVector.instantiate, and it will also work if the matrix and/or vector are user-defined.
      Parameters:
      fvd - FloatVectorData; the data used to instantiate the vector
      unit - U; the display unit of the vector
      Returns:
      V; a vector of the correct type
    • instantiateScalarSI

      public FloatSIScalar instantiateScalarSI​(float valueSI, SIUnit unit)
      Instantiate a new scalar for the class of this matrix. This can be used instead of the FloatScalar.instiantiate() methods in case a matrix of this class is known. The method is faster than FloatScalar.instantiate, and it will also work if the matrix and/or scalar are user-defined.
      Parameters:
      valueSI - float; the SI value of the scalar
      unit - U; the unit in which the value will be displayed
      Returns:
      S; a scalar of the correct type, belonging to the matrix type
    • as

      public final <U extends Unit<U>,​ S extends AbstractFloatScalarRel<U,​ S>,​ V extends AbstractFloatVectorRel<U,​ S,​ V>,​ M extends AbstractFloatMatrixRel<U,​ S,​ V,​ M>> M as​(U displayUnit)
      Return the current matrix transformed to a matrix in the given unit. Of course the SI dimensionality has to match, otherwise the matrix cannot be transformed. The compiler will check the alignment between the return value and the unit.
      Type Parameters:
      U - the unit type
      S - the scalar type
      V - the vector type
      M - the matrix type
      Parameters:
      displayUnit - KU; the unit in which the matrix needs to be expressed
      Returns:
      M; the matrix that has been transformed into the right matrix type and unit
    • asAbsorbedDose

      public final FloatAbsorbedDoseMatrix asAbsorbedDose()
      Return the current matrix as a absorbeddose matrix.
      Returns:
      FloatAbsorbedDoseMatrix; the current matrix as a absorbeddose matrix
    • asAbsorbedDose

      public final FloatAbsorbedDoseMatrix asAbsorbedDose​(AbsorbedDoseUnit displayUnit)
      Return the current matrix as a absorbeddose matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatAbsorbedDoseMatrix; the current matrix as a absorbeddose matrix
    • asAcceleration

      public final FloatAccelerationMatrix asAcceleration()
      Return the current matrix as a acceleration matrix.
      Returns:
      FloatAccelerationMatrix; the current matrix as a acceleration matrix
    • asAcceleration

      public final FloatAccelerationMatrix asAcceleration​(AccelerationUnit displayUnit)
      Return the current matrix as a acceleration matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatAccelerationMatrix; the current matrix as a acceleration matrix
    • asAmountOfSubstance

      public final FloatAmountOfSubstanceMatrix asAmountOfSubstance()
      Return the current matrix as a amountofsubstance matrix.
      Returns:
      FloatAmountOfSubstanceMatrix; the current matrix as a amountofsubstance matrix
    • asAmountOfSubstance

      public final FloatAmountOfSubstanceMatrix asAmountOfSubstance​(AmountOfSubstanceUnit displayUnit)
      Return the current matrix as a amountofsubstance matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatAmountOfSubstanceMatrix; the current matrix as a amountofsubstance matrix
    • asAngularAcceleration

      public final FloatAngularAccelerationMatrix asAngularAcceleration()
      Return the current matrix as a angularacceleration matrix.
      Returns:
      FloatAngularAccelerationMatrix; the current matrix as a angularacceleration matrix
    • asAngularAcceleration

      public final FloatAngularAccelerationMatrix asAngularAcceleration​(AngularAccelerationUnit displayUnit)
      Return the current matrix as a angularacceleration matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatAngularAccelerationMatrix; the current matrix as a angularacceleration matrix
    • asAngularVelocity

      public final FloatAngularVelocityMatrix asAngularVelocity()
      Return the current matrix as a angularvelocity matrix.
      Returns:
      FloatAngularVelocityMatrix; the current matrix as a angularvelocity matrix
    • asAngularVelocity

      public final FloatAngularVelocityMatrix asAngularVelocity​(AngularVelocityUnit displayUnit)
      Return the current matrix as a angularvelocity matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatAngularVelocityMatrix; the current matrix as a angularvelocity matrix
    • asArea

      public final FloatAreaMatrix asArea()
      Return the current matrix as a area matrix.
      Returns:
      FloatAreaMatrix; the current matrix as a area matrix
    • asArea

      public final FloatAreaMatrix asArea​(AreaUnit displayUnit)
      Return the current matrix as a area matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatAreaMatrix; the current matrix as a area matrix
    • asCatalyticActivity

      public final FloatCatalyticActivityMatrix asCatalyticActivity()
      Return the current matrix as a catalyticactivity matrix.
      Returns:
      FloatCatalyticActivityMatrix; the current matrix as a catalyticactivity matrix
    • asCatalyticActivity

      public final FloatCatalyticActivityMatrix asCatalyticActivity​(CatalyticActivityUnit displayUnit)
      Return the current matrix as a catalyticactivity matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatCatalyticActivityMatrix; the current matrix as a catalyticactivity matrix
    • asDensity

      public final FloatDensityMatrix asDensity()
      Return the current matrix as a density matrix.
      Returns:
      FloatDensityMatrix; the current matrix as a density matrix
    • asDensity

      public final FloatDensityMatrix asDensity​(DensityUnit displayUnit)
      Return the current matrix as a density matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatDensityMatrix; the current matrix as a density matrix
    • asDimensionless

      public final FloatDimensionlessMatrix asDimensionless()
      Return the current matrix as a dimensionless matrix.
      Returns:
      FloatDimensionlessMatrix; the current matrix as a dimensionless matrix
    • asDimensionless

      public final FloatDimensionlessMatrix asDimensionless​(DimensionlessUnit displayUnit)
      Return the current matrix as a dimensionless matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatDimensionlessMatrix; the current matrix as a dimensionless matrix
    • asElectricalCapacitance

      public final FloatElectricalCapacitanceMatrix asElectricalCapacitance()
      Return the current matrix as a electricalcapacitance matrix.
      Returns:
      FloatElectricalCapacitanceMatrix; the current matrix as a electricalcapacitance matrix
    • asElectricalCapacitance

      public final FloatElectricalCapacitanceMatrix asElectricalCapacitance​(ElectricalCapacitanceUnit displayUnit)
      Return the current matrix as a electricalcapacitance matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatElectricalCapacitanceMatrix; the current matrix as a electricalcapacitance matrix
    • asElectricalCharge

      public final FloatElectricalChargeMatrix asElectricalCharge()
      Return the current matrix as a electricalcharge matrix.
      Returns:
      FloatElectricalChargeMatrix; the current matrix as a electricalcharge matrix
    • asElectricalCharge

      public final FloatElectricalChargeMatrix asElectricalCharge​(ElectricalChargeUnit displayUnit)
      Return the current matrix as a electricalcharge matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatElectricalChargeMatrix; the current matrix as a electricalcharge matrix
    • asElectricalConductance

      public final FloatElectricalConductanceMatrix asElectricalConductance()
      Return the current matrix as a electricalconductance matrix.
      Returns:
      FloatElectricalConductanceMatrix; the current matrix as a electricalconductance matrix
    • asElectricalConductance

      public final FloatElectricalConductanceMatrix asElectricalConductance​(ElectricalConductanceUnit displayUnit)
      Return the current matrix as a electricalconductance matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatElectricalConductanceMatrix; the current matrix as a electricalconductance matrix
    • asElectricalCurrent

      public final FloatElectricalCurrentMatrix asElectricalCurrent()
      Return the current matrix as a electricalcurrent matrix.
      Returns:
      FloatElectricalCurrentMatrix; the current matrix as a electricalcurrent matrix
    • asElectricalCurrent

      public final FloatElectricalCurrentMatrix asElectricalCurrent​(ElectricalCurrentUnit displayUnit)
      Return the current matrix as a electricalcurrent matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatElectricalCurrentMatrix; the current matrix as a electricalcurrent matrix
    • asElectricalInductance

      public final FloatElectricalInductanceMatrix asElectricalInductance()
      Return the current matrix as a electricalinductance matrix.
      Returns:
      FloatElectricalInductanceMatrix; the current matrix as a electricalinductance matrix
    • asElectricalInductance

      public final FloatElectricalInductanceMatrix asElectricalInductance​(ElectricalInductanceUnit displayUnit)
      Return the current matrix as a electricalinductance matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatElectricalInductanceMatrix; the current matrix as a electricalinductance matrix
    • asElectricalPotential

      public final FloatElectricalPotentialMatrix asElectricalPotential()
      Return the current matrix as a electricalpotential matrix.
      Returns:
      FloatElectricalPotentialMatrix; the current matrix as a electricalpotential matrix
    • asElectricalPotential

      public final FloatElectricalPotentialMatrix asElectricalPotential​(ElectricalPotentialUnit displayUnit)
      Return the current matrix as a electricalpotential matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatElectricalPotentialMatrix; the current matrix as a electricalpotential matrix
    • asElectricalResistance

      public final FloatElectricalResistanceMatrix asElectricalResistance()
      Return the current matrix as a electricalresistance matrix.
      Returns:
      FloatElectricalResistanceMatrix; the current matrix as a electricalresistance matrix
    • asElectricalResistance

      public final FloatElectricalResistanceMatrix asElectricalResistance​(ElectricalResistanceUnit displayUnit)
      Return the current matrix as a electricalresistance matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatElectricalResistanceMatrix; the current matrix as a electricalresistance matrix
    • asEnergy

      public final FloatEnergyMatrix asEnergy()
      Return the current matrix as a energy matrix.
      Returns:
      FloatEnergyMatrix; the current matrix as a energy matrix
    • asEnergy

      public final FloatEnergyMatrix asEnergy​(EnergyUnit displayUnit)
      Return the current matrix as a energy matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatEnergyMatrix; the current matrix as a energy matrix
    • asEquivalentDose

      public final FloatEquivalentDoseMatrix asEquivalentDose()
      Return the current matrix as a equivalentdose matrix.
      Returns:
      FloatEquivalentDoseMatrix; the current matrix as a equivalentdose matrix
    • asEquivalentDose

      public final FloatEquivalentDoseMatrix asEquivalentDose​(EquivalentDoseUnit displayUnit)
      Return the current matrix as a equivalentdose matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatEquivalentDoseMatrix; the current matrix as a equivalentdose matrix
    • asFlowMass

      public final FloatFlowMassMatrix asFlowMass()
      Return the current matrix as a flowmass matrix.
      Returns:
      FloatFlowMassMatrix; the current matrix as a flowmass matrix
    • asFlowMass

      public final FloatFlowMassMatrix asFlowMass​(FlowMassUnit displayUnit)
      Return the current matrix as a flowmass matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatFlowMassMatrix; the current matrix as a flowmass matrix
    • asFlowVolume

      public final FloatFlowVolumeMatrix asFlowVolume()
      Return the current matrix as a flowvolume matrix.
      Returns:
      FloatFlowVolumeMatrix; the current matrix as a flowvolume matrix
    • asFlowVolume

      public final FloatFlowVolumeMatrix asFlowVolume​(FlowVolumeUnit displayUnit)
      Return the current matrix as a flowvolume matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatFlowVolumeMatrix; the current matrix as a flowvolume matrix
    • asForce

      public final FloatForceMatrix asForce()
      Return the current matrix as a force matrix.
      Returns:
      FloatForceMatrix; the current matrix as a force matrix
    • asForce

      public final FloatForceMatrix asForce​(ForceUnit displayUnit)
      Return the current matrix as a force matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatForceMatrix; the current matrix as a force matrix
    • asFrequency

      public final FloatFrequencyMatrix asFrequency()
      Return the current matrix as a frequency matrix.
      Returns:
      FloatFrequencyMatrix; the current matrix as a frequency matrix
    • asFrequency

      public final FloatFrequencyMatrix asFrequency​(FrequencyUnit displayUnit)
      Return the current matrix as a frequency matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatFrequencyMatrix; the current matrix as a frequency matrix
    • asIlluminance

      public final FloatIlluminanceMatrix asIlluminance()
      Return the current matrix as a illuminance matrix.
      Returns:
      FloatIlluminanceMatrix; the current matrix as a illuminance matrix
    • asIlluminance

      public final FloatIlluminanceMatrix asIlluminance​(IlluminanceUnit displayUnit)
      Return the current matrix as a illuminance matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatIlluminanceMatrix; the current matrix as a illuminance matrix
    • asLinearDensity

      public final FloatLinearDensityMatrix asLinearDensity()
      Return the current matrix as a lineardensity matrix.
      Returns:
      FloatLinearDensityMatrix; the current matrix as a lineardensity matrix
    • asLinearDensity

      public final FloatLinearDensityMatrix asLinearDensity​(LinearDensityUnit displayUnit)
      Return the current matrix as a lineardensity matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatLinearDensityMatrix; the current matrix as a lineardensity matrix
    • asLuminousFlux

      public final FloatLuminousFluxMatrix asLuminousFlux()
      Return the current matrix as a luminousflux matrix.
      Returns:
      FloatLuminousFluxMatrix; the current matrix as a luminousflux matrix
    • asLuminousFlux

      public final FloatLuminousFluxMatrix asLuminousFlux​(LuminousFluxUnit displayUnit)
      Return the current matrix as a luminousflux matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatLuminousFluxMatrix; the current matrix as a luminousflux matrix
    • asLuminousIntensity

      public final FloatLuminousIntensityMatrix asLuminousIntensity()
      Return the current matrix as a luminousintensity matrix.
      Returns:
      FloatLuminousIntensityMatrix; the current matrix as a luminousintensity matrix
    • asLuminousIntensity

      public final FloatLuminousIntensityMatrix asLuminousIntensity​(LuminousIntensityUnit displayUnit)
      Return the current matrix as a luminousintensity matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatLuminousIntensityMatrix; the current matrix as a luminousintensity matrix
    • asMagneticFluxDensity

      public final FloatMagneticFluxDensityMatrix asMagneticFluxDensity()
      Return the current matrix as a magneticfluxdensity matrix.
      Returns:
      FloatMagneticFluxDensityMatrix; the current matrix as a magneticfluxdensity matrix
    • asMagneticFluxDensity

      public final FloatMagneticFluxDensityMatrix asMagneticFluxDensity​(MagneticFluxDensityUnit displayUnit)
      Return the current matrix as a magneticfluxdensity matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatMagneticFluxDensityMatrix; the current matrix as a magneticfluxdensity matrix
    • asMagneticFlux

      public final FloatMagneticFluxMatrix asMagneticFlux()
      Return the current matrix as a magneticflux matrix.
      Returns:
      FloatMagneticFluxMatrix; the current matrix as a magneticflux matrix
    • asMagneticFlux

      public final FloatMagneticFluxMatrix asMagneticFlux​(MagneticFluxUnit displayUnit)
      Return the current matrix as a magneticflux matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatMagneticFluxMatrix; the current matrix as a magneticflux matrix
    • asMass

      public final FloatMassMatrix asMass()
      Return the current matrix as a mass matrix.
      Returns:
      FloatMassMatrix; the current matrix as a mass matrix
    • asMass

      public final FloatMassMatrix asMass​(MassUnit displayUnit)
      Return the current matrix as a mass matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatMassMatrix; the current matrix as a mass matrix
    • asMomentum

      public final FloatMomentumMatrix asMomentum()
      Return the current matrix as a momentum matrix.
      Returns:
      FloatMomentumMatrix; the current matrix as a momentum matrix
    • asMomentum

      public final FloatMomentumMatrix asMomentum​(MomentumUnit displayUnit)
      Return the current matrix as a momentum matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatMomentumMatrix; the current matrix as a momentum matrix
    • asPower

      public final FloatPowerMatrix asPower()
      Return the current matrix as a power matrix.
      Returns:
      FloatPowerMatrix; the current matrix as a power matrix
    • asPower

      public final FloatPowerMatrix asPower​(PowerUnit displayUnit)
      Return the current matrix as a power matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatPowerMatrix; the current matrix as a power matrix
    • asPressure

      public final FloatPressureMatrix asPressure()
      Return the current matrix as a pressure matrix.
      Returns:
      FloatPressureMatrix; the current matrix as a pressure matrix
    • asPressure

      public final FloatPressureMatrix asPressure​(PressureUnit displayUnit)
      Return the current matrix as a pressure matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatPressureMatrix; the current matrix as a pressure matrix
    • asRadioActivity

      public final FloatRadioActivityMatrix asRadioActivity()
      Return the current matrix as a radioactivity matrix.
      Returns:
      FloatRadioActivityMatrix; the current matrix as a radioactivity matrix
    • asRadioActivity

      public final FloatRadioActivityMatrix asRadioActivity​(RadioActivityUnit displayUnit)
      Return the current matrix as a radioactivity matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatRadioActivityMatrix; the current matrix as a radioactivity matrix
    • asSolidAngle

      public final FloatSolidAngleMatrix asSolidAngle()
      Return the current matrix as a solidangle matrix.
      Returns:
      FloatSolidAngleMatrix; the current matrix as a solidangle matrix
    • asSolidAngle

      public final FloatSolidAngleMatrix asSolidAngle​(SolidAngleUnit displayUnit)
      Return the current matrix as a solidangle matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatSolidAngleMatrix; the current matrix as a solidangle matrix
    • asSpeed

      public final FloatSpeedMatrix asSpeed()
      Return the current matrix as a speed matrix.
      Returns:
      FloatSpeedMatrix; the current matrix as a speed matrix
    • asSpeed

      public final FloatSpeedMatrix asSpeed​(SpeedUnit displayUnit)
      Return the current matrix as a speed matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatSpeedMatrix; the current matrix as a speed matrix
    • asTorque

      public final FloatTorqueMatrix asTorque()
      Return the current matrix as a torque matrix.
      Returns:
      FloatTorqueMatrix; the current matrix as a torque matrix
    • asTorque

      public final FloatTorqueMatrix asTorque​(TorqueUnit displayUnit)
      Return the current matrix as a torque matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatTorqueMatrix; the current matrix as a torque matrix
    • asVolume

      public final FloatVolumeMatrix asVolume()
      Return the current matrix as a volume matrix.
      Returns:
      FloatVolumeMatrix; the current matrix as a volume matrix
    • asVolume

      public final FloatVolumeMatrix asVolume​(VolumeUnit displayUnit)
      Return the current matrix as a volume matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatVolumeMatrix; the current matrix as a volume matrix
    • asAngle

      public final FloatAngleMatrix asAngle()
      Return the current matrix as a angle matrix.
      Returns:
      FloatAngleMatrix; the current matrix as a angle matrix
    • asAngle

      public final FloatAngleMatrix asAngle​(AngleUnit displayUnit)
      Return the current matrix as a angle matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatAngleMatrix; the current matrix as a angle matrix
    • asLength

      public final FloatLengthMatrix asLength()
      Return the current matrix as a length matrix.
      Returns:
      FloatLengthMatrix; the current matrix as a length matrix
    • asLength

      public final FloatLengthMatrix asLength​(LengthUnit displayUnit)
      Return the current matrix as a length matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatLengthMatrix; the current matrix as a length matrix
    • asTemperature

      public final FloatTemperatureMatrix asTemperature()
      Return the current matrix as a temperature matrix.
      Returns:
      FloatTemperatureMatrix; the current matrix as a temperature matrix
    • asTemperature

      public final FloatTemperatureMatrix asTemperature​(TemperatureUnit displayUnit)
      Return the current matrix as a temperature matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatTemperatureMatrix; the current matrix as a temperature matrix
    • asDuration

      public final FloatDurationMatrix asDuration()
      Return the current matrix as a duration matrix.
      Returns:
      FloatDurationMatrix; the current matrix as a duration matrix
    • asDuration

      public final FloatDurationMatrix asDuration​(DurationUnit displayUnit)
      Return the current matrix as a duration matrix, and provide a display unit.
      Parameters:
      displayUnit - the unit in which the value will be displayed
      Returns:
      FloatDurationMatrix; the current matrix as a duration matrix