Package org.djunits.value.vdouble.vector
Class SIVector
java.lang.Object
org.djunits.value.IndexedValue<U,S,V,D>
org.djunits.value.base.Vector<U,S,V,DoubleVectorData>
org.djunits.value.vdouble.vector.base.DoubleVector<U,S,RV>
org.djunits.value.vdouble.vector.base.DoubleVectorRel<SIUnit,SIScalar,SIVector>
org.djunits.value.vdouble.vector.SIVector
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<SIScalar>
,Relative<SIUnit,
,SIVector> Value<SIUnit,
SIVector>
@Generated(value="org.djunits.generator.GenerateDJUNIT",
date="2023-07-23T14:06:38.224104100Z")
public class SIVector
extends DoubleVectorRel<SIUnit,SIScalar,SIVector>
Easy access methods for the generic Relative SI DoubleVector.
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.djunits.value.vdouble.vector.base.DoubleVector
DoubleVector.Itr
-
Field Summary
Fields inherited from class org.djunits.value.vdouble.vector.base.DoubleVector
data
-
Constructor Summary
ConstructorDescriptionConstruct an SIVector from a double[] object.SIVector
(double[] data, SIUnit displayUnit, StorageType storageType) Construct an SIVector from a double[] object.Construct an SIVector from a list of Number objects or a list of SIScalar objects.SIVector
(List<? extends Number> data, SIUnit displayUnit, StorageType storageType) Construct an SIVector from a list of Number objects or a list of SIScalar objects.Construct an SIVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of SIScalar objects.Construct an SIVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of SIScalar objects.Construct an SIVector from an array of SIScalar objects.SIVector
(SIScalar[] data, SIUnit displayUnit, StorageType storageType) Construct an SIVector from an array of SIScalar objects.SIVector
(DoubleVectorData data, SIUnit displayUnit) Construct an SIVector from an internal data object. -
Method Summary
Modifier and TypeMethodDescriptionfinal AbsorbedDoseVector
Return the current vector as a absorbeddose vector.final AbsorbedDoseVector
asAbsorbedDose
(AbsorbedDoseUnit displayUnit) Return the current vector as a absorbeddose vector, and provide a display unit.final AccelerationVector
Return the current vector as a acceleration vector.final AccelerationVector
asAcceleration
(AccelerationUnit displayUnit) Return the current vector as a acceleration vector, and provide a display unit.final AmountOfSubstanceVector
Return the current vector as a amountofsubstance vector.final AmountOfSubstanceVector
asAmountOfSubstance
(AmountOfSubstanceUnit displayUnit) Return the current vector as a amountofsubstance vector, and provide a display unit.final AngleVector
asAngle()
Return the current vector as a angle vector.final AngleVector
Return the current vector as a angle vector, and provide a display unit.Return the current vector as a angularacceleration vector.asAngularAcceleration
(AngularAccelerationUnit displayUnit) Return the current vector as a angularacceleration vector, and provide a display unit.final AngularVelocityVector
Return the current vector as a angularvelocity vector.final AngularVelocityVector
asAngularVelocity
(AngularVelocityUnit displayUnit) Return the current vector as a angularvelocity vector, and provide a display unit.final AreaVector
asArea()
Return the current vector as a area vector.final AreaVector
Return the current vector as a area vector, and provide a display unit.final CatalyticActivityVector
Return the current vector as a catalyticactivity vector.final CatalyticActivityVector
asCatalyticActivity
(CatalyticActivityUnit displayUnit) Return the current vector as a catalyticactivity vector, and provide a display unit.final DensityVector
Return the current vector as a density vector.final DensityVector
asDensity
(DensityUnit displayUnit) Return the current vector as a density vector, and provide a display unit.final DimensionlessVector
Return the current vector as a dimensionless vector.final DimensionlessVector
asDimensionless
(DimensionlessUnit displayUnit) Return the current vector as a dimensionless vector, and provide a display unit.final DurationVector
Return the current vector as a duration vector.final DurationVector
asDuration
(DurationUnit displayUnit) Return the current vector as a duration vector, and provide a display unit.Return the current vector as a electricalcapacitance vector.asElectricalCapacitance
(ElectricalCapacitanceUnit displayUnit) Return the current vector as a electricalcapacitance vector, and provide a display unit.final ElectricalChargeVector
Return the current vector as a electricalcharge vector.final ElectricalChargeVector
asElectricalCharge
(ElectricalChargeUnit displayUnit) Return the current vector as a electricalcharge vector, and provide a display unit.Return the current vector as a electricalconductance vector.asElectricalConductance
(ElectricalConductanceUnit displayUnit) Return the current vector as a electricalconductance vector, and provide a display unit.final ElectricalCurrentVector
Return the current vector as a electricalcurrent vector.final ElectricalCurrentVector
asElectricalCurrent
(ElectricalCurrentUnit displayUnit) Return the current vector as a electricalcurrent vector, and provide a display unit.Return the current vector as a electricalinductance vector.asElectricalInductance
(ElectricalInductanceUnit displayUnit) Return the current vector as a electricalinductance vector, and provide a display unit.Return the current vector as a electricalpotential vector.asElectricalPotential
(ElectricalPotentialUnit displayUnit) Return the current vector as a electricalpotential vector, and provide a display unit.Return the current vector as a electricalresistance vector.asElectricalResistance
(ElectricalResistanceUnit displayUnit) Return the current vector as a electricalresistance vector, and provide a display unit.final EnergyVector
asEnergy()
Return the current vector as a energy vector.final EnergyVector
asEnergy
(EnergyUnit displayUnit) Return the current vector as a energy vector, and provide a display unit.final EquivalentDoseVector
Return the current vector as a equivalentdose vector.final EquivalentDoseVector
asEquivalentDose
(EquivalentDoseUnit displayUnit) Return the current vector as a equivalentdose vector, and provide a display unit.final FlowMassVector
Return the current vector as a flowmass vector.final FlowMassVector
asFlowMass
(FlowMassUnit displayUnit) Return the current vector as a flowmass vector, and provide a display unit.final FlowVolumeVector
Return the current vector as a flowvolume vector.final FlowVolumeVector
asFlowVolume
(FlowVolumeUnit displayUnit) Return the current vector as a flowvolume vector, and provide a display unit.final ForceVector
asForce()
Return the current vector as a force vector.final ForceVector
Return the current vector as a force vector, and provide a display unit.final FrequencyVector
Return the current vector as a frequency vector.final FrequencyVector
asFrequency
(FrequencyUnit displayUnit) Return the current vector as a frequency vector, and provide a display unit.final IlluminanceVector
Return the current vector as a illuminance vector.final IlluminanceVector
asIlluminance
(IlluminanceUnit displayUnit) Return the current vector as a illuminance vector, and provide a display unit.final LengthVector
asLength()
Return the current vector as a length vector.final LengthVector
asLength
(LengthUnit displayUnit) Return the current vector as a length vector, and provide a display unit.final LinearDensityVector
Return the current vector as a lineardensity vector.final LinearDensityVector
asLinearDensity
(LinearDensityUnit displayUnit) Return the current vector as a lineardensity vector, and provide a display unit.final LuminousFluxVector
Return the current vector as a luminousflux vector.final LuminousFluxVector
asLuminousFlux
(LuminousFluxUnit displayUnit) Return the current vector as a luminousflux vector, and provide a display unit.final LuminousIntensityVector
Return the current vector as a luminousintensity vector.final LuminousIntensityVector
asLuminousIntensity
(LuminousIntensityUnit displayUnit) Return the current vector as a luminousintensity vector, and provide a display unit.final MagneticFluxVector
Return the current vector as a magneticflux vector.final MagneticFluxVector
asMagneticFlux
(MagneticFluxUnit displayUnit) Return the current vector as a magneticflux vector, and provide a display unit.Return the current vector as a magneticfluxdensity vector.asMagneticFluxDensity
(MagneticFluxDensityUnit displayUnit) Return the current vector as a magneticfluxdensity vector, and provide a display unit.final MassVector
asMass()
Return the current vector as a mass vector.final MassVector
Return the current vector as a mass vector, and provide a display unit.final MomentumVector
Return the current vector as a momentum vector.final MomentumVector
asMomentum
(MomentumUnit displayUnit) Return the current vector as a momentum vector, and provide a display unit.final PowerVector
asPower()
Return the current vector as a power vector.final PowerVector
Return the current vector as a power vector, and provide a display unit.final PressureVector
Return the current vector as a pressure vector.final PressureVector
asPressure
(PressureUnit displayUnit) Return the current vector as a pressure vector, and provide a display unit.final RadioActivityVector
Return the current vector as a radioactivity vector.final RadioActivityVector
asRadioActivity
(RadioActivityUnit displayUnit) Return the current vector as a radioactivity vector, and provide a display unit.final SolidAngleVector
Return the current vector as a solidangle vector.final SolidAngleVector
asSolidAngle
(SolidAngleUnit displayUnit) Return the current vector as a solidangle vector, and provide a display unit.final SpeedVector
asSpeed()
Return the current vector as a speed vector.final SpeedVector
Return the current vector as a speed vector, and provide a display unit.final TemperatureVector
Return the current vector as a temperature vector.final TemperatureVector
asTemperature
(TemperatureUnit displayUnit) Return the current vector as a temperature vector, and provide a display unit.final TorqueVector
asTorque()
Return the current vector as a torque vector.final TorqueVector
asTorque
(TorqueUnit displayUnit) Return the current vector as a torque vector, and provide a display unit.final VolumeVector
asVolume()
Return the current vector as a volume vector.final VolumeVector
asVolume
(VolumeUnit displayUnit) Return the current vector as a volume vector, and provide a display unit.Return the class of the corresponding scalar.instantiateScalarSI
(double valueSI, SIUnit unit) Instantiate a new scalar for the class of this vector.instantiateVector
(DoubleVectorData dvd, SIUnit unit) Instantiate a new vector of the class of this vector.static SIVector
of
(double[] value, String unitString, StorageType storageType) Returns an SIVector based on an array of values and the textual representation of the unit.static SIVector
of
(List<Double> valueList, String unitString, StorageType storageType) Returns an SIVector based on an array of values and the textual representation of the unit.static SIVector
Returns an SIVector based on a (sparse) map of values and the textual representation of the unit.Somewhat verbose description of this value with the values expressed in the specified unit.Methods inherited from class org.djunits.value.vdouble.vector.base.DoubleVectorRel
decrementBy, decrementBy, divide, divide, divide, divideBy, incrementBy, incrementBy, minus, multiplyBy, plus, times, times, times, zSum
Methods inherited from class org.djunits.value.vdouble.vector.base.DoubleVector
abs, assign, ceil, checkIndex, checkSize, equals, floor, get, getData, getInUnit, getInUnit, getScalars, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, hashCode, iterator, neg, rint, set, setData, setInUnit, setInUnit, setSI, size, toDense, toSparse, toString, toString, toString
Methods inherited from class org.djunits.value.IndexedValue
cardinality, checkCopyOnWrite, clone, getDisplayUnit, getStorageType, immutable, isCopyOnWrite, isDense, isMutable, isSparse, mutable, setCopyOnWrite, setDisplayUnit, setMutable
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.djunits.value.Value
isAbsolute, isRelative
-
Constructor Details
-
SIVector
Construct an SIVector from an internal data object.- Parameters:
data
- DoubleVectorData; the internal data object for the vectordisplayUnit
- SIUnit; the display unit of the vector data
-
SIVector
Construct an SIVector from a double[] object. The double values are expressed in the displayUnit, and will be printed using the displayUnit.- Parameters:
data
- double[]; the data for the vector, expressed in the displayUnitdisplayUnit
- SIUnit; the unit of the values in the data array, and display unit when printingstorageType
- StorageType; the StorageType (SPARSE or DENSE) to use for constructing the Vector
-
SIVector
Construct an SIVector from a double[] object. The double values are expressed in the displayUnit. Assume that the StorageType is DENSE since we offer the data as an array.- Parameters:
data
- double[]; the data for the vectordisplayUnit
- SIUnit; the unit of the values in the data array, and display unit when printing
-
SIVector
Construct an SIVector from an array of SIScalar objects. The SIScalar values are each expressed in their own unit, but will be internally stored as SI values, all expressed in the displayUnit when printing.- Parameters:
data
- SIScalar[]; the data for the vectordisplayUnit
- SIUnit; the display unit of the values when printingstorageType
- StorageType; the StorageType (SPARSE or DENSE) to use for constructing the Vector
-
SIVector
Construct an SIVector from an array of SIScalar objects. The SIScalar values are each expressed in their own unit, but will be internally stored as SI values, all expressed in the displayUnit when printing. Assume that the StorageType is DENSE since we offer the data as an array.- Parameters:
data
- SIScalar[]; the data for the vectordisplayUnit
- SIUnit; the display unit of the values when printing
-
SIVector
Construct an SIVector from a list of Number objects or a list of SIScalar objects. Note that the displayUnit has a different meaning depending on whether the list contains Number objects (e.g., Double objects) or SIScalar objects. In case the list contains Number objects, the displayUnit indicates the unit in which the values in the list are expressed, as well as the unit in which they will be printed. In case the list contains SIScalar objects, each SIScalar has its own unit, and the displayUnit is just used for printing. The values but will always be internally stored as SI values or base values, and expressed using the display unit or base unit when printing.- Parameters:
data
- List<Double> or List<SIScalar>; the data for the vectordisplayUnit
- SIUnit; the display unit of the vector data, and the unit of the data points when the data is expressed as List<Double> or List<Number> in generalstorageType
- StorageType; the StorageType (SPARSE or DENSE) to use for constructing the Vector
-
SIVector
Construct an SIVector from a list of Number objects or a list of SIScalar objects. Note that the displayUnit has a different meaning depending on whether the list contains Number objects (e.g., Double objects) or SIScalar objects. In case the list contains Number objects, the displayUnit indicates the unit in which the values in the list are expressed, as well as the unit in which they will be printed. In case the list contains SIScalar objects, each SIScalar has its own unit, and the displayUnit is just used for printing. The values but will always be internally stored as SI values or base values, and expressed using the display unit or base unit when printing. Assume the storage type is DENSE since we offer the data as a List.- Parameters:
data
- List<Double> or List<SIScalar>; the data for the vectordisplayUnit
- SIUnit; the display unit of the vector data, and the unit of the data points when the data is expressed as List<Double> or List<Number> in general
-
SIVector
public SIVector(Map<Integer, ? extends Number> data, int size, SIUnit displayUnit, StorageType storageType) Construct an SIVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of SIScalar objects. Using index values is particularly useful for sparse vectors. The size parameter indicates the size of the vector, since the largest index does not have to be part of the map. Note that the displayUnit has a different meaning depending on whether the map contains Number objects (e.g., Double objects) or SIScalar objects. In case the map contains Number objects, the displayUnit indicates the unit in which the values in the map are expressed, as well as the unit in which they will be printed. In case the map contains SIScalar objects, each SIScalar has its own unit, and the displayUnit is just used for printing. The values but will always be internally stored as SI values or base values, and expressed using the display unit or base unit when printing.- Parameters:
data
- Map<Integer, Double> or Map<Integer, SIScalar>; the data for the vectorsize
- int; the size off the vector, i.e., the highest indexdisplayUnit
- SIUnit; the display unit of the vector data, and the unit of the data points when the data is expressed as List<Double> or List<Number> in generalstorageType
- StorageType; the StorageType (SPARSE or DENSE) to use for constructing the Vector
-
SIVector
Construct an SIVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of SIScalar objects. Using index values is particularly useful for sparse vectors. The size parameter indicates the size of the vector, since the largest index does not have to be part of the map. Note that the displayUnit has a different meaning depending on whether the map contains Number objects (e.g., Double objects) or SIScalar objects. In case the map contains Number objects, the displayUnit indicates the unit in which the values in the map are expressed, as well as the unit in which they will be printed. In case the map contains SIScalar objects, each SIScalar has its own unit, and the displayUnit is just used for printing. The values but will always be internally stored as SI values or base values, and expressed using the display unit or base unit when printing. Assume the storage type is SPARSE since we offer the data as a Map.- Parameters:
data
- Map<Integer, Double> or Map<Integer, SIScalar>; the data for the vectorsize
- int; the size off the vector, i.e., the highest indexdisplayUnit
- SIUnit; the display unit of the vector data, and the unit of the data points when the data is expressed as List<Double> or List<Number> in general
-
-
Method Details
-
getScalarClass
Description copied from class:IndexedValue
Return the class of the corresponding scalar.- Specified by:
getScalarClass
in classIndexedValue<SIUnit,
SIScalar, SIVector, DoubleVectorData> - Returns:
- Class<S>; the class of the corresponding scalar
-
of
Returns an SIVector based on an array of values and the textual representation of the unit.- Parameters:
value
- double[]; the values to useunitString
- String; the textual representation of the unitstorageType
- StorageType; the storage type to use- Returns:
- SIVector; the vector representation of the values in their unit
- Throws:
IllegalArgumentException
- when the unit cannot be parsed or is incorrectNullPointerException
- when the unitString argument is null
-
of
Returns an SIVector based on an array of values and the textual representation of the unit.- Parameters:
valueList
- List<Double>; the values to useunitString
- String; the textual representation of the unitstorageType
- StorageType; the storage type to use- Returns:
- SIVector; the vector representation of the values in their unit
- Throws:
IllegalArgumentException
- when the unit cannot be parsed or is incorrectNullPointerException
- when the unitString argument is null
-
of
public static SIVector of(Map<Integer, Double> valueMap, String unitString, int length, StorageType storageType) Returns an SIVector based on a (sparse) map of values and the textual representation of the unit.- Parameters:
valueMap
- Map<Integer, Double>; the values to useunitString
- String; the textual representation of the unitlength
- int; the size of the vectorstorageType
- StorageType; the storage type to use- Returns:
- SIVector; the vector representation of the values in their unit
- Throws:
IllegalArgumentException
- when the unit cannot be parsed or is incorrectNullPointerException
- when the unitString argument is null
-
instantiateVector
Description copied from class:DoubleVector
Instantiate a new vector of the class of this vector. This can be used instead of the DoubleVector.instiantiate() methods in case another vector of this class is known. The method is faster than DoubleVector.instantiate, and it will also work if the vector is user-defined.- Specified by:
instantiateVector
in classDoubleVector<SIUnit,
SIScalar, SIVector> - 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
Description copied from class:DoubleVector
Instantiate a new scalar for the class of this vector. This can be used instead of the DoubleScalar.instiantiate() methods in case a vector of this class is known. The method is faster than DoubleScalar.instantiate, and it will also work if the vector and/or scalar are user-defined.- Specified by:
instantiateScalarSI
in classDoubleVector<SIUnit,
SIScalar, SIVector> - 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 vector type
-
toString
Description copied from interface:Value
Somewhat verbose description of this value with the values expressed in the specified unit.- Specified by:
toString
in interfaceValue<SIUnit,
SIVector> - Overrides:
toString
in classDoubleVector<SIUnit,
SIScalar, SIVector> - Parameters:
displayUnit
- U; the unit into which the values are converted for displayverbose
- boolean; if true; include type info; if false; exclude type infowithUnit
- boolean; if true; include the unit; of false; exclude the unit- Returns:
- String; printable string with the value contents
-
asAbsorbedDose
Return the current vector as a absorbeddose vector.- Returns:
- AbsorbedDoseVector; the current vector as a absorbeddose vector
-
asAbsorbedDose
Return the current vector as a absorbeddose vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- AbsorbedDoseVector; the current vector as a absorbeddose vector
-
asAcceleration
Return the current vector as a acceleration vector.- Returns:
- AccelerationVector; the current vector as a acceleration vector
-
asAcceleration
Return the current vector as a acceleration vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- AccelerationVector; the current vector as a acceleration vector
-
asAmountOfSubstance
Return the current vector as a amountofsubstance vector.- Returns:
- AmountOfSubstanceVector; the current vector as a amountofsubstance vector
-
asAmountOfSubstance
Return the current vector as a amountofsubstance vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- AmountOfSubstanceVector; the current vector as a amountofsubstance vector
-
asAngularAcceleration
Return the current vector as a angularacceleration vector.- Returns:
- AngularAccelerationVector; the current vector as a angularacceleration vector
-
asAngularAcceleration
Return the current vector as a angularacceleration vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- AngularAccelerationVector; the current vector as a angularacceleration vector
-
asAngularVelocity
Return the current vector as a angularvelocity vector.- Returns:
- AngularVelocityVector; the current vector as a angularvelocity vector
-
asAngularVelocity
Return the current vector as a angularvelocity vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- AngularVelocityVector; the current vector as a angularvelocity vector
-
asArea
Return the current vector as a area vector.- Returns:
- AreaVector; the current vector as a area vector
-
asArea
Return the current vector as a area vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- AreaVector; the current vector as a area vector
-
asCatalyticActivity
Return the current vector as a catalyticactivity vector.- Returns:
- CatalyticActivityVector; the current vector as a catalyticactivity vector
-
asCatalyticActivity
Return the current vector as a catalyticactivity vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- CatalyticActivityVector; the current vector as a catalyticactivity vector
-
asDensity
Return the current vector as a density vector.- Returns:
- DensityVector; the current vector as a density vector
-
asDensity
Return the current vector as a density vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- DensityVector; the current vector as a density vector
-
asDimensionless
Return the current vector as a dimensionless vector.- Returns:
- DimensionlessVector; the current vector as a dimensionless vector
-
asDimensionless
Return the current vector as a dimensionless vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- DimensionlessVector; the current vector as a dimensionless vector
-
asElectricalCapacitance
Return the current vector as a electricalcapacitance vector.- Returns:
- ElectricalCapacitanceVector; the current vector as a electricalcapacitance vector
-
asElectricalCapacitance
public final ElectricalCapacitanceVector asElectricalCapacitance(ElectricalCapacitanceUnit displayUnit) Return the current vector as a electricalcapacitance vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- ElectricalCapacitanceVector; the current vector as a electricalcapacitance vector
-
asElectricalCharge
Return the current vector as a electricalcharge vector.- Returns:
- ElectricalChargeVector; the current vector as a electricalcharge vector
-
asElectricalCharge
Return the current vector as a electricalcharge vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- ElectricalChargeVector; the current vector as a electricalcharge vector
-
asElectricalConductance
Return the current vector as a electricalconductance vector.- Returns:
- ElectricalConductanceVector; the current vector as a electricalconductance vector
-
asElectricalConductance
public final ElectricalConductanceVector asElectricalConductance(ElectricalConductanceUnit displayUnit) Return the current vector as a electricalconductance vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- ElectricalConductanceVector; the current vector as a electricalconductance vector
-
asElectricalCurrent
Return the current vector as a electricalcurrent vector.- Returns:
- ElectricalCurrentVector; the current vector as a electricalcurrent vector
-
asElectricalCurrent
Return the current vector as a electricalcurrent vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- ElectricalCurrentVector; the current vector as a electricalcurrent vector
-
asElectricalInductance
Return the current vector as a electricalinductance vector.- Returns:
- ElectricalInductanceVector; the current vector as a electricalinductance vector
-
asElectricalInductance
public final ElectricalInductanceVector asElectricalInductance(ElectricalInductanceUnit displayUnit) Return the current vector as a electricalinductance vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- ElectricalInductanceVector; the current vector as a electricalinductance vector
-
asElectricalPotential
Return the current vector as a electricalpotential vector.- Returns:
- ElectricalPotentialVector; the current vector as a electricalpotential vector
-
asElectricalPotential
Return the current vector as a electricalpotential vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- ElectricalPotentialVector; the current vector as a electricalpotential vector
-
asElectricalResistance
Return the current vector as a electricalresistance vector.- Returns:
- ElectricalResistanceVector; the current vector as a electricalresistance vector
-
asElectricalResistance
public final ElectricalResistanceVector asElectricalResistance(ElectricalResistanceUnit displayUnit) Return the current vector as a electricalresistance vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- ElectricalResistanceVector; the current vector as a electricalresistance vector
-
asEnergy
Return the current vector as a energy vector.- Returns:
- EnergyVector; the current vector as a energy vector
-
asEnergy
Return the current vector as a energy vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- EnergyVector; the current vector as a energy vector
-
asEquivalentDose
Return the current vector as a equivalentdose vector.- Returns:
- EquivalentDoseVector; the current vector as a equivalentdose vector
-
asEquivalentDose
Return the current vector as a equivalentdose vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- EquivalentDoseVector; the current vector as a equivalentdose vector
-
asFlowMass
Return the current vector as a flowmass vector.- Returns:
- FlowMassVector; the current vector as a flowmass vector
-
asFlowMass
Return the current vector as a flowmass vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FlowMassVector; the current vector as a flowmass vector
-
asFlowVolume
Return the current vector as a flowvolume vector.- Returns:
- FlowVolumeVector; the current vector as a flowvolume vector
-
asFlowVolume
Return the current vector as a flowvolume vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FlowVolumeVector; the current vector as a flowvolume vector
-
asForce
Return the current vector as a force vector.- Returns:
- ForceVector; the current vector as a force vector
-
asForce
Return the current vector as a force vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- ForceVector; the current vector as a force vector
-
asFrequency
Return the current vector as a frequency vector.- Returns:
- FrequencyVector; the current vector as a frequency vector
-
asFrequency
Return the current vector as a frequency vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FrequencyVector; the current vector as a frequency vector
-
asIlluminance
Return the current vector as a illuminance vector.- Returns:
- IlluminanceVector; the current vector as a illuminance vector
-
asIlluminance
Return the current vector as a illuminance vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- IlluminanceVector; the current vector as a illuminance vector
-
asLinearDensity
Return the current vector as a lineardensity vector.- Returns:
- LinearDensityVector; the current vector as a lineardensity vector
-
asLinearDensity
Return the current vector as a lineardensity vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- LinearDensityVector; the current vector as a lineardensity vector
-
asLuminousFlux
Return the current vector as a luminousflux vector.- Returns:
- LuminousFluxVector; the current vector as a luminousflux vector
-
asLuminousFlux
Return the current vector as a luminousflux vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- LuminousFluxVector; the current vector as a luminousflux vector
-
asLuminousIntensity
Return the current vector as a luminousintensity vector.- Returns:
- LuminousIntensityVector; the current vector as a luminousintensity vector
-
asLuminousIntensity
Return the current vector as a luminousintensity vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- LuminousIntensityVector; the current vector as a luminousintensity vector
-
asMagneticFluxDensity
Return the current vector as a magneticfluxdensity vector.- Returns:
- MagneticFluxDensityVector; the current vector as a magneticfluxdensity vector
-
asMagneticFluxDensity
Return the current vector as a magneticfluxdensity vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- MagneticFluxDensityVector; the current vector as a magneticfluxdensity vector
-
asMagneticFlux
Return the current vector as a magneticflux vector.- Returns:
- MagneticFluxVector; the current vector as a magneticflux vector
-
asMagneticFlux
Return the current vector as a magneticflux vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- MagneticFluxVector; the current vector as a magneticflux vector
-
asMass
Return the current vector as a mass vector.- Returns:
- MassVector; the current vector as a mass vector
-
asMass
Return the current vector as a mass vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- MassVector; the current vector as a mass vector
-
asMomentum
Return the current vector as a momentum vector.- Returns:
- MomentumVector; the current vector as a momentum vector
-
asMomentum
Return the current vector as a momentum vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- MomentumVector; the current vector as a momentum vector
-
asPower
Return the current vector as a power vector.- Returns:
- PowerVector; the current vector as a power vector
-
asPower
Return the current vector as a power vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- PowerVector; the current vector as a power vector
-
asPressure
Return the current vector as a pressure vector.- Returns:
- PressureVector; the current vector as a pressure vector
-
asPressure
Return the current vector as a pressure vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- PressureVector; the current vector as a pressure vector
-
asRadioActivity
Return the current vector as a radioactivity vector.- Returns:
- RadioActivityVector; the current vector as a radioactivity vector
-
asRadioActivity
Return the current vector as a radioactivity vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- RadioActivityVector; the current vector as a radioactivity vector
-
asSolidAngle
Return the current vector as a solidangle vector.- Returns:
- SolidAngleVector; the current vector as a solidangle vector
-
asSolidAngle
Return the current vector as a solidangle vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- SolidAngleVector; the current vector as a solidangle vector
-
asSpeed
Return the current vector as a speed vector.- Returns:
- SpeedVector; the current vector as a speed vector
-
asSpeed
Return the current vector as a speed vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- SpeedVector; the current vector as a speed vector
-
asTorque
Return the current vector as a torque vector.- Returns:
- TorqueVector; the current vector as a torque vector
-
asTorque
Return the current vector as a torque vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- TorqueVector; the current vector as a torque vector
-
asVolume
Return the current vector as a volume vector.- Returns:
- VolumeVector; the current vector as a volume vector
-
asVolume
Return the current vector as a volume vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- VolumeVector; the current vector as a volume vector
-
asAngle
Return the current vector as a angle vector.- Returns:
- AngleVector; the current vector as a angle vector
-
asAngle
Return the current vector as a angle vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- AngleVector; the current vector as a angle vector
-
asLength
Return the current vector as a length vector.- Returns:
- LengthVector; the current vector as a length vector
-
asLength
Return the current vector as a length vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- LengthVector; the current vector as a length vector
-
asTemperature
Return the current vector as a temperature vector.- Returns:
- TemperatureVector; the current vector as a temperature vector
-
asTemperature
Return the current vector as a temperature vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- TemperatureVector; the current vector as a temperature vector
-
asDuration
Return the current vector as a duration vector.- Returns:
- DurationVector; the current vector as a duration vector
-
asDuration
Return the current vector as a duration vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- DurationVector; the current vector as a duration vector
-