Package org.djunits.value.vfloat.matrix
Class FloatSIMatrix
- java.lang.Object
-
- org.djunits.value.AbstractValue<U,T>
-
- org.djunits.value.AbstractIndexedValue<U,S,M,FloatMatrixData>
-
- org.djunits.value.vfloat.matrix.base.AbstractFloatMatrix<U,S,RV,RM>
-
- org.djunits.value.vfloat.matrix.base.AbstractFloatMatrixRel<SIUnit,FloatSIScalar,FloatSIVector,FloatSIMatrix>
-
- org.djunits.value.vfloat.matrix.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="2022-03-14T11:14:15.180987200Z") public class FloatSIMatrix extends AbstractFloatMatrixRel<SIUnit,FloatSIScalar,FloatSIVector,FloatSIMatrix>Easy access methods for the generic Relative SI FloatMatrix.Copyright (c) 2013-2022 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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.djunits.value.base.Matrix
Matrix.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar<AU,A>,AV extends Vector.Abs<AU,A,AV,RU,R,RV>,AM extends Matrix.Abs<AU,A,AV,AM,RU,R,RV,RM>,RU extends Unit<RU>,R extends Scalar<RU,R>,RV extends Vector.RelWithAbs<AU,A,AV,RU,R,RV>,RM extends Matrix.RelWithAbs<AU,A,AV,AM,RU,R,RV,RM>>, Matrix.Rel<U extends Unit<U>,S extends Scalar<U,S>,V extends Vector<U,S,V>,RM extends Matrix.Rel<U,S,V,RM>>, Matrix.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar<AU,A>,AV extends Vector.Abs<AU,A,AV,RU,R,RV>,AM extends Matrix.Abs<AU,A,AV,AM,RU,R,RV,RM>,RU extends Unit<RU>,R extends Scalar<RU,R>,RV extends Vector.RelWithAbs<AU,A,AV,RU,R,RV>,RM extends Matrix.RelWithAbs<AU,A,AV,AM,RU,R,RV,RM>>
-
-
Field Summary
-
Fields inherited from class org.djunits.value.vfloat.matrix.base.AbstractFloatMatrix
data
-
-
Constructor Summary
Constructors Constructor Description FloatSIMatrix(FloatMatrixData data, SIUnit unit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <U extends Unit<U>,S extends AbstractFloatScalarRel<U,S>,V extends AbstractFloatVectorRel<U,S,V>,M extends AbstractFloatMatrixRel<U,S,V,M>>
Mas(U displayUnit)Return the current matrix transformed to a matrix in the given unit.FloatAbsorbedDoseMatrixasAbsorbedDose()Return the current matrix as a absorbeddose matrix.FloatAbsorbedDoseMatrixasAbsorbedDose(AbsorbedDoseUnit displayUnit)Return the current matrix as a absorbeddose matrix, and provide a display unit.FloatAccelerationMatrixasAcceleration()Return the current matrix as a acceleration matrix.FloatAccelerationMatrixasAcceleration(AccelerationUnit displayUnit)Return the current matrix as a acceleration matrix, and provide a display unit.FloatAmountOfSubstanceMatrixasAmountOfSubstance()Return the current matrix as a amountofsubstance matrix.FloatAmountOfSubstanceMatrixasAmountOfSubstance(AmountOfSubstanceUnit displayUnit)Return the current matrix as a amountofsubstance matrix, and provide a display unit.FloatAngleMatrixasAngle()Return the current matrix as a angle matrix.FloatAngleMatrixasAngle(AngleUnit displayUnit)Return the current matrix as a angle matrix, and provide a display unit.FloatAngularAccelerationMatrixasAngularAcceleration()Return the current matrix as a angularacceleration matrix.FloatAngularAccelerationMatrixasAngularAcceleration(AngularAccelerationUnit displayUnit)Return the current matrix as a angularacceleration matrix, and provide a display unit.FloatAngularVelocityMatrixasAngularVelocity()Return the current matrix as a angularvelocity matrix.FloatAngularVelocityMatrixasAngularVelocity(AngularVelocityUnit displayUnit)Return the current matrix as a angularvelocity matrix, and provide a display unit.FloatAreaMatrixasArea()Return the current matrix as a area matrix.FloatAreaMatrixasArea(AreaUnit displayUnit)Return the current matrix as a area matrix, and provide a display unit.FloatCatalyticActivityMatrixasCatalyticActivity()Return the current matrix as a catalyticactivity matrix.FloatCatalyticActivityMatrixasCatalyticActivity(CatalyticActivityUnit displayUnit)Return the current matrix as a catalyticactivity matrix, and provide a display unit.FloatDensityMatrixasDensity()Return the current matrix as a density matrix.FloatDensityMatrixasDensity(DensityUnit displayUnit)Return the current matrix as a density matrix, and provide a display unit.FloatDimensionlessMatrixasDimensionless()Return the current matrix as a dimensionless matrix.FloatDimensionlessMatrixasDimensionless(DimensionlessUnit displayUnit)Return the current matrix as a dimensionless matrix, and provide a display unit.FloatDurationMatrixasDuration()Return the current matrix as a duration matrix.FloatDurationMatrixasDuration(DurationUnit displayUnit)Return the current matrix as a duration matrix, and provide a display unit.FloatElectricalCapacitanceMatrixasElectricalCapacitance()Return the current matrix as a electricalcapacitance matrix.FloatElectricalCapacitanceMatrixasElectricalCapacitance(ElectricalCapacitanceUnit displayUnit)Return the current matrix as a electricalcapacitance matrix, and provide a display unit.FloatElectricalChargeMatrixasElectricalCharge()Return the current matrix as a electricalcharge matrix.FloatElectricalChargeMatrixasElectricalCharge(ElectricalChargeUnit displayUnit)Return the current matrix as a electricalcharge matrix, and provide a display unit.FloatElectricalConductanceMatrixasElectricalConductance()Return the current matrix as a electricalconductance matrix.FloatElectricalConductanceMatrixasElectricalConductance(ElectricalConductanceUnit displayUnit)Return the current matrix as a electricalconductance matrix, and provide a display unit.FloatElectricalCurrentMatrixasElectricalCurrent()Return the current matrix as a electricalcurrent matrix.FloatElectricalCurrentMatrixasElectricalCurrent(ElectricalCurrentUnit displayUnit)Return the current matrix as a electricalcurrent matrix, and provide a display unit.FloatElectricalInductanceMatrixasElectricalInductance()Return the current matrix as a electricalinductance matrix.FloatElectricalInductanceMatrixasElectricalInductance(ElectricalInductanceUnit displayUnit)Return the current matrix as a electricalinductance matrix, and provide a display unit.FloatElectricalPotentialMatrixasElectricalPotential()Return the current matrix as a electricalpotential matrix.FloatElectricalPotentialMatrixasElectricalPotential(ElectricalPotentialUnit displayUnit)Return the current matrix as a electricalpotential matrix, and provide a display unit.FloatElectricalResistanceMatrixasElectricalResistance()Return the current matrix as a electricalresistance matrix.FloatElectricalResistanceMatrixasElectricalResistance(ElectricalResistanceUnit displayUnit)Return the current matrix as a electricalresistance matrix, and provide a display unit.FloatEnergyMatrixasEnergy()Return the current matrix as a energy matrix.FloatEnergyMatrixasEnergy(EnergyUnit displayUnit)Return the current matrix as a energy matrix, and provide a display unit.FloatEquivalentDoseMatrixasEquivalentDose()Return the current matrix as a equivalentdose matrix.FloatEquivalentDoseMatrixasEquivalentDose(EquivalentDoseUnit displayUnit)Return the current matrix as a equivalentdose matrix, and provide a display unit.FloatFlowMassMatrixasFlowMass()Return the current matrix as a flowmass matrix.FloatFlowMassMatrixasFlowMass(FlowMassUnit displayUnit)Return the current matrix as a flowmass matrix, and provide a display unit.FloatFlowVolumeMatrixasFlowVolume()Return the current matrix as a flowvolume matrix.FloatFlowVolumeMatrixasFlowVolume(FlowVolumeUnit displayUnit)Return the current matrix as a flowvolume matrix, and provide a display unit.FloatForceMatrixasForce()Return the current matrix as a force matrix.FloatForceMatrixasForce(ForceUnit displayUnit)Return the current matrix as a force matrix, and provide a display unit.FloatFrequencyMatrixasFrequency()Return the current matrix as a frequency matrix.FloatFrequencyMatrixasFrequency(FrequencyUnit displayUnit)Return the current matrix as a frequency matrix, and provide a display unit.FloatIlluminanceMatrixasIlluminance()Return the current matrix as a illuminance matrix.FloatIlluminanceMatrixasIlluminance(IlluminanceUnit displayUnit)Return the current matrix as a illuminance matrix, and provide a display unit.FloatLengthMatrixasLength()Return the current matrix as a length matrix.FloatLengthMatrixasLength(LengthUnit displayUnit)Return the current matrix as a length matrix, and provide a display unit.FloatLinearDensityMatrixasLinearDensity()Return the current matrix as a lineardensity matrix.FloatLinearDensityMatrixasLinearDensity(LinearDensityUnit displayUnit)Return the current matrix as a lineardensity matrix, and provide a display unit.FloatLuminousFluxMatrixasLuminousFlux()Return the current matrix as a luminousflux matrix.FloatLuminousFluxMatrixasLuminousFlux(LuminousFluxUnit displayUnit)Return the current matrix as a luminousflux matrix, and provide a display unit.FloatLuminousIntensityMatrixasLuminousIntensity()Return the current matrix as a luminousintensity matrix.FloatLuminousIntensityMatrixasLuminousIntensity(LuminousIntensityUnit displayUnit)Return the current matrix as a luminousintensity matrix, and provide a display unit.FloatMagneticFluxMatrixasMagneticFlux()Return the current matrix as a magneticflux matrix.FloatMagneticFluxMatrixasMagneticFlux(MagneticFluxUnit displayUnit)Return the current matrix as a magneticflux matrix, and provide a display unit.FloatMagneticFluxDensityMatrixasMagneticFluxDensity()Return the current matrix as a magneticfluxdensity matrix.FloatMagneticFluxDensityMatrixasMagneticFluxDensity(MagneticFluxDensityUnit displayUnit)Return the current matrix as a magneticfluxdensity matrix, and provide a display unit.FloatMassMatrixasMass()Return the current matrix as a mass matrix.FloatMassMatrixasMass(MassUnit displayUnit)Return the current matrix as a mass matrix, and provide a display unit.FloatMomentumMatrixasMomentum()Return the current matrix as a momentum matrix.FloatMomentumMatrixasMomentum(MomentumUnit displayUnit)Return the current matrix as a momentum matrix, and provide a display unit.FloatPowerMatrixasPower()Return the current matrix as a power matrix.FloatPowerMatrixasPower(PowerUnit displayUnit)Return the current matrix as a power matrix, and provide a display unit.FloatPressureMatrixasPressure()Return the current matrix as a pressure matrix.FloatPressureMatrixasPressure(PressureUnit displayUnit)Return the current matrix as a pressure matrix, and provide a display unit.FloatRadioActivityMatrixasRadioActivity()Return the current matrix as a radioactivity matrix.FloatRadioActivityMatrixasRadioActivity(RadioActivityUnit displayUnit)Return the current matrix as a radioactivity matrix, and provide a display unit.FloatSolidAngleMatrixasSolidAngle()Return the current matrix as a solidangle matrix.FloatSolidAngleMatrixasSolidAngle(SolidAngleUnit displayUnit)Return the current matrix as a solidangle matrix, and provide a display unit.FloatSpeedMatrixasSpeed()Return the current matrix as a speed matrix.FloatSpeedMatrixasSpeed(SpeedUnit displayUnit)Return the current matrix as a speed matrix, and provide a display unit.FloatTemperatureMatrixasTemperature()Return the current matrix as a temperature matrix.FloatTemperatureMatrixasTemperature(TemperatureUnit displayUnit)Return the current matrix as a temperature matrix, and provide a display unit.FloatTorqueMatrixasTorque()Return the current matrix as a torque matrix.FloatTorqueMatrixasTorque(TorqueUnit displayUnit)Return the current matrix as a torque matrix, and provide a display unit.FloatVolumeMatrixasVolume()Return the current matrix as a volume matrix.FloatVolumeMatrixasVolume(VolumeUnit displayUnit)Return the current matrix as a volume matrix, and provide a display unit.Class<FloatSIScalar>getScalarClass()Return the class of the corresponding scalar.Class<FloatSIVector>getVectorClass()Return the class of the corresponding vector.static FloatSIMatrixinstantiate(float[][] values, SIUnit unit, StorageType storageType)Construct a new Relative Float FloatSIMatrix.FloatSIMatrixinstantiateMatrix(FloatMatrixData fmd, SIUnit unit)Instantiate a new matrix of the class of this matrix.FloatSIScalarinstantiateScalarSI(float valueSI, SIUnit unit)Instantiate a new scalar for the class of this matrix.FloatSIVectorinstantiateVector(FloatVectorData fvd, SIUnit unit)Instantiate a new vector of the class of this matrix.static FloatSIMatrixof(float[][] values, String unitString, StorageType storageType)Returns an FloatSIMatrix based on an array of values and the textual representation of the unit.-
Methods inherited from class org.djunits.value.vfloat.matrix.base.AbstractFloatMatrixRel
decrementBy, decrementBy, divide, divide, divide, divideBy, incrementBy, incrementBy, minus, multiplyBy, plus, times, times, times, zSum
-
Methods inherited from class org.djunits.value.vfloat.matrix.base.AbstractFloatMatrix
abs, assign, ceil, checkColumnIndex, checkIndex, checkRowIndex, checkSquare, cols, determinantSI, equals, floor, get, getColumn, getColumnScalars, getColumnSI, getData, getDiagonal, getDiagonalScalars, getDiagonalSI, getInUnit, getInUnit, getRow, getRowScalars, getRowSI, getScalars, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, hashCode, neg, rint, rows, set, setData, setInUnit, setInUnit, setSI, toDense, toSparse, toString, toString, toString, toString
-
Methods inherited from class org.djunits.value.AbstractIndexedValue
cardinality, checkCopyOnWrite, clone, getStorageType, immutable, isCopyOnWrite, isDense, isMutable, isSparse, mutable, setCopyOnWrite, setMutable
-
Methods inherited from class org.djunits.value.AbstractValue
getDisplayUnit, isAbsolute, isRelative, setDisplayUnit
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.djunits.value.IndexedValue
cardinality, getStorageType, immutable, isDense, isMutable, isSparse, mutable, toDense, toSparse
-
Methods inherited from interface org.djunits.value.base.Matrix
cols, get, getColumn, getColumnScalars, getDiagonal, getDiagonalScalars, getRow, getRowScalars, getScalars, rows
-
Methods inherited from interface org.djunits.value.Value
getDisplayUnit, isAbsolute, isRelative, setDisplayUnit, toString, toString, toString, toString
-
-
-
-
Constructor Detail
-
FloatSIMatrix
public FloatSIMatrix(FloatMatrixData data, SIUnit unit)
- Parameters:
data- FloatMatrixData; an internal data objectunit- SIUnit; the unit
-
-
Method Detail
-
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 FloatSIMatrixunit- SIUnit; the unit of the new Relative Float FloatSIMatrixstorageType- 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 useunitString- String; the textual representation of the unitstorageType- 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 incorrectNullPointerException- 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 matrixunit- 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 vectorunit- 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 scalarunit- 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 typeS- the scalar typeV- the vector typeM- 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
-
-