Package org.djunits.value.vdouble.scalar
Class Dimensionless
java.lang.Object
java.lang.Number
org.djunits.value.base.Scalar<U,S>
org.djunits.value.vdouble.scalar.base.DoubleScalar<U,R>
org.djunits.value.vdouble.scalar.base.DoubleScalarRel<DimensionlessUnit,Dimensionless>
org.djunits.value.vdouble.scalar.Dimensionless
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Dimensionless>,DimensionlessFunctions<DimensionlessUnit,,Dimensionless> Relative<DimensionlessUnit,,Dimensionless> Value<DimensionlessUnit,Dimensionless>
@Generated(value="org.djunits.generator.GenerateDJUNIT",
date="2025-09-06T15:16:28.380798Z")
public class Dimensionless
extends DoubleScalarRel<DimensionlessUnit,Dimensionless>
implements DimensionlessFunctions<DimensionlessUnit,Dimensionless>
Easy access methods for the Dimensionless DoubleScalar, which is relative by definition.
Copyright (c) 2013-2025 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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DimensionlessConstant with value NaN.static final DimensionlessConstant with value -MAX_VALUE.static final DimensionlessConstant with value NEGATIVE_INFINITY.static final DimensionlessConstant with value one.static final DimensionlessConstant with value MAX_VALUE.static final DimensionlessConstant with value POSITIVE_INFINITY.static final DimensionlessConstant with value zero.Fields inherited from class org.djunits.value.vdouble.scalar.base.DoubleScalar
si -
Constructor Summary
ConstructorsConstructorDescriptionDimensionless(double value, DimensionlessUnit unit) Construct Dimensionless scalar with a unit.Dimensionless(Dimensionless value) Construct Dimensionless scalar. -
Method Summary
Modifier and TypeMethodDescriptionfinal Dimensionlessacos()Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.final Dimensionlessasin()Set the value(s) to the arc sine of the value(s); the resulting angle is in the range -pi/2 through pi/2.final Dimensionlessatan()Set the value(s) to the arc tangent of the value(s); the resulting angle is in the range -pi/2 through pi/2.final Dimensionlesscbrt()Set the value(s) to the(ir) cube root.final Dimensionlesscos()Set the value(s) to the trigonometric cosine of the value(s).final Dimensionlesscosh()Set the value(s) to the hyperbolic cosine of the value(s).static Dimensionlessdivide(DoubleScalarRel<?, ?> scalar1, DoubleScalarRel<?, ?> scalar2) Divide two scalars that result in a scalar of type Dimensionless.final DimensionlessCalculate the division of Dimensionless and Dimensionless, which results in a Dimensionless scalar.final FrequencyCalculate the division of Dimensionless and Duration, which results in a Frequency scalar.final ElectricalResistanceCalculate the division of Dimensionless and ElectricalConductance, which results in a ElectricalResistance scalar.final ElectricalConductanceCalculate the division of Dimensionless and ElectricalResistance, which results in a ElectricalConductance scalar.final DurationCalculate the division of Dimensionless and Frequency, which results in a Duration scalar.final LinearDensityCalculate the division of Dimensionless and Length, which results in a LinearDensity scalar.final LengthCalculate the division of Dimensionless and LinearDensity, which results in a Length scalar.final Dimensionlessexp()Set the value(s) to Euler's number e raised to the power of the value(s).final Dimensionlessexpm1()Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).final DimensionlessinstantiateRel(double value, DimensionlessUnit unit) Construct a new Relative Immutable DoubleScalar of the right type.static Dimensionlessinterpolate(Dimensionless zero, Dimensionless one, double ratio) Interpolate between two values.final Dimensionlessinv()Set the value(s) to the complement (1.0/x) of the value(s).final Dimensionlesslog()Set the value(s) to the natural logarithm (base e) of the value(s).final Dimensionlesslog10()Set the value(s) to the base 10 logarithm of the value(s).final Dimensionlesslog1p()Set the value(s) to the natural logarithm of the sum of the value(s) and 1.static Dimensionlessmax(Dimensionless r1, Dimensionless r2) Return the maximum value of two relative scalars.static Dimensionlessmax(Dimensionless r1, Dimensionless r2, Dimensionless... rn) Return the maximum value of more than two relative scalars.static Dimensionlessmin(Dimensionless r1, Dimensionless r2) Return the minimum value of two relative scalars.static Dimensionlessmin(Dimensionless r1, Dimensionless r2, Dimensionless... rn) Return the minimum value of more than two relative scalars.static Dimensionlessmultiply(DoubleScalarRel<?, ?> scalar1, DoubleScalarRel<?, ?> scalar2) Multiply two scalars that result in a scalar of type Dimensionless.static DimensionlessReturns a Dimensionless based on a value and the textual representation of the unit, which can be localized.static final DimensionlessofSI(double value) Construct Dimensionless scalar based on an SI value.final Dimensionlesspow(double x) Set the value(s) to the value(s) raised to the power of the argument.Create the reciprocal of this scalar with the correct dimensions.final Dimensionlesssignum()Set the value(s) to the signum function of the value(s); zero if the argument is zero, 1.0 if the argument is greater than zero, -1.0 if the argument is less than zero.final Dimensionlesssin()Set the value(s) to the trigonometric sine of the value(s).final Dimensionlesssinh()Set the value(s) to the hyperbolic sine of the value(s).final Dimensionlesssqrt()Set the value(s) to the correctly rounded positive square root of the value(s).final Dimensionlesstan()Set the value(s) to the trigonometric tangent of the value(s).final Dimensionlesstanh()Set the value(s) to the hyperbolic tangent of the value(s).final AbsorbedDoseCalculate the multiplication of Dimensionless and AbsorbedDose, which results in a AbsorbedDose scalar.final AccelerationCalculate the multiplication of Dimensionless and Acceleration, which results in a Acceleration scalar.final AmountOfSubstanceCalculate the multiplication of Dimensionless and AmountOfSubstance, which results in a AmountOfSubstance scalar.final AngleCalculate the multiplication of Dimensionless and Angle, which results in a Angle scalar.final AreaCalculate the multiplication of Dimensionless and Area, which results in a Area scalar.final CatalyticActivityCalculate the multiplication of Dimensionless and CatalyticActivity, which results in a CatalyticActivity scalar.final DensityCalculate the multiplication of Dimensionless and Density, which results in a Density scalar.final DimensionlessCalculate the multiplication of Dimensionless and Dimensionless, which results in a Dimensionless scalar.final DurationCalculate the multiplication of Dimensionless and Duration, which results in a Duration scalar.final ElectricalCapacitanceCalculate the multiplication of Dimensionless and ElectricalCapacitance, which results in a ElectricalCapacitance scalar.final ElectricalChargeCalculate the multiplication of Dimensionless and ElectricalCharge, which results in a ElectricalCharge scalar.final ElectricalConductanceCalculate the multiplication of Dimensionless and ElectricalConductance, which results in a ElectricalConductance scalar.final ElectricalCurrentCalculate the multiplication of Dimensionless and ElectricalCurrent, which results in a ElectricalCurrent scalar.final ElectricalInductanceCalculate the multiplication of Dimensionless and ElectricalInductance, which results in a ElectricalInductance scalar.final ElectricalPotentialCalculate the multiplication of Dimensionless and ElectricalPotential, which results in a ElectricalPotential scalar.final ElectricalResistanceCalculate the multiplication of Dimensionless and ElectricalResistance, which results in a ElectricalResistance scalar.final EnergyCalculate the multiplication of Dimensionless and Energy, which results in a Energy scalar.final EquivalentDoseCalculate the multiplication of Dimensionless and EquivalentDose, which results in a EquivalentDose scalar.final FlowMassCalculate the multiplication of Dimensionless and FlowMass, which results in a FlowMass scalar.final FlowVolumetimes(FlowVolume v) Calculate the multiplication of Dimensionless and FlowVolume, which results in a FlowVolume scalar.final ForceCalculate the multiplication of Dimensionless and Force, which results in a Force scalar.final FrequencyCalculate the multiplication of Dimensionless and Frequency, which results in a Frequency scalar.final Illuminancetimes(Illuminance v) Calculate the multiplication of Dimensionless and Illuminance, which results in a Illuminance scalar.final LengthCalculate the multiplication of Dimensionless and Length, which results in a Length scalar.final LinearDensityCalculate the multiplication of Dimensionless and LinearDensity, which results in a LinearDensity scalar.final LuminousFluxCalculate the multiplication of Dimensionless and LuminousFlux, which results in a LuminousFlux scalar.final LuminousIntensityCalculate the multiplication of Dimensionless and LuminousIntensity, which results in a LuminousIntensity scalar.final MagneticFluxCalculate the multiplication of Dimensionless and MagneticFlux, which results in a MagneticFlux scalar.final MagneticFluxDensityCalculate the multiplication of Dimensionless and MagneticFluxDensity, which results in a MagneticFluxDensity scalar.final MassCalculate the multiplication of Dimensionless and Mass, which results in a Mass scalar.final PowerCalculate the multiplication of Dimensionless and Power, which results in a Power scalar.final PressureCalculate the multiplication of Dimensionless and Pressure, which results in a Pressure scalar.final RadioActivityCalculate the multiplication of Dimensionless and RadioActivity, which results in a RadioActivity scalar.final SolidAngletimes(SolidAngle v) Calculate the multiplication of Dimensionless and SolidAngle, which results in a SolidAngle scalar.final SpeedCalculate the multiplication of Dimensionless and Speed, which results in a Speed scalar.final Temperaturetimes(Temperature v) Calculate the multiplication of Dimensionless and Temperature, which results in a Temperature scalar.final TorqueCalculate the multiplication of Dimensionless and Torque, which results in a Torque scalar.final VolumeCalculate the multiplication of Dimensionless and Volume, which results in a Volume scalar.toStringSIPrefixed(int smallestPower, int biggestPower) Format this DoubleScalar in SI unit using prefixes when possible and within the specified size range.static DimensionlessReturns a Dimensionless representation of a textual representation of a value with a unit.Methods inherited from class org.djunits.value.vdouble.scalar.base.DoubleScalarRel
abs, ceil, divide, divide, divide, floor, minus, neg, plus, rint, times, times, timesMethods inherited from class org.djunits.value.vdouble.scalar.base.DoubleScalar
compareTo, doubleValue, eq, eq0, equals, floatValue, ge, ge0, getInUnit, getInUnit, getSI, gt, gt0, hashCode, intValue, le, le0, longValue, lt, lt0, ne, ne0, toDisplayString, toDisplayString, toString, toString, toString, toString, toStringSIPrefixed, toTextualString, toTextualStringMethods inherited from class org.djunits.value.base.Scalar
format, format, getDisplayUnit, setDisplayUnitMethods inherited from class java.lang.Number
byteValue, shortValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.djunits.value.Value
isAbsolute, isRelative
-
Field Details
-
ZERO
Constant with value zero. -
ONE
Constant with value one. -
NaN
Constant with value NaN. -
POSITIVE_INFINITY
Constant with value POSITIVE_INFINITY. -
NEGATIVE_INFINITY
Constant with value NEGATIVE_INFINITY. -
POS_MAXVALUE
Constant with value MAX_VALUE. -
NEG_MAXVALUE
Constant with value -MAX_VALUE.
-
-
Constructor Details
-
Dimensionless
Construct Dimensionless scalar with a unit.- Parameters:
value- the double value, expressed in the given unitunit- unit for the double value
-
Dimensionless
Construct Dimensionless scalar.- Parameters:
value- Scalar from which to construct this instance
-
-
Method Details
-
instantiateRel
Description copied from class:DoubleScalarRelConstruct a new Relative Immutable DoubleScalar of the right type. Each extending class must implement this method.- Specified by:
instantiateRelin classDoubleScalarRel<DimensionlessUnit,Dimensionless> - Parameters:
value- the double valueunit- the unit- Returns:
- R a new relative instance of the DoubleScalar of the right type
-
ofSI
Construct Dimensionless scalar based on an SI value.- Parameters:
value- the double value in SI units- Returns:
- the new scalar with the SI value
-
interpolate
Interpolate between two values. Note that the first value does not have to be smaller than the second.- Parameters:
zero- the value at a ratio of zeroone- the value at a ratio of oneratio- the ratio between 0 and 1, inclusive- Returns:
- a Dimensionless at the given ratio between 0 and 1
-
max
Return the maximum value of two relative scalars.- Parameters:
r1- the first scalarr2- the second scalar- Returns:
- the maximum value of two relative scalars
-
max
Return the maximum value of more than two relative scalars.- Parameters:
r1- the first scalarr2- the second scalarrn- the other scalars- Returns:
- the maximum value of more than two relative scalars
-
min
Return the minimum value of two relative scalars.- Parameters:
r1- the first scalarr2- the second scalar- Returns:
- the minimum value of two relative scalars
-
min
Return the minimum value of more than two relative scalars.- Parameters:
r1- the first scalarr2- the second scalarrn- the other scalars- Returns:
- the minimum value of more than two relative scalars
-
valueOf
Returns a Dimensionless representation of a textual representation of a value with a unit. The String representation that can be parsed is the double value in the unit, followed by a localized or English abbreviation of the unit. Spaces are allowed, but not required, between the value and the unit.- Parameters:
text- the textual representation to parse into a Dimensionless- Returns:
- the Scalar representation of the value in its unit
- Throws:
IllegalArgumentException- when the text cannot be parsedNullPointerException- when the text argument is null
-
of
Returns a Dimensionless based on a value and the textual representation of the unit, which can be localized.- Parameters:
value- the value to useunitString- the textual representation of the unit- Returns:
- the Scalar representation of the value in its unit
- Throws:
IllegalArgumentException- when the unit cannot be parsed or is incorrectNullPointerException- when the unitString argument is null
-
toStringSIPrefixed
Description copied from class:DoubleScalarFormat this DoubleScalar in SI unit using prefixes when possible and within the specified size range. If the value is too small or too large, e-notation and the plain SI unit are used.- Overrides:
toStringSIPrefixedin classDoubleScalar<DimensionlessUnit,Dimensionless> - Parameters:
smallestPower- the smallest exponent value that will be written using an SI prefixbiggestPower- the largest exponent value that will be written using an SI prefix- Returns:
- formatted value of this DoubleScalar
-
acos
Description copied from interface:DimensionlessFunctionsSet the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.- Specified by:
acosin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
asin
Description copied from interface:DimensionlessFunctionsSet the value(s) to the arc sine of the value(s); the resulting angle is in the range -pi/2 through pi/2.- Specified by:
asinin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
atan
Description copied from interface:DimensionlessFunctionsSet the value(s) to the arc tangent of the value(s); the resulting angle is in the range -pi/2 through pi/2.- Specified by:
atanin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
cbrt
Description copied from interface:DimensionlessFunctionsSet the value(s) to the(ir) cube root.- Specified by:
cbrtin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
cos
Description copied from interface:DimensionlessFunctionsSet the value(s) to the trigonometric cosine of the value(s).- Specified by:
cosin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
cosh
Description copied from interface:DimensionlessFunctionsSet the value(s) to the hyperbolic cosine of the value(s).- Specified by:
coshin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
exp
Description copied from interface:DimensionlessFunctionsSet the value(s) to Euler's number e raised to the power of the value(s).- Specified by:
expin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
expm1
Description copied from interface:DimensionlessFunctionsSet the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).- Specified by:
expm1in interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
log
Description copied from interface:DimensionlessFunctionsSet the value(s) to the natural logarithm (base e) of the value(s).- Specified by:
login interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
log10
Description copied from interface:DimensionlessFunctionsSet the value(s) to the base 10 logarithm of the value(s).- Specified by:
log10in interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
log1p
Description copied from interface:DimensionlessFunctionsSet the value(s) to the natural logarithm of the sum of the value(s) and 1.- Specified by:
log1pin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
pow
Description copied from interface:DimensionlessFunctionsSet the value(s) to the value(s) raised to the power of the argument.- Specified by:
powin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Parameters:
x- the value to use as the power- Returns:
- the modified T
-
signum
Description copied from interface:DimensionlessFunctionsSet the value(s) to the signum function of the value(s); zero if the argument is zero, 1.0 if the argument is greater than zero, -1.0 if the argument is less than zero.- Specified by:
signumin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
sin
Description copied from interface:DimensionlessFunctionsSet the value(s) to the trigonometric sine of the value(s).- Specified by:
sinin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
sinh
Description copied from interface:DimensionlessFunctionsSet the value(s) to the hyperbolic sine of the value(s).- Specified by:
sinhin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
sqrt
Description copied from interface:DimensionlessFunctionsSet the value(s) to the correctly rounded positive square root of the value(s).- Specified by:
sqrtin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
tan
Description copied from interface:DimensionlessFunctionsSet the value(s) to the trigonometric tangent of the value(s).- Specified by:
tanin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
tanh
Description copied from interface:DimensionlessFunctionsSet the value(s) to the hyperbolic tangent of the value(s).- Specified by:
tanhin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
inv
Description copied from interface:DimensionlessFunctionsSet the value(s) to the complement (1.0/x) of the value(s).- Specified by:
invin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless> - Returns:
- the modified T
-
divide
Calculate the division of Dimensionless and Dimensionless, which results in a Dimensionless scalar.- Parameters:
v- scalar- Returns:
- scalar as a division of Dimensionless and Dimensionless
-
times
Calculate the multiplication of Dimensionless and AbsorbedDose, which results in a AbsorbedDose scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and AbsorbedDose
-
times
Calculate the multiplication of Dimensionless and Acceleration, which results in a Acceleration scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Acceleration
-
times
Calculate the multiplication of Dimensionless and AmountOfSubstance, which results in a AmountOfSubstance scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and AmountOfSubstance
-
times
Calculate the multiplication of Dimensionless and Angle, which results in a Angle scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Angle
-
times
Calculate the multiplication of Dimensionless and SolidAngle, which results in a SolidAngle scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and SolidAngle
-
times
Calculate the multiplication of Dimensionless and Area, which results in a Area scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Area
-
times
Calculate the multiplication of Dimensionless and CatalyticActivity, which results in a CatalyticActivity scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and CatalyticActivity
-
times
Calculate the multiplication of Dimensionless and Density, which results in a Density scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Density
-
times
Calculate the multiplication of Dimensionless and Dimensionless, which results in a Dimensionless scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Dimensionless
-
times
Calculate the multiplication of Dimensionless and ElectricalCapacitance, which results in a ElectricalCapacitance scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and ElectricalCapacitance
-
times
Calculate the multiplication of Dimensionless and ElectricalCharge, which results in a ElectricalCharge scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and ElectricalCharge
-
times
Calculate the multiplication of Dimensionless and ElectricalConductance, which results in a ElectricalConductance scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and ElectricalConductance
-
times
Calculate the multiplication of Dimensionless and ElectricalCurrent, which results in a ElectricalCurrent scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and ElectricalCurrent
-
times
Calculate the multiplication of Dimensionless and ElectricalInductance, which results in a ElectricalInductance scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and ElectricalInductance
-
times
Calculate the multiplication of Dimensionless and ElectricalPotential, which results in a ElectricalPotential scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and ElectricalPotential
-
times
Calculate the multiplication of Dimensionless and ElectricalResistance, which results in a ElectricalResistance scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and ElectricalResistance
-
times
Calculate the multiplication of Dimensionless and Energy, which results in a Energy scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Energy
-
times
Calculate the multiplication of Dimensionless and EquivalentDose, which results in a EquivalentDose scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and EquivalentDose
-
times
Calculate the multiplication of Dimensionless and FlowMass, which results in a FlowMass scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and FlowMass
-
times
Calculate the multiplication of Dimensionless and FlowVolume, which results in a FlowVolume scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and FlowVolume
-
times
Calculate the multiplication of Dimensionless and Force, which results in a Force scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Force
-
times
Calculate the multiplication of Dimensionless and Frequency, which results in a Frequency scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Frequency
-
times
Calculate the multiplication of Dimensionless and Illuminance, which results in a Illuminance scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Illuminance
-
times
Calculate the multiplication of Dimensionless and Length, which results in a Length scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Length
-
times
Calculate the multiplication of Dimensionless and LinearDensity, which results in a LinearDensity scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and LinearDensity
-
times
Calculate the multiplication of Dimensionless and LuminousFlux, which results in a LuminousFlux scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and LuminousFlux
-
times
Calculate the multiplication of Dimensionless and LuminousIntensity, which results in a LuminousIntensity scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and LuminousIntensity
-
times
Calculate the multiplication of Dimensionless and MagneticFluxDensity, which results in a MagneticFluxDensity scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and MagneticFluxDensity
-
times
Calculate the multiplication of Dimensionless and MagneticFlux, which results in a MagneticFlux scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and MagneticFlux
-
times
Calculate the multiplication of Dimensionless and Mass, which results in a Mass scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Mass
-
times
Calculate the multiplication of Dimensionless and Power, which results in a Power scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Power
-
times
Calculate the multiplication of Dimensionless and Pressure, which results in a Pressure scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Pressure
-
times
Calculate the multiplication of Dimensionless and RadioActivity, which results in a RadioActivity scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and RadioActivity
-
times
Calculate the multiplication of Dimensionless and Speed, which results in a Speed scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Speed
-
times
Calculate the multiplication of Dimensionless and Temperature, which results in a Temperature scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Temperature
-
times
Calculate the multiplication of Dimensionless and Duration, which results in a Duration scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Duration
-
times
Calculate the multiplication of Dimensionless and Torque, which results in a Torque scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Torque
-
times
Calculate the multiplication of Dimensionless and Volume, which results in a Volume scalar.- Parameters:
v- scalar- Returns:
- scalar as a multiplication of Dimensionless and Volume
-
divide
Calculate the division of Dimensionless and Length, which results in a LinearDensity scalar.- Parameters:
v- scalar- Returns:
- scalar as a division of Dimensionless and Length
-
divide
Calculate the division of Dimensionless and LinearDensity, which results in a Length scalar.- Parameters:
v- scalar- Returns:
- scalar as a division of Dimensionless and LinearDensity
-
divide
Calculate the division of Dimensionless and Duration, which results in a Frequency scalar.- Parameters:
v- scalar- Returns:
- scalar as a division of Dimensionless and Duration
-
divide
Calculate the division of Dimensionless and Frequency, which results in a Duration scalar.- Parameters:
v- scalar- Returns:
- scalar as a division of Dimensionless and Frequency
-
divide
Calculate the division of Dimensionless and ElectricalConductance, which results in a ElectricalResistance scalar.- Parameters:
v- scalar- Returns:
- scalar as a division of Dimensionless and ElectricalConductance
-
divide
Calculate the division of Dimensionless and ElectricalResistance, which results in a ElectricalConductance scalar.- Parameters:
v- scalar- Returns:
- scalar as a division of Dimensionless and ElectricalResistance
-
reciprocal
Description copied from class:DoubleScalarRelCreate the reciprocal of this scalar with the correct dimensions.- Overrides:
reciprocalin classDoubleScalarRel<DimensionlessUnit,Dimensionless> - Returns:
- a new scalar instance with correct SI dimensions
-
multiply
Multiply two scalars that result in a scalar of type Dimensionless.- Parameters:
scalar1- the first scalarscalar2- the second scalar- Returns:
- the multiplication of both scalars as an instance of Dimensionless
-
divide
Divide two scalars that result in a scalar of type Dimensionless.- Parameters:
scalar1- the first scalarscalar2- the second scalar- Returns:
- the division of scalar1 by scalar2 as an instance of Dimensionless
-