Class FloatSIVector

All Implemented Interfaces:
Serializable, Cloneable, Iterable<FloatSIScalar>, Relative<SIUnit,FloatSIVector>, Value<SIUnit,FloatSIVector>

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

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

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

    • FloatSIVector

      public FloatSIVector(FloatVectorData data, SIUnit displayUnit)
      Construct a FloatSIVector from an internal data object.
      Parameters:
      data - FloatVectorData; the internal data object for the vector
      displayUnit - SIUnit; the display unit of the vector data
    • FloatSIVector

      public FloatSIVector(float[] data, SIUnit displayUnit, StorageType storageType)
      Construct a FloatSIVector from a float[] object. The float values are expressed in the displayUnit, and will be printed using the displayUnit.
      Parameters:
      data - float[]; the data for the vector, expressed in the displayUnit
      displayUnit - SIUnit; the unit of the values in the data array, and display unit when printing
      storageType - StorageType; the StorageType (SPARSE or DENSE) to use for constructing the Vector
    • FloatSIVector

      public FloatSIVector(float[] data, SIUnit displayUnit)
      Construct a FloatSIVector from a float[] object. The float values are expressed in the displayUnit. Assume that the StorageType is DENSE since we offer the data as an array.
      Parameters:
      data - float[]; the data for the vector
      displayUnit - SIUnit; the unit of the values in the data array, and display unit when printing
    • FloatSIVector

      public FloatSIVector(FloatSIScalar[] data, SIUnit displayUnit, StorageType storageType)
      Construct a FloatSIVector from an array of FloatSIScalar objects. The FloatSIScalar 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 - FloatSIScalar[]; the data for the vector
      displayUnit - SIUnit; the display unit of the values when printing
      storageType - StorageType; the StorageType (SPARSE or DENSE) to use for constructing the Vector
    • FloatSIVector

      public FloatSIVector(FloatSIScalar[] data, SIUnit displayUnit)
      Construct a FloatSIVector from an array of FloatSIScalar objects. The FloatSIScalar 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 - FloatSIScalar[]; the data for the vector
      displayUnit - SIUnit; the display unit of the values when printing
    • FloatSIVector

      public FloatSIVector(List<? extends Number> data, SIUnit displayUnit, StorageType storageType)
      Construct a FloatSIVector from a list of Number objects or a list of FloatSIScalar objects. Note that the displayUnit has a different meaning depending on whether the list contains Number objects (e.g., Float objects) or FloatSIScalar 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 FloatSIScalar objects, each FloatSIScalar 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<Float> or List<SIScalar>; the data for the vector
      displayUnit - SIUnit; the display unit of the vector data, and the unit of the data points when the data is expressed as List<Float> or List<Number> in general
      storageType - StorageType; the StorageType (SPARSE or DENSE) to use for constructing the Vector
    • FloatSIVector

      public FloatSIVector(List<? extends Number> data, SIUnit displayUnit)
      Construct a FloatSIVector from a list of Number objects or a list of FloatSIScalar objects. Note that the displayUnit has a different meaning depending on whether the list contains Number objects (e.g., Float objects) or FloatSIScalar 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 FloatSIScalar objects, each FloatSIScalar 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<Float> or List<SIScalar>; the data for the vector
      displayUnit - SIUnit; the display unit of the vector data, and the unit of the data points when the data is expressed as List<Float> or List<Number> in general
    • FloatSIVector

      public FloatSIVector(Map<Integer,? extends Number> data, int size, SIUnit displayUnit, StorageType storageType)
      Construct a FloatSIVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatSIScalar 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., Float objects) or FloatSIScalar 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 FloatSIScalar objects, each FloatSIScalar 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, Float> or Map<Integer, FloatSIScalar>; the data for the vector
      size - int; the size off the vector, i.e., the highest index
      displayUnit - SIUnit; the display unit of the vector data, and the unit of the data points when the data is expressed as List<Float> or List<Number> in general
      storageType - StorageType; the StorageType (SPARSE or DENSE) to use for constructing the Vector
    • FloatSIVector

      public FloatSIVector(Map<Integer,? extends Number> data, int size, SIUnit displayUnit)
      Construct a FloatSIVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatSIScalar 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., Float objects) or FloatSIScalar 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 FloatSIScalar objects, each FloatSIScalar 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, Float> or Map<Integer, FloatSIScalar>; the data for the vector
      size - int; the size off the vector, i.e., the highest index
      displayUnit - SIUnit; the display unit of the vector data, and the unit of the data points when the data is expressed as List<Float> or List<Number> in general
  • Method Details

    • getScalarClass

      public Class<FloatSIScalar> getScalarClass()
      Return the class of the corresponding scalar.
      Specified by:
      getScalarClass in class IndexedValue<SIUnit,FloatSIScalar,FloatSIVector,FloatVectorData>
      Returns:
      Class<S>; the class of the corresponding scalar
    • of

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

      public static FloatSIVector of(List<Float> valueList, String unitString, StorageType storageType)
      Returns a FloatSIVector based on an array of values and the textual representation of the unit.
      Parameters:
      valueList - List<Float>; the values to use
      unitString - String; the textual representation of the unit
      storageType - StorageType; the storage type to use
      Returns:
      FloatSIVector; the vector representation of the values in their unit
      Throws:
      IllegalArgumentException - when the unit cannot be parsed or is incorrect
      NullPointerException - when the unitString argument is null
    • of

      public static FloatSIVector of(Map<Integer,Float> valueMap, String unitString, int length, StorageType storageType)
      Returns a FloatSIVector based on a (sparse) map of values and the textual representation of the unit.
      Parameters:
      valueMap - Map<Integer, Float>; the values to use
      unitString - String; the textual representation of the unit
      length - int; the size of the vector
      storageType - StorageType; the storage type to use
      Returns:
      FloatSIVector; the vector representation of the values in their unit
      Throws:
      IllegalArgumentException - when the unit cannot be parsed or is incorrect
      NullPointerException - when the unitString argument is null
    • instantiateVector

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

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

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

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

      public final FloatAbsorbedDoseVector asAbsorbedDose(AbsorbedDoseUnit displayUnit)
      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:
      FloatAbsorbedDoseVector; the current vector as a absorbeddose vector
    • asAcceleration

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

      public final FloatAccelerationVector asAcceleration(AccelerationUnit displayUnit)
      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:
      FloatAccelerationVector; the current vector as a acceleration vector
    • asAmountOfSubstance

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

      public final FloatAmountOfSubstanceVector asAmountOfSubstance(AmountOfSubstanceUnit displayUnit)
      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:
      FloatAmountOfSubstanceVector; the current vector as a amountofsubstance vector
    • asAngularAcceleration

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

      public final FloatAngularAccelerationVector asAngularAcceleration(AngularAccelerationUnit displayUnit)
      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:
      FloatAngularAccelerationVector; the current vector as a angularacceleration vector
    • asAngularVelocity

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

      public final FloatAngularVelocityVector asAngularVelocity(AngularVelocityUnit displayUnit)
      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:
      FloatAngularVelocityVector; the current vector as a angularvelocity vector
    • asArea

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

      public final FloatAreaVector asArea(AreaUnit displayUnit)
      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:
      FloatAreaVector; the current vector as a area vector
    • asCatalyticActivity

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

      public final FloatCatalyticActivityVector asCatalyticActivity(CatalyticActivityUnit displayUnit)
      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:
      FloatCatalyticActivityVector; the current vector as a catalyticactivity vector
    • asDensity

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

      public final FloatDensityVector asDensity(DensityUnit displayUnit)
      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:
      FloatDensityVector; the current vector as a density vector
    • asDimensionless

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

      public final FloatDimensionlessVector asDimensionless(DimensionlessUnit displayUnit)
      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:
      FloatDimensionlessVector; the current vector as a dimensionless vector
    • asElectricalCapacitance

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

      public final FloatElectricalCapacitanceVector 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:
      FloatElectricalCapacitanceVector; the current vector as a electricalcapacitance vector
    • asElectricalCharge

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

      public final FloatElectricalChargeVector asElectricalCharge(ElectricalChargeUnit displayUnit)
      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:
      FloatElectricalChargeVector; the current vector as a electricalcharge vector
    • asElectricalConductance

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

      public final FloatElectricalConductanceVector 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:
      FloatElectricalConductanceVector; the current vector as a electricalconductance vector
    • asElectricalCurrent

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

      public final FloatElectricalCurrentVector asElectricalCurrent(ElectricalCurrentUnit displayUnit)
      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:
      FloatElectricalCurrentVector; the current vector as a electricalcurrent vector
    • asElectricalInductance

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

      public final FloatElectricalInductanceVector 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:
      FloatElectricalInductanceVector; the current vector as a electricalinductance vector
    • asElectricalPotential

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

      public final FloatElectricalPotentialVector asElectricalPotential(ElectricalPotentialUnit displayUnit)
      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:
      FloatElectricalPotentialVector; the current vector as a electricalpotential vector
    • asElectricalResistance

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

      public final FloatElectricalResistanceVector 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:
      FloatElectricalResistanceVector; the current vector as a electricalresistance vector
    • asEnergy

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

      public final FloatEnergyVector asEnergy(EnergyUnit displayUnit)
      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:
      FloatEnergyVector; the current vector as a energy vector
    • asEquivalentDose

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

      public final FloatEquivalentDoseVector asEquivalentDose(EquivalentDoseUnit displayUnit)
      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:
      FloatEquivalentDoseVector; the current vector as a equivalentdose vector
    • asFlowMass

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

      public final FloatFlowMassVector asFlowMass(FlowMassUnit displayUnit)
      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:
      FloatFlowMassVector; the current vector as a flowmass vector
    • asFlowVolume

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

      public final FloatFlowVolumeVector asFlowVolume(FlowVolumeUnit displayUnit)
      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:
      FloatFlowVolumeVector; the current vector as a flowvolume vector
    • asForce

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

      public final FloatForceVector asForce(ForceUnit displayUnit)
      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:
      FloatForceVector; the current vector as a force vector
    • asFrequency

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

      public final FloatFrequencyVector asFrequency(FrequencyUnit displayUnit)
      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:
      FloatFrequencyVector; the current vector as a frequency vector
    • asIlluminance

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

      public final FloatIlluminanceVector asIlluminance(IlluminanceUnit displayUnit)
      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:
      FloatIlluminanceVector; the current vector as a illuminance vector
    • asLinearDensity

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

      public final FloatLinearDensityVector asLinearDensity(LinearDensityUnit displayUnit)
      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:
      FloatLinearDensityVector; the current vector as a lineardensity vector
    • asLuminousFlux

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

      public final FloatLuminousFluxVector asLuminousFlux(LuminousFluxUnit displayUnit)
      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:
      FloatLuminousFluxVector; the current vector as a luminousflux vector
    • asLuminousIntensity

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

      public final FloatLuminousIntensityVector asLuminousIntensity(LuminousIntensityUnit displayUnit)
      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:
      FloatLuminousIntensityVector; the current vector as a luminousintensity vector
    • asMagneticFluxDensity

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

      public final FloatMagneticFluxDensityVector asMagneticFluxDensity(MagneticFluxDensityUnit displayUnit)
      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:
      FloatMagneticFluxDensityVector; the current vector as a magneticfluxdensity vector
    • asMagneticFlux

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

      public final FloatMagneticFluxVector asMagneticFlux(MagneticFluxUnit displayUnit)
      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:
      FloatMagneticFluxVector; the current vector as a magneticflux vector
    • asMass

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

      public final FloatMassVector asMass(MassUnit displayUnit)
      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:
      FloatMassVector; the current vector as a mass vector
    • asMomentum

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

      public final FloatMomentumVector asMomentum(MomentumUnit displayUnit)
      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:
      FloatMomentumVector; the current vector as a momentum vector
    • asPower

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

      public final FloatPowerVector asPower(PowerUnit displayUnit)
      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:
      FloatPowerVector; the current vector as a power vector
    • asPressure

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

      public final FloatPressureVector asPressure(PressureUnit displayUnit)
      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:
      FloatPressureVector; the current vector as a pressure vector
    • asRadioActivity

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

      public final FloatRadioActivityVector asRadioActivity(RadioActivityUnit displayUnit)
      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:
      FloatRadioActivityVector; the current vector as a radioactivity vector
    • asSolidAngle

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

      public final FloatSolidAngleVector asSolidAngle(SolidAngleUnit displayUnit)
      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:
      FloatSolidAngleVector; the current vector as a solidangle vector
    • asSpeed

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

      public final FloatSpeedVector asSpeed(SpeedUnit displayUnit)
      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:
      FloatSpeedVector; the current vector as a speed vector
    • asTorque

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

      public final FloatTorqueVector asTorque(TorqueUnit displayUnit)
      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:
      FloatTorqueVector; the current vector as a torque vector
    • asVolume

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

      public final FloatVolumeVector asVolume(VolumeUnit displayUnit)
      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:
      FloatVolumeVector; the current vector as a volume vector
    • asAngle

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

      public final FloatAngleVector asAngle(AngleUnit displayUnit)
      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:
      FloatAngleVector; the current vector as a angle vector
    • asLength

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

      public final FloatLengthVector asLength(LengthUnit displayUnit)
      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:
      FloatLengthVector; the current vector as a length vector
    • asTemperature

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

      public final FloatTemperatureVector asTemperature(TemperatureUnit displayUnit)
      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:
      FloatTemperatureVector; the current vector as a temperature vector
    • asDuration

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

      public final FloatDurationVector asDuration(DurationUnit displayUnit)
      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:
      FloatDurationVector; the current vector as a duration vector