Package org.djunits.value.vdouble.matrix
Class SIMatrix
- java.lang.Object
-
- org.djunits.value.AbstractValue<U,T>
-
- org.djunits.value.AbstractIndexedValue<U,S,M,DoubleMatrixData>
-
- org.djunits.value.vdouble.matrix.base.AbstractDoubleMatrix<U,S,RV,RM>
-
- org.djunits.value.vdouble.matrix.base.AbstractDoubleMatrixRel<SIUnit,SIScalar,SIVector,SIMatrix>
-
- org.djunits.value.vdouble.matrix.SIMatrix
-
- All Implemented Interfaces:
Serializable,Cloneable,Matrix<SIUnit,SIScalar,SIVector,SIMatrix>,Matrix.Rel<SIUnit,SIScalar,SIVector,SIMatrix>,ValueFunctions<SIUnit,SIMatrix>,IndexedValue<SIUnit,SIScalar,SIMatrix>,Relative<SIUnit,SIMatrix>,Value<SIUnit,SIMatrix>,DoubleMatrixInterface<SIUnit,SIScalar,SIVector,SIMatrix>
@Generated(value="org.djunits.generator.GenerateDJUNIT", date="2022-03-14T11:14:15.180987200Z") public class SIMatrix extends AbstractDoubleMatrixRel<SIUnit,SIScalar,SIVector,SIMatrix>Easy access methods for the generic Relative SI DoubleMatrix.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.vdouble.matrix.base.AbstractDoubleMatrix
data
-
-
Constructor Summary
Constructors Constructor Description SIMatrix(DoubleMatrixData data, SIUnit unit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <U extends Unit<U>,S extends AbstractDoubleScalarRel<U,S>,V extends AbstractDoubleVectorRel<U,S,V>,M extends AbstractDoubleMatrixRel<U,S,V,M>>
Mas(U displayUnit)Return the current matrix transformed to a matrix in the given unit.AbsorbedDoseMatrixasAbsorbedDose()Return the current matrix as a absorbeddose matrix.AbsorbedDoseMatrixasAbsorbedDose(AbsorbedDoseUnit displayUnit)Return the current matrix as a absorbeddose matrix, and provide a display unit.AccelerationMatrixasAcceleration()Return the current matrix as a acceleration matrix.AccelerationMatrixasAcceleration(AccelerationUnit displayUnit)Return the current matrix as a acceleration matrix, and provide a display unit.AmountOfSubstanceMatrixasAmountOfSubstance()Return the current matrix as a amountofsubstance matrix.AmountOfSubstanceMatrixasAmountOfSubstance(AmountOfSubstanceUnit displayUnit)Return the current matrix as a amountofsubstance matrix, and provide a display unit.AngleMatrixasAngle()Return the current matrix as a angle matrix.AngleMatrixasAngle(AngleUnit displayUnit)Return the current matrix as a angle matrix, and provide a display unit.AngularAccelerationMatrixasAngularAcceleration()Return the current matrix as a angularacceleration matrix.AngularAccelerationMatrixasAngularAcceleration(AngularAccelerationUnit displayUnit)Return the current matrix as a angularacceleration matrix, and provide a display unit.AngularVelocityMatrixasAngularVelocity()Return the current matrix as a angularvelocity matrix.AngularVelocityMatrixasAngularVelocity(AngularVelocityUnit displayUnit)Return the current matrix as a angularvelocity matrix, and provide a display unit.AreaMatrixasArea()Return the current matrix as a area matrix.AreaMatrixasArea(AreaUnit displayUnit)Return the current matrix as a area matrix, and provide a display unit.CatalyticActivityMatrixasCatalyticActivity()Return the current matrix as a catalyticactivity matrix.CatalyticActivityMatrixasCatalyticActivity(CatalyticActivityUnit displayUnit)Return the current matrix as a catalyticactivity matrix, and provide a display unit.DensityMatrixasDensity()Return the current matrix as a density matrix.DensityMatrixasDensity(DensityUnit displayUnit)Return the current matrix as a density matrix, and provide a display unit.DimensionlessMatrixasDimensionless()Return the current matrix as a dimensionless matrix.DimensionlessMatrixasDimensionless(DimensionlessUnit displayUnit)Return the current matrix as a dimensionless matrix, and provide a display unit.DurationMatrixasDuration()Return the current matrix as a duration matrix.DurationMatrixasDuration(DurationUnit displayUnit)Return the current matrix as a duration matrix, and provide a display unit.ElectricalCapacitanceMatrixasElectricalCapacitance()Return the current matrix as a electricalcapacitance matrix.ElectricalCapacitanceMatrixasElectricalCapacitance(ElectricalCapacitanceUnit displayUnit)Return the current matrix as a electricalcapacitance matrix, and provide a display unit.ElectricalChargeMatrixasElectricalCharge()Return the current matrix as a electricalcharge matrix.ElectricalChargeMatrixasElectricalCharge(ElectricalChargeUnit displayUnit)Return the current matrix as a electricalcharge matrix, and provide a display unit.ElectricalConductanceMatrixasElectricalConductance()Return the current matrix as a electricalconductance matrix.ElectricalConductanceMatrixasElectricalConductance(ElectricalConductanceUnit displayUnit)Return the current matrix as a electricalconductance matrix, and provide a display unit.ElectricalCurrentMatrixasElectricalCurrent()Return the current matrix as a electricalcurrent matrix.ElectricalCurrentMatrixasElectricalCurrent(ElectricalCurrentUnit displayUnit)Return the current matrix as a electricalcurrent matrix, and provide a display unit.ElectricalInductanceMatrixasElectricalInductance()Return the current matrix as a electricalinductance matrix.ElectricalInductanceMatrixasElectricalInductance(ElectricalInductanceUnit displayUnit)Return the current matrix as a electricalinductance matrix, and provide a display unit.ElectricalPotentialMatrixasElectricalPotential()Return the current matrix as a electricalpotential matrix.ElectricalPotentialMatrixasElectricalPotential(ElectricalPotentialUnit displayUnit)Return the current matrix as a electricalpotential matrix, and provide a display unit.ElectricalResistanceMatrixasElectricalResistance()Return the current matrix as a electricalresistance matrix.ElectricalResistanceMatrixasElectricalResistance(ElectricalResistanceUnit displayUnit)Return the current matrix as a electricalresistance matrix, and provide a display unit.EnergyMatrixasEnergy()Return the current matrix as a energy matrix.EnergyMatrixasEnergy(EnergyUnit displayUnit)Return the current matrix as a energy matrix, and provide a display unit.EquivalentDoseMatrixasEquivalentDose()Return the current matrix as a equivalentdose matrix.EquivalentDoseMatrixasEquivalentDose(EquivalentDoseUnit displayUnit)Return the current matrix as a equivalentdose matrix, and provide a display unit.FlowMassMatrixasFlowMass()Return the current matrix as a flowmass matrix.FlowMassMatrixasFlowMass(FlowMassUnit displayUnit)Return the current matrix as a flowmass matrix, and provide a display unit.FlowVolumeMatrixasFlowVolume()Return the current matrix as a flowvolume matrix.FlowVolumeMatrixasFlowVolume(FlowVolumeUnit displayUnit)Return the current matrix as a flowvolume matrix, and provide a display unit.ForceMatrixasForce()Return the current matrix as a force matrix.ForceMatrixasForce(ForceUnit displayUnit)Return the current matrix as a force matrix, and provide a display unit.FrequencyMatrixasFrequency()Return the current matrix as a frequency matrix.FrequencyMatrixasFrequency(FrequencyUnit displayUnit)Return the current matrix as a frequency matrix, and provide a display unit.IlluminanceMatrixasIlluminance()Return the current matrix as a illuminance matrix.IlluminanceMatrixasIlluminance(IlluminanceUnit displayUnit)Return the current matrix as a illuminance matrix, and provide a display unit.LengthMatrixasLength()Return the current matrix as a length matrix.LengthMatrixasLength(LengthUnit displayUnit)Return the current matrix as a length matrix, and provide a display unit.LinearDensityMatrixasLinearDensity()Return the current matrix as a lineardensity matrix.LinearDensityMatrixasLinearDensity(LinearDensityUnit displayUnit)Return the current matrix as a lineardensity matrix, and provide a display unit.LuminousFluxMatrixasLuminousFlux()Return the current matrix as a luminousflux matrix.LuminousFluxMatrixasLuminousFlux(LuminousFluxUnit displayUnit)Return the current matrix as a luminousflux matrix, and provide a display unit.LuminousIntensityMatrixasLuminousIntensity()Return the current matrix as a luminousintensity matrix.LuminousIntensityMatrixasLuminousIntensity(LuminousIntensityUnit displayUnit)Return the current matrix as a luminousintensity matrix, and provide a display unit.MagneticFluxMatrixasMagneticFlux()Return the current matrix as a magneticflux matrix.MagneticFluxMatrixasMagneticFlux(MagneticFluxUnit displayUnit)Return the current matrix as a magneticflux matrix, and provide a display unit.MagneticFluxDensityMatrixasMagneticFluxDensity()Return the current matrix as a magneticfluxdensity matrix.MagneticFluxDensityMatrixasMagneticFluxDensity(MagneticFluxDensityUnit displayUnit)Return the current matrix as a magneticfluxdensity matrix, and provide a display unit.MassMatrixasMass()Return the current matrix as a mass matrix.MassMatrixasMass(MassUnit displayUnit)Return the current matrix as a mass matrix, and provide a display unit.MomentumMatrixasMomentum()Return the current matrix as a momentum matrix.MomentumMatrixasMomentum(MomentumUnit displayUnit)Return the current matrix as a momentum matrix, and provide a display unit.PowerMatrixasPower()Return the current matrix as a power matrix.PowerMatrixasPower(PowerUnit displayUnit)Return the current matrix as a power matrix, and provide a display unit.PressureMatrixasPressure()Return the current matrix as a pressure matrix.PressureMatrixasPressure(PressureUnit displayUnit)Return the current matrix as a pressure matrix, and provide a display unit.RadioActivityMatrixasRadioActivity()Return the current matrix as a radioactivity matrix.RadioActivityMatrixasRadioActivity(RadioActivityUnit displayUnit)Return the current matrix as a radioactivity matrix, and provide a display unit.SolidAngleMatrixasSolidAngle()Return the current matrix as a solidangle matrix.SolidAngleMatrixasSolidAngle(SolidAngleUnit displayUnit)Return the current matrix as a solidangle matrix, and provide a display unit.SpeedMatrixasSpeed()Return the current matrix as a speed matrix.SpeedMatrixasSpeed(SpeedUnit displayUnit)Return the current matrix as a speed matrix, and provide a display unit.TemperatureMatrixasTemperature()Return the current matrix as a temperature matrix.TemperatureMatrixasTemperature(TemperatureUnit displayUnit)Return the current matrix as a temperature matrix, and provide a display unit.TorqueMatrixasTorque()Return the current matrix as a torque matrix.TorqueMatrixasTorque(TorqueUnit displayUnit)Return the current matrix as a torque matrix, and provide a display unit.VolumeMatrixasVolume()Return the current matrix as a volume matrix.VolumeMatrixasVolume(VolumeUnit displayUnit)Return the current matrix as a volume matrix, and provide a display unit.Class<SIScalar>getScalarClass()Return the class of the corresponding scalar.Class<SIVector>getVectorClass()Return the class of the corresponding vector.static SIMatrixinstantiate(double[][] values, SIUnit unit, StorageType storageType)Construct a new Relative Double SIMatrix.SIMatrixinstantiateMatrix(DoubleMatrixData dmd, SIUnit unit)Instantiate a new matrix of the class of this matrix.SIScalarinstantiateScalarSI(double valueSI, SIUnit unit)Instantiate a new scalar for the class of this matrix.SIVectorinstantiateVector(DoubleVectorData dvd, SIUnit unit)Instantiate a new vector of the class of this matrix.static SIMatrixof(double[][] values, String unitString, StorageType storageType)Returns an SIMatrix based on an array of values and the textual representation of the unit.-
Methods inherited from class org.djunits.value.vdouble.matrix.base.AbstractDoubleMatrixRel
decrementBy, decrementBy, divide, divide, divide, divideBy, incrementBy, incrementBy, minus, multiplyBy, plus, times, times, times, zSum
-
Methods inherited from class org.djunits.value.vdouble.matrix.base.AbstractDoubleMatrix
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
-
SIMatrix
public SIMatrix(DoubleMatrixData data, SIUnit unit)
- Parameters:
data- DoubleMatrixData; an internal data objectunit- SIUnit; the unit
-
-
Method Detail
-
instantiate
public static SIMatrix instantiate(double[][] values, SIUnit unit, StorageType storageType) throws ValueRuntimeException
Construct a new Relative Double SIMatrix.- Parameters:
values- double[][]; the values of the entries in the new Relative Double SIMatrixunit- SIUnit; the unit of the new Relative Double SIMatrixstorageType- StorageType; the data type to use (e.g., DENSE or SPARSE)- Returns:
- SIMatrix; the SIMatrix of the given unit
- Throws:
ValueRuntimeException- when values is null
-
getScalarClass
public Class<SIScalar> getScalarClass()
Return the class of the corresponding scalar.- Returns:
- Class<S>; the class of the corresponding scalar
-
getVectorClass
public Class<SIVector> getVectorClass()
Return the class of the corresponding vector.- Returns:
- Class<V>; the class of the corresponding vector
-
of
public static SIMatrix of(double[][] values, String unitString, StorageType storageType)
Returns an SIMatrix based on an array of values and the textual representation of the unit.- Parameters:
values- double[][]; the values to useunitString- String; the textual representation of the unitstorageType- StorageType; the storage type to use- Returns:
- SIMatrix; 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 SIMatrix instantiateMatrix(DoubleMatrixData dmd, SIUnit unit)
Instantiate a new matrix of the class of this matrix. This can be used instead of the DoubleMatrix.instiantiate() methods in case another matrix of this class is known. The method is faster than DoubleMatrix.instantiate, and it will also work if the matrix is user-defined.- Parameters:
dmd- DoubleMatrixData; the data used to instantiate the matrixunit- U; the display unit of the matrix- Returns:
- V; a matrix of the correct type
-
instantiateVector
public SIVector instantiateVector(DoubleVectorData dvd, SIUnit unit)
Instantiate a new vector of the class of this matrix. This can be used instead of the DoubleVector.instiantiate() methods in case another matrix of this class is known. The method is faster than DoubleVector.instantiate, and it will also work if the matrix and/or vector are user-defined.- Parameters:
dvd- DoubleVectorData; the data used to instantiate the vectorunit- U; the display unit of the vector- Returns:
- V; a vector of the correct type
-
instantiateScalarSI
public SIScalar instantiateScalarSI(double valueSI, SIUnit unit)
Instantiate a new scalar for the class of this matrix. This can be used instead of the DoubleScalar.instiantiate() methods in case a matrix of this class is known. The method is faster than DoubleScalar.instantiate, and it will also work if the matrix and/or scalar are user-defined.- Parameters:
valueSI- double; 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 AbstractDoubleScalarRel<U,S>,V extends AbstractDoubleVectorRel<U,S,V>,M extends AbstractDoubleMatrixRel<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 AbsorbedDoseMatrix asAbsorbedDose()
Return the current matrix as a absorbeddose matrix.- Returns:
- AbsorbedDoseMatrix; the current matrix as a absorbeddose matrix
-
asAbsorbedDose
public final AbsorbedDoseMatrix 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:
- AbsorbedDoseMatrix; the current matrix as a absorbeddose matrix
-
asAcceleration
public final AccelerationMatrix asAcceleration()
Return the current matrix as a acceleration matrix.- Returns:
- AccelerationMatrix; the current matrix as a acceleration matrix
-
asAcceleration
public final AccelerationMatrix 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:
- AccelerationMatrix; the current matrix as a acceleration matrix
-
asAmountOfSubstance
public final AmountOfSubstanceMatrix asAmountOfSubstance()
Return the current matrix as a amountofsubstance matrix.- Returns:
- AmountOfSubstanceMatrix; the current matrix as a amountofsubstance matrix
-
asAmountOfSubstance
public final AmountOfSubstanceMatrix 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:
- AmountOfSubstanceMatrix; the current matrix as a amountofsubstance matrix
-
asAngularAcceleration
public final AngularAccelerationMatrix asAngularAcceleration()
Return the current matrix as a angularacceleration matrix.- Returns:
- AngularAccelerationMatrix; the current matrix as a angularacceleration matrix
-
asAngularAcceleration
public final AngularAccelerationMatrix 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:
- AngularAccelerationMatrix; the current matrix as a angularacceleration matrix
-
asAngularVelocity
public final AngularVelocityMatrix asAngularVelocity()
Return the current matrix as a angularvelocity matrix.- Returns:
- AngularVelocityMatrix; the current matrix as a angularvelocity matrix
-
asAngularVelocity
public final AngularVelocityMatrix 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:
- AngularVelocityMatrix; the current matrix as a angularvelocity matrix
-
asArea
public final AreaMatrix asArea()
Return the current matrix as a area matrix.- Returns:
- AreaMatrix; the current matrix as a area matrix
-
asArea
public final AreaMatrix 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:
- AreaMatrix; the current matrix as a area matrix
-
asCatalyticActivity
public final CatalyticActivityMatrix asCatalyticActivity()
Return the current matrix as a catalyticactivity matrix.- Returns:
- CatalyticActivityMatrix; the current matrix as a catalyticactivity matrix
-
asCatalyticActivity
public final CatalyticActivityMatrix 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:
- CatalyticActivityMatrix; the current matrix as a catalyticactivity matrix
-
asDensity
public final DensityMatrix asDensity()
Return the current matrix as a density matrix.- Returns:
- DensityMatrix; the current matrix as a density matrix
-
asDensity
public final DensityMatrix 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:
- DensityMatrix; the current matrix as a density matrix
-
asDimensionless
public final DimensionlessMatrix asDimensionless()
Return the current matrix as a dimensionless matrix.- Returns:
- DimensionlessMatrix; the current matrix as a dimensionless matrix
-
asDimensionless
public final DimensionlessMatrix 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:
- DimensionlessMatrix; the current matrix as a dimensionless matrix
-
asElectricalCapacitance
public final ElectricalCapacitanceMatrix asElectricalCapacitance()
Return the current matrix as a electricalcapacitance matrix.- Returns:
- ElectricalCapacitanceMatrix; the current matrix as a electricalcapacitance matrix
-
asElectricalCapacitance
public final ElectricalCapacitanceMatrix 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:
- ElectricalCapacitanceMatrix; the current matrix as a electricalcapacitance matrix
-
asElectricalCharge
public final ElectricalChargeMatrix asElectricalCharge()
Return the current matrix as a electricalcharge matrix.- Returns:
- ElectricalChargeMatrix; the current matrix as a electricalcharge matrix
-
asElectricalCharge
public final ElectricalChargeMatrix 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:
- ElectricalChargeMatrix; the current matrix as a electricalcharge matrix
-
asElectricalConductance
public final ElectricalConductanceMatrix asElectricalConductance()
Return the current matrix as a electricalconductance matrix.- Returns:
- ElectricalConductanceMatrix; the current matrix as a electricalconductance matrix
-
asElectricalConductance
public final ElectricalConductanceMatrix 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:
- ElectricalConductanceMatrix; the current matrix as a electricalconductance matrix
-
asElectricalCurrent
public final ElectricalCurrentMatrix asElectricalCurrent()
Return the current matrix as a electricalcurrent matrix.- Returns:
- ElectricalCurrentMatrix; the current matrix as a electricalcurrent matrix
-
asElectricalCurrent
public final ElectricalCurrentMatrix 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:
- ElectricalCurrentMatrix; the current matrix as a electricalcurrent matrix
-
asElectricalInductance
public final ElectricalInductanceMatrix asElectricalInductance()
Return the current matrix as a electricalinductance matrix.- Returns:
- ElectricalInductanceMatrix; the current matrix as a electricalinductance matrix
-
asElectricalInductance
public final ElectricalInductanceMatrix 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:
- ElectricalInductanceMatrix; the current matrix as a electricalinductance matrix
-
asElectricalPotential
public final ElectricalPotentialMatrix asElectricalPotential()
Return the current matrix as a electricalpotential matrix.- Returns:
- ElectricalPotentialMatrix; the current matrix as a electricalpotential matrix
-
asElectricalPotential
public final ElectricalPotentialMatrix 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:
- ElectricalPotentialMatrix; the current matrix as a electricalpotential matrix
-
asElectricalResistance
public final ElectricalResistanceMatrix asElectricalResistance()
Return the current matrix as a electricalresistance matrix.- Returns:
- ElectricalResistanceMatrix; the current matrix as a electricalresistance matrix
-
asElectricalResistance
public final ElectricalResistanceMatrix 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:
- ElectricalResistanceMatrix; the current matrix as a electricalresistance matrix
-
asEnergy
public final EnergyMatrix asEnergy()
Return the current matrix as a energy matrix.- Returns:
- EnergyMatrix; the current matrix as a energy matrix
-
asEnergy
public final EnergyMatrix 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:
- EnergyMatrix; the current matrix as a energy matrix
-
asEquivalentDose
public final EquivalentDoseMatrix asEquivalentDose()
Return the current matrix as a equivalentdose matrix.- Returns:
- EquivalentDoseMatrix; the current matrix as a equivalentdose matrix
-
asEquivalentDose
public final EquivalentDoseMatrix 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:
- EquivalentDoseMatrix; the current matrix as a equivalentdose matrix
-
asFlowMass
public final FlowMassMatrix asFlowMass()
Return the current matrix as a flowmass matrix.- Returns:
- FlowMassMatrix; the current matrix as a flowmass matrix
-
asFlowMass
public final FlowMassMatrix 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:
- FlowMassMatrix; the current matrix as a flowmass matrix
-
asFlowVolume
public final FlowVolumeMatrix asFlowVolume()
Return the current matrix as a flowvolume matrix.- Returns:
- FlowVolumeMatrix; the current matrix as a flowvolume matrix
-
asFlowVolume
public final FlowVolumeMatrix 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:
- FlowVolumeMatrix; the current matrix as a flowvolume matrix
-
asForce
public final ForceMatrix asForce()
Return the current matrix as a force matrix.- Returns:
- ForceMatrix; the current matrix as a force matrix
-
asForce
public final ForceMatrix 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:
- ForceMatrix; the current matrix as a force matrix
-
asFrequency
public final FrequencyMatrix asFrequency()
Return the current matrix as a frequency matrix.- Returns:
- FrequencyMatrix; the current matrix as a frequency matrix
-
asFrequency
public final FrequencyMatrix 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:
- FrequencyMatrix; the current matrix as a frequency matrix
-
asIlluminance
public final IlluminanceMatrix asIlluminance()
Return the current matrix as a illuminance matrix.- Returns:
- IlluminanceMatrix; the current matrix as a illuminance matrix
-
asIlluminance
public final IlluminanceMatrix 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:
- IlluminanceMatrix; the current matrix as a illuminance matrix
-
asLinearDensity
public final LinearDensityMatrix asLinearDensity()
Return the current matrix as a lineardensity matrix.- Returns:
- LinearDensityMatrix; the current matrix as a lineardensity matrix
-
asLinearDensity
public final LinearDensityMatrix 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:
- LinearDensityMatrix; the current matrix as a lineardensity matrix
-
asLuminousFlux
public final LuminousFluxMatrix asLuminousFlux()
Return the current matrix as a luminousflux matrix.- Returns:
- LuminousFluxMatrix; the current matrix as a luminousflux matrix
-
asLuminousFlux
public final LuminousFluxMatrix 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:
- LuminousFluxMatrix; the current matrix as a luminousflux matrix
-
asLuminousIntensity
public final LuminousIntensityMatrix asLuminousIntensity()
Return the current matrix as a luminousintensity matrix.- Returns:
- LuminousIntensityMatrix; the current matrix as a luminousintensity matrix
-
asLuminousIntensity
public final LuminousIntensityMatrix 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:
- LuminousIntensityMatrix; the current matrix as a luminousintensity matrix
-
asMagneticFluxDensity
public final MagneticFluxDensityMatrix asMagneticFluxDensity()
Return the current matrix as a magneticfluxdensity matrix.- Returns:
- MagneticFluxDensityMatrix; the current matrix as a magneticfluxdensity matrix
-
asMagneticFluxDensity
public final MagneticFluxDensityMatrix 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:
- MagneticFluxDensityMatrix; the current matrix as a magneticfluxdensity matrix
-
asMagneticFlux
public final MagneticFluxMatrix asMagneticFlux()
Return the current matrix as a magneticflux matrix.- Returns:
- MagneticFluxMatrix; the current matrix as a magneticflux matrix
-
asMagneticFlux
public final MagneticFluxMatrix 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:
- MagneticFluxMatrix; the current matrix as a magneticflux matrix
-
asMass
public final MassMatrix asMass()
Return the current matrix as a mass matrix.- Returns:
- MassMatrix; the current matrix as a mass matrix
-
asMass
public final MassMatrix 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:
- MassMatrix; the current matrix as a mass matrix
-
asMomentum
public final MomentumMatrix asMomentum()
Return the current matrix as a momentum matrix.- Returns:
- MomentumMatrix; the current matrix as a momentum matrix
-
asMomentum
public final MomentumMatrix 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:
- MomentumMatrix; the current matrix as a momentum matrix
-
asPower
public final PowerMatrix asPower()
Return the current matrix as a power matrix.- Returns:
- PowerMatrix; the current matrix as a power matrix
-
asPower
public final PowerMatrix 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:
- PowerMatrix; the current matrix as a power matrix
-
asPressure
public final PressureMatrix asPressure()
Return the current matrix as a pressure matrix.- Returns:
- PressureMatrix; the current matrix as a pressure matrix
-
asPressure
public final PressureMatrix 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:
- PressureMatrix; the current matrix as a pressure matrix
-
asRadioActivity
public final RadioActivityMatrix asRadioActivity()
Return the current matrix as a radioactivity matrix.- Returns:
- RadioActivityMatrix; the current matrix as a radioactivity matrix
-
asRadioActivity
public final RadioActivityMatrix 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:
- RadioActivityMatrix; the current matrix as a radioactivity matrix
-
asSolidAngle
public final SolidAngleMatrix asSolidAngle()
Return the current matrix as a solidangle matrix.- Returns:
- SolidAngleMatrix; the current matrix as a solidangle matrix
-
asSolidAngle
public final SolidAngleMatrix 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:
- SolidAngleMatrix; the current matrix as a solidangle matrix
-
asSpeed
public final SpeedMatrix asSpeed()
Return the current matrix as a speed matrix.- Returns:
- SpeedMatrix; the current matrix as a speed matrix
-
asSpeed
public final SpeedMatrix 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:
- SpeedMatrix; the current matrix as a speed matrix
-
asTorque
public final TorqueMatrix asTorque()
Return the current matrix as a torque matrix.- Returns:
- TorqueMatrix; the current matrix as a torque matrix
-
asTorque
public final TorqueMatrix 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:
- TorqueMatrix; the current matrix as a torque matrix
-
asVolume
public final VolumeMatrix asVolume()
Return the current matrix as a volume matrix.- Returns:
- VolumeMatrix; the current matrix as a volume matrix
-
asVolume
public final VolumeMatrix 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:
- VolumeMatrix; the current matrix as a volume matrix
-
asAngle
public final AngleMatrix asAngle()
Return the current matrix as a angle matrix.- Returns:
- AngleMatrix; the current matrix as a angle matrix
-
asAngle
public final AngleMatrix 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:
- AngleMatrix; the current matrix as a angle matrix
-
asLength
public final LengthMatrix asLength()
Return the current matrix as a length matrix.- Returns:
- LengthMatrix; the current matrix as a length matrix
-
asLength
public final LengthMatrix 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:
- LengthMatrix; the current matrix as a length matrix
-
asTemperature
public final TemperatureMatrix asTemperature()
Return the current matrix as a temperature matrix.- Returns:
- TemperatureMatrix; the current matrix as a temperature matrix
-
asTemperature
public final TemperatureMatrix 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:
- TemperatureMatrix; the current matrix as a temperature matrix
-
asDuration
public final DurationMatrix asDuration()
Return the current matrix as a duration matrix.- Returns:
- DurationMatrix; the current matrix as a duration matrix
-
asDuration
public final DurationMatrix 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:
- DurationMatrix; the current matrix as a duration matrix
-
-