Class FloatSIMatrix

All Implemented Interfaces:
Serializable, Cloneable, Relative<SIUnit,FloatSIMatrix>, Value<SIUnit,FloatSIMatrix>

@Generated(value="org.djunits.generator.GenerateDJUNIT", date="2023-07-23T14:06:38.224104100Z") public class FloatSIMatrix extends FloatMatrixRel<SIUnit,FloatSIScalar,FloatSIVector,FloatSIMatrix>
Easy access methods for the generic Relative SI FloatMatrix.

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

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

    • FloatSIMatrix

      public FloatSIMatrix(FloatMatrixData data, SIUnit displayUnit)
      Construct a new Relative FloatSIMatrix on the basis of a data object.
      Parameters:
      data - FloatMatrixData; an internal data object
      displayUnit - SIUnit; the display unit
    • FloatSIMatrix

      public FloatSIMatrix(float[][] values, SIUnit unit, StorageType storageType) throws ValueRuntimeException
      Construct a new Relative FloatSIMatrix with a unit for the float values that will also be used for the displayUnit.
      Parameters:
      values - float[][]; the values of the entries in the new Relative FloatSIMatrix
      unit - SIUnit; the unit of the new Relative FloatSIMatrix
      storageType - StorageType; the data type to use (e.g., DENSE or SPARSE)
      Throws:
      ValueRuntimeException - when values is null
    • FloatSIMatrix

      public FloatSIMatrix(float[][] values, SIUnit unit) throws ValueRuntimeException
      Construct a new Relative FloatSIMatrix with a unit for the float values that will also be used for the displayUnit. Assume the StorageType is DENSE since we offer the content as an array.
      Parameters:
      values - float[][]; the values of the entries in the new Relative FloatSIMatrix
      unit - SIUnit; the unit of the new Relative FloatSIMatrix
      Throws:
      ValueRuntimeException - when values is null
  • Method Details

    • getScalarClass

      public Class<FloatSIScalar> getScalarClass()
      Description copied from class: IndexedValue
      Return the class of the corresponding scalar.
      Specified by:
      getScalarClass in class IndexedValue<SIUnit,FloatSIScalar,FloatSIMatrix,FloatMatrixData>
      Returns:
      Class<S>; the class of the corresponding scalar
    • getVectorClass

      public Class<FloatSIVector> getVectorClass()
      Description copied from class: Matrix
      Return the class of the corresponding vector.
      Specified by:
      getVectorClass in class Matrix<SIUnit,FloatSIScalar,FloatSIVector,FloatVectorData,FloatSIMatrix,FloatMatrixData>
      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)
      Description copied from class: FloatMatrix
      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.
      Specified by:
      instantiateMatrix in class FloatMatrix<SIUnit,FloatSIScalar,FloatSIVector,FloatSIMatrix>
      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)
      Description copied from class: FloatMatrix
      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.
      Specified by:
      instantiateVector in class FloatMatrix<SIUnit,FloatSIScalar,FloatSIVector,FloatSIMatrix>
      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)
      Description copied from class: FloatMatrix
      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.
      Specified by:
      instantiateScalarSI in class FloatMatrix<SIUnit,FloatSIScalar,FloatSIVector,FloatSIMatrix>
      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
    • toString

      public String toString(SIUnit displayUnit, boolean verbose, boolean withUnit)
      Description copied from interface: Value
      Somewhat verbose description of this value with the values expressed in the specified unit.
      Specified by:
      toString in interface Value<SIUnit,FloatSIMatrix>
      Overrides:
      toString in class FloatMatrix<SIUnit,FloatSIScalar,FloatSIVector,FloatSIMatrix>
      Parameters:
      displayUnit - U; the unit into which the values are converted for display
      verbose - boolean; if true; include type info; if false; exclude type info
      withUnit - boolean; if true; include the unit; of false; exclude the unit
      Returns:
      String; printable string with the value contents
    • 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