Package org.djunits.value.vdouble.scalar
Class Dimensionless
- java.lang.Object
-
- java.lang.Number
-
- org.djunits.value.AbstractScalar<U,S>
-
- org.djunits.value.vdouble.scalar.base.AbstractDoubleScalar<U,R>
-
- org.djunits.value.vdouble.scalar.base.AbstractDoubleScalarRel<DimensionlessUnit,Dimensionless>
-
- org.djunits.value.vdouble.scalar.Dimensionless
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Dimensionless>,Scalar<DimensionlessUnit,Dimensionless>,Scalar.Rel<DimensionlessUnit,Dimensionless>,DimensionlessFunctions<DimensionlessUnit,Dimensionless>,ValueFunctions<DimensionlessUnit,Dimensionless>,Relative<DimensionlessUnit,Dimensionless>,Value<DimensionlessUnit,Dimensionless>,DoubleScalarInterface<DimensionlessUnit,Dimensionless>,DoubleScalarInterface.Rel<DimensionlessUnit,Dimensionless>
@Generated(value="org.djunits.generator.GenerateDJUNIT", date="2022-03-14T11:14:15.180987200Z") public class Dimensionless extends AbstractDoubleScalarRel<DimensionlessUnit,Dimensionless> implements DimensionlessFunctions<DimensionlessUnit,Dimensionless>Easy access methods for the Dimensionless DoubleScalar, which is relative by definition.Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.djunits.value.vdouble.scalar.base.DoubleScalarInterface
DoubleScalarInterface.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends DoubleScalarInterface.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends DoubleScalarInterface.RelWithAbs<AU,A,RU,R>>, DoubleScalarInterface.Rel<U extends Unit<U>,R extends DoubleScalarInterface.Rel<U,R>>, DoubleScalarInterface.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends DoubleScalarInterface.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends DoubleScalarInterface.RelWithAbs<AU,A,RU,R>>
-
Nested classes/interfaces inherited from interface org.djunits.value.base.Scalar
Scalar.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends Scalar.RelWithAbs<AU,A,RU,R>>, Scalar.Rel<U extends Unit<U>,R extends Scalar.Rel<U,R>>, Scalar.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends Scalar.RelWithAbs<AU,A,RU,R>>
-
-
Field Summary
Fields Modifier and Type Field Description static DimensionlessNaNConstant with value NaN.static DimensionlessNEG_MAXVALUEConstant with value -MAX_VALUE.static DimensionlessNEGATIVE_INFINITYConstant with value NEGATIVE_INFINITY.static DimensionlessONEConstant with value one.static DimensionlessPOS_MAXVALUEConstant with value MAX_VALUE.static DimensionlessPOSITIVE_INFINITYConstant with value POSITIVE_INFINITY.static DimensionlessZEROConstant with value zero.-
Fields inherited from class org.djunits.value.vdouble.scalar.base.AbstractDoubleScalar
si
-
-
Constructor Summary
Constructors Constructor Description Dimensionless(double value, DimensionlessUnit unit)Construct Dimensionless scalar.Dimensionless(Dimensionless value)Construct Dimensionless scalar.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimensionlessacos()Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.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.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.Dimensionlesscbrt()Set the value(s) to the(ir) cube root.Dimensionlesscos()Set the value(s) to the trigonometric cosine of the value(s).Dimensionlesscosh()Set the value(s) to the hyperbolic cosine of the value(s).Dimensionlessdivide(Dimensionless v)Calculate the division of Dimensionless and Dimensionless, which results in a Dimensionless scalar.Frequencydivide(Duration v)Calculate the division of Dimensionless and Duration, which results in a Frequency scalar.ElectricalResistancedivide(ElectricalConductance v)Calculate the division of Dimensionless and ElectricalConductance, which results in a ElectricalResistance scalar.ElectricalConductancedivide(ElectricalResistance v)Calculate the division of Dimensionless and ElectricalResistance, which results in a ElectricalConductance scalar.Durationdivide(Frequency v)Calculate the division of Dimensionless and Frequency, which results in a Duration scalar.LinearDensitydivide(Length v)Calculate the division of Dimensionless and Length, which results in a LinearDensity scalar.Lengthdivide(LinearDensity v)Calculate the division of Dimensionless and LinearDensity, which results in a Length scalar.Dimensionlessexp()Set the value(s) to Euler's number e raised to the power of the value(s).Dimensionlessexpm1()Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).DimensionlessinstantiateRel(double value, DimensionlessUnit unit)Construct a new Relative Immutable DoubleScalar of the right type.static DimensionlessinstantiateSI(double value)Construct Dimensionless scalar.static Dimensionlessinterpolate(Dimensionless zero, Dimensionless one, double ratio)Interpolate between two values.Dimensionlessinv()Set the value(s) to the complement (1.0/x) of the value(s).Dimensionlesslog()Set the value(s) to the natural logarithm (base e) of the value(s).Dimensionlesslog10()Set the value(s) to the base 10 logarithm of the value(s).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 Dimensionlessof(double value, String unitString)Returns a Dimensionless based on a value and the textual representation of the unit.Dimensionlesspow(double x)Set the value(s) to the value(s) raised to the power of the argument.Dimensionlessreciprocal()Create the reciprocal of this scalar with the correct dimensions.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.Dimensionlesssin()Set the value(s) to the trigonometric sine of the value(s).Dimensionlesssinh()Set the value(s) to the hyperbolic sine of the value(s).Dimensionlesssqrt()Set the value(s) to the correctly rounded positive square root of the value(s).Dimensionlesstan()Set the value(s) to the trigonometric tangent of the value(s).Dimensionlesstanh()Set the value(s) to the hyperbolic tangent of the value(s).AbsorbedDosetimes(AbsorbedDose v)Calculate the multiplication of Dimensionless and AbsorbedDose, which results in a AbsorbedDose scalar.Accelerationtimes(Acceleration v)Calculate the multiplication of Dimensionless and Acceleration, which results in a Acceleration scalar.AmountOfSubstancetimes(AmountOfSubstance v)Calculate the multiplication of Dimensionless and AmountOfSubstance, which results in a AmountOfSubstance scalar.Angletimes(Angle v)Calculate the multiplication of Dimensionless and Angle, which results in a Angle scalar.Areatimes(Area v)Calculate the multiplication of Dimensionless and Area, which results in a Area scalar.CatalyticActivitytimes(CatalyticActivity v)Calculate the multiplication of Dimensionless and CatalyticActivity, which results in a CatalyticActivity scalar.Densitytimes(Density v)Calculate the multiplication of Dimensionless and Density, which results in a Density scalar.Dimensionlesstimes(Dimensionless v)Calculate the multiplication of Dimensionless and Dimensionless, which results in a Dimensionless scalar.Durationtimes(Duration v)Calculate the multiplication of Dimensionless and Duration, which results in a Duration scalar.ElectricalCapacitancetimes(ElectricalCapacitance v)Calculate the multiplication of Dimensionless and ElectricalCapacitance, which results in a ElectricalCapacitance scalar.ElectricalChargetimes(ElectricalCharge v)Calculate the multiplication of Dimensionless and ElectricalCharge, which results in a ElectricalCharge scalar.ElectricalConductancetimes(ElectricalConductance v)Calculate the multiplication of Dimensionless and ElectricalConductance, which results in a ElectricalConductance scalar.ElectricalCurrenttimes(ElectricalCurrent v)Calculate the multiplication of Dimensionless and ElectricalCurrent, which results in a ElectricalCurrent scalar.ElectricalInductancetimes(ElectricalInductance v)Calculate the multiplication of Dimensionless and ElectricalInductance, which results in a ElectricalInductance scalar.ElectricalPotentialtimes(ElectricalPotential v)Calculate the multiplication of Dimensionless and ElectricalPotential, which results in a ElectricalPotential scalar.ElectricalResistancetimes(ElectricalResistance v)Calculate the multiplication of Dimensionless and ElectricalResistance, which results in a ElectricalResistance scalar.Energytimes(Energy v)Calculate the multiplication of Dimensionless and Energy, which results in a Energy scalar.EquivalentDosetimes(EquivalentDose v)Calculate the multiplication of Dimensionless and EquivalentDose, which results in a EquivalentDose scalar.FlowMasstimes(FlowMass v)Calculate the multiplication of Dimensionless and FlowMass, which results in a FlowMass scalar.FlowVolumetimes(FlowVolume v)Calculate the multiplication of Dimensionless and FlowVolume, which results in a FlowVolume scalar.Forcetimes(Force v)Calculate the multiplication of Dimensionless and Force, which results in a Force scalar.Frequencytimes(Frequency v)Calculate the multiplication of Dimensionless and Frequency, which results in a Frequency scalar.Illuminancetimes(Illuminance v)Calculate the multiplication of Dimensionless and Illuminance, which results in a Illuminance scalar.Lengthtimes(Length v)Calculate the multiplication of Dimensionless and Length, which results in a Length scalar.LinearDensitytimes(LinearDensity v)Calculate the multiplication of Dimensionless and LinearDensity, which results in a LinearDensity scalar.LuminousFluxtimes(LuminousFlux v)Calculate the multiplication of Dimensionless and LuminousFlux, which results in a LuminousFlux scalar.LuminousIntensitytimes(LuminousIntensity v)Calculate the multiplication of Dimensionless and LuminousIntensity, which results in a LuminousIntensity scalar.MagneticFluxtimes(MagneticFlux v)Calculate the multiplication of Dimensionless and MagneticFlux, which results in a MagneticFlux scalar.MagneticFluxDensitytimes(MagneticFluxDensity v)Calculate the multiplication of Dimensionless and MagneticFluxDensity, which results in a MagneticFluxDensity scalar.Masstimes(Mass v)Calculate the multiplication of Dimensionless and Mass, which results in a Mass scalar.Powertimes(Power v)Calculate the multiplication of Dimensionless and Power, which results in a Power scalar.Pressuretimes(Pressure v)Calculate the multiplication of Dimensionless and Pressure, which results in a Pressure scalar.RadioActivitytimes(RadioActivity v)Calculate the multiplication of Dimensionless and RadioActivity, which results in a RadioActivity scalar.SolidAngletimes(SolidAngle v)Calculate the multiplication of Dimensionless and SolidAngle, which results in a SolidAngle scalar.Speedtimes(Speed v)Calculate the multiplication of Dimensionless and Speed, which results in a Speed scalar.Temperaturetimes(Temperature v)Calculate the multiplication of Dimensionless and Temperature, which results in a Temperature scalar.Torquetimes(Torque v)Calculate the multiplication of Dimensionless and Torque, which results in a Torque scalar.Volumetimes(Volume v)Calculate the multiplication of Dimensionless and Volume, which results in a Volume scalar.StringtoStringSIPrefixed(int smallestPower, int biggestPower)Format this AbstractDoubleScalar in SI unit using prefixes when possible and within the specified size range.static DimensionlessvalueOf(String text)Returns a Dimensionless representation of a textual representation of a value with a unit.-
Methods inherited from class org.djunits.value.vdouble.scalar.base.AbstractDoubleScalarRel
abs, ceil, divide, divide, divide, floor, minus, neg, plus, rint, times, times, times
-
Methods inherited from class org.djunits.value.vdouble.scalar.base.AbstractDoubleScalar
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, toTextualString
-
Methods inherited from class org.djunits.value.AbstractScalar
getDisplayUnit, isAbsolute, isRelative, setDisplayUnit
-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.djunits.value.vdouble.scalar.base.DoubleScalarInterface
getInUnit, getInUnit, getSI
-
Methods inherited from interface org.djunits.value.base.Scalar
eq, eq0, ge, ge0, gt, gt0, le, le0, lt, lt0, ne, ne0, toDisplayString, toDisplayString, toTextualString, toTextualString
-
Methods inherited from interface org.djunits.value.Value
getDisplayUnit, isAbsolute, isRelative, setDisplayUnit, toString, toString, toString, toString
-
-
-
-
Field Detail
-
ZERO
public static final Dimensionless ZERO
Constant with value zero.
-
ONE
public static final Dimensionless ONE
Constant with value one.
-
NaN
public static final Dimensionless NaN
Constant with value NaN.
-
POSITIVE_INFINITY
public static final Dimensionless POSITIVE_INFINITY
Constant with value POSITIVE_INFINITY.
-
NEGATIVE_INFINITY
public static final Dimensionless NEGATIVE_INFINITY
Constant with value NEGATIVE_INFINITY.
-
POS_MAXVALUE
public static final Dimensionless POS_MAXVALUE
Constant with value MAX_VALUE.
-
NEG_MAXVALUE
public static final Dimensionless NEG_MAXVALUE
Constant with value -MAX_VALUE.
-
-
Constructor Detail
-
Dimensionless
public Dimensionless(double value, DimensionlessUnit unit)Construct Dimensionless scalar.- Parameters:
value- double; the double valueunit- DimensionlessUnit; unit for the double value
-
Dimensionless
public Dimensionless(Dimensionless value)
Construct Dimensionless scalar.- Parameters:
value- Dimensionless; Scalar from which to construct this instance
-
-
Method Detail
-
instantiateRel
public final Dimensionless instantiateRel(double value, DimensionlessUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type. Each extending class must implement this method.- Specified by:
instantiateRelin interfaceDoubleScalarInterface.Rel<DimensionlessUnit,Dimensionless>- Parameters:
value- double; the double valueunit- U; the unit- Returns:
- R a new relative instance of the DoubleScalar of the right type
-
instantiateSI
public static final Dimensionless instantiateSI(double value)
Construct Dimensionless scalar.- Parameters:
value- double; the double value in SI units- Returns:
- Dimensionless; the new scalar with the SI value
-
interpolate
public static Dimensionless interpolate(Dimensionless zero, Dimensionless one, double ratio)
Interpolate between two values.- Parameters:
zero- Dimensionless; the low valueone- Dimensionless; the high valueratio- double; the ratio between 0 and 1, inclusive- Returns:
- Dimensionless; a Scalar at the ratio between
-
max
public static Dimensionless max(Dimensionless r1, Dimensionless r2)
Return the maximum value of two relative scalars.- Parameters:
r1- Dimensionless; the first scalarr2- Dimensionless; the second scalar- Returns:
- Dimensionless; the maximum value of two relative scalars
-
max
public static Dimensionless max(Dimensionless r1, Dimensionless r2, Dimensionless... rn)
Return the maximum value of more than two relative scalars.- Parameters:
r1- Dimensionless; the first scalarr2- Dimensionless; the second scalarrn- Dimensionless...; the other scalars- Returns:
- Dimensionless; the maximum value of more than two relative scalars
-
min
public static Dimensionless min(Dimensionless r1, Dimensionless r2)
Return the minimum value of two relative scalars.- Parameters:
r1- Dimensionless; the first scalarr2- Dimensionless; the second scalar- Returns:
- Dimensionless; the minimum value of two relative scalars
-
min
public static Dimensionless min(Dimensionless r1, Dimensionless r2, Dimensionless... rn)
Return the minimum value of more than two relative scalars.- Parameters:
r1- Dimensionless; the first scalarr2- Dimensionless; the second scalarrn- Dimensionless...; the other scalars- Returns:
- Dimensionless; the minimum value of more than two relative scalars
-
valueOf
public static Dimensionless valueOf(String text)
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 the official abbreviation of the unit. Spaces are allowed, but not required, between the value and the unit.- Parameters:
text- String; the textual representation to parse into a Dimensionless- Returns:
- Dimensionless; the Scalar representation of the value in its unit
- Throws:
IllegalArgumentException- when the text cannot be parsedNullPointerException- when the text argument is null
-
of
public static Dimensionless of(double value, String unitString)
Returns a Dimensionless based on a value and the textual representation of the unit.- Parameters:
value- double; the value to useunitString- String; the textual representation of the unit- Returns:
- Dimensionless; 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
public String toStringSIPrefixed(int smallestPower, int biggestPower)
Format this AbstractDoubleScalar 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 classAbstractDoubleScalar<DimensionlessUnit,Dimensionless>- Parameters:
smallestPower- int; the smallest exponent value that will be written using an SI prefixbiggestPower- int; the largest exponent value that will be written using an SI prefix- Returns:
- String; formatted value of this AbstractDoubleScalar
-
acos
public final Dimensionless acos()
Set 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:
- T; the modified T
-
asin
public final Dimensionless asin()
Set 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:
- T; the modified T
-
atan
public final Dimensionless atan()
Set 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:
- T; the modified T
-
cbrt
public final Dimensionless cbrt()
Set the value(s) to the(ir) cube root.- Specified by:
cbrtin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
cos
public final Dimensionless cos()
Set the value(s) to the trigonometric cosine of the value(s).- Specified by:
cosin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
cosh
public final Dimensionless cosh()
Set the value(s) to the hyperbolic cosine of the value(s).- Specified by:
coshin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
exp
public final Dimensionless exp()
Set the value(s) to Euler's number e raised to the power of the value(s).- Specified by:
expin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
expm1
public final Dimensionless expm1()
Set 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:
- T; the modified T
-
log
public final Dimensionless log()
Set the value(s) to the natural logarithm (base e) of the value(s).- Specified by:
login interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
log10
public final Dimensionless log10()
Set the value(s) to the base 10 logarithm of the value(s).- Specified by:
log10in interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
log1p
public final Dimensionless log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.- Specified by:
log1pin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
pow
public final Dimensionless pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.- Specified by:
powin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Parameters:
x- double; the value to use as the power- Returns:
- T; the modified T
-
signum
public final Dimensionless signum()
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.- Specified by:
signumin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
sin
public final Dimensionless sin()
Set the value(s) to the trigonometric sine of the value(s).- Specified by:
sinin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
sinh
public final Dimensionless sinh()
Set the value(s) to the hyperbolic sine of the value(s).- Specified by:
sinhin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
sqrt
public final Dimensionless sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).- Specified by:
sqrtin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
tan
public final Dimensionless tan()
Set the value(s) to the trigonometric tangent of the value(s).- Specified by:
tanin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
tanh
public final Dimensionless tanh()
Set the value(s) to the hyperbolic tangent of the value(s).- Specified by:
tanhin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
inv
public final Dimensionless inv()
Set the value(s) to the complement (1.0/x) of the value(s).- Specified by:
invin interfaceDimensionlessFunctions<DimensionlessUnit,Dimensionless>- Returns:
- T; the modified T
-
divide
public final Dimensionless divide(Dimensionless v)
Calculate the division of Dimensionless and Dimensionless, which results in a Dimensionless scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Dimensionless; scalar as a division of Dimensionless and Dimensionless
-
times
public final AbsorbedDose times(AbsorbedDose v)
Calculate the multiplication of Dimensionless and AbsorbedDose, which results in a AbsorbedDose scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- AbsorbedDose; scalar as a multiplication of Dimensionless and AbsorbedDose
-
times
public final Acceleration times(Acceleration v)
Calculate the multiplication of Dimensionless and Acceleration, which results in a Acceleration scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Acceleration; scalar as a multiplication of Dimensionless and Acceleration
-
times
public final AmountOfSubstance times(AmountOfSubstance v)
Calculate the multiplication of Dimensionless and AmountOfSubstance, which results in a AmountOfSubstance scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- AmountOfSubstance; scalar as a multiplication of Dimensionless and AmountOfSubstance
-
times
public final Angle times(Angle v)
Calculate the multiplication of Dimensionless and Angle, which results in a Angle scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Angle; scalar as a multiplication of Dimensionless and Angle
-
times
public final SolidAngle times(SolidAngle v)
Calculate the multiplication of Dimensionless and SolidAngle, which results in a SolidAngle scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- SolidAngle; scalar as a multiplication of Dimensionless and SolidAngle
-
times
public final Area times(Area v)
Calculate the multiplication of Dimensionless and Area, which results in a Area scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Area; scalar as a multiplication of Dimensionless and Area
-
times
public final CatalyticActivity times(CatalyticActivity v)
Calculate the multiplication of Dimensionless and CatalyticActivity, which results in a CatalyticActivity scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- CatalyticActivity; scalar as a multiplication of Dimensionless and CatalyticActivity
-
times
public final Density times(Density v)
Calculate the multiplication of Dimensionless and Density, which results in a Density scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Density; scalar as a multiplication of Dimensionless and Density
-
times
public final Dimensionless times(Dimensionless v)
Calculate the multiplication of Dimensionless and Dimensionless, which results in a Dimensionless scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Dimensionless; scalar as a multiplication of Dimensionless and Dimensionless
-
times
public final ElectricalCapacitance times(ElectricalCapacitance v)
Calculate the multiplication of Dimensionless and ElectricalCapacitance, which results in a ElectricalCapacitance scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- ElectricalCapacitance; scalar as a multiplication of Dimensionless and ElectricalCapacitance
-
times
public final ElectricalCharge times(ElectricalCharge v)
Calculate the multiplication of Dimensionless and ElectricalCharge, which results in a ElectricalCharge scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- ElectricalCharge; scalar as a multiplication of Dimensionless and ElectricalCharge
-
times
public final ElectricalConductance times(ElectricalConductance v)
Calculate the multiplication of Dimensionless and ElectricalConductance, which results in a ElectricalConductance scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- ElectricalConductance; scalar as a multiplication of Dimensionless and ElectricalConductance
-
times
public final ElectricalCurrent times(ElectricalCurrent v)
Calculate the multiplication of Dimensionless and ElectricalCurrent, which results in a ElectricalCurrent scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- ElectricalCurrent; scalar as a multiplication of Dimensionless and ElectricalCurrent
-
times
public final ElectricalInductance times(ElectricalInductance v)
Calculate the multiplication of Dimensionless and ElectricalInductance, which results in a ElectricalInductance scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- ElectricalInductance; scalar as a multiplication of Dimensionless and ElectricalInductance
-
times
public final ElectricalPotential times(ElectricalPotential v)
Calculate the multiplication of Dimensionless and ElectricalPotential, which results in a ElectricalPotential scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- ElectricalPotential; scalar as a multiplication of Dimensionless and ElectricalPotential
-
times
public final ElectricalResistance times(ElectricalResistance v)
Calculate the multiplication of Dimensionless and ElectricalResistance, which results in a ElectricalResistance scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- ElectricalResistance; scalar as a multiplication of Dimensionless and ElectricalResistance
-
times
public final Energy times(Energy v)
Calculate the multiplication of Dimensionless and Energy, which results in a Energy scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Energy; scalar as a multiplication of Dimensionless and Energy
-
times
public final EquivalentDose times(EquivalentDose v)
Calculate the multiplication of Dimensionless and EquivalentDose, which results in a EquivalentDose scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- EquivalentDose; scalar as a multiplication of Dimensionless and EquivalentDose
-
times
public final FlowMass times(FlowMass v)
Calculate the multiplication of Dimensionless and FlowMass, which results in a FlowMass scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- FlowMass; scalar as a multiplication of Dimensionless and FlowMass
-
times
public final FlowVolume times(FlowVolume v)
Calculate the multiplication of Dimensionless and FlowVolume, which results in a FlowVolume scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- FlowVolume; scalar as a multiplication of Dimensionless and FlowVolume
-
times
public final Force times(Force v)
Calculate the multiplication of Dimensionless and Force, which results in a Force scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Force; scalar as a multiplication of Dimensionless and Force
-
times
public final Frequency times(Frequency v)
Calculate the multiplication of Dimensionless and Frequency, which results in a Frequency scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Frequency; scalar as a multiplication of Dimensionless and Frequency
-
times
public final Illuminance times(Illuminance v)
Calculate the multiplication of Dimensionless and Illuminance, which results in a Illuminance scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Illuminance; scalar as a multiplication of Dimensionless and Illuminance
-
times
public final Length times(Length v)
Calculate the multiplication of Dimensionless and Length, which results in a Length scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Length; scalar as a multiplication of Dimensionless and Length
-
times
public final LinearDensity times(LinearDensity v)
Calculate the multiplication of Dimensionless and LinearDensity, which results in a LinearDensity scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- LinearDensity; scalar as a multiplication of Dimensionless and LinearDensity
-
times
public final LuminousFlux times(LuminousFlux v)
Calculate the multiplication of Dimensionless and LuminousFlux, which results in a LuminousFlux scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- LuminousFlux; scalar as a multiplication of Dimensionless and LuminousFlux
-
times
public final LuminousIntensity times(LuminousIntensity v)
Calculate the multiplication of Dimensionless and LuminousIntensity, which results in a LuminousIntensity scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- LuminousIntensity; scalar as a multiplication of Dimensionless and LuminousIntensity
-
times
public final MagneticFluxDensity times(MagneticFluxDensity v)
Calculate the multiplication of Dimensionless and MagneticFluxDensity, which results in a MagneticFluxDensity scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- MagneticFluxDensity; scalar as a multiplication of Dimensionless and MagneticFluxDensity
-
times
public final MagneticFlux times(MagneticFlux v)
Calculate the multiplication of Dimensionless and MagneticFlux, which results in a MagneticFlux scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- MagneticFlux; scalar as a multiplication of Dimensionless and MagneticFlux
-
times
public final Mass times(Mass v)
Calculate the multiplication of Dimensionless and Mass, which results in a Mass scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Mass; scalar as a multiplication of Dimensionless and Mass
-
times
public final Power times(Power v)
Calculate the multiplication of Dimensionless and Power, which results in a Power scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Power; scalar as a multiplication of Dimensionless and Power
-
times
public final Pressure times(Pressure v)
Calculate the multiplication of Dimensionless and Pressure, which results in a Pressure scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Pressure; scalar as a multiplication of Dimensionless and Pressure
-
times
public final RadioActivity times(RadioActivity v)
Calculate the multiplication of Dimensionless and RadioActivity, which results in a RadioActivity scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- RadioActivity; scalar as a multiplication of Dimensionless and RadioActivity
-
times
public final Speed times(Speed v)
Calculate the multiplication of Dimensionless and Speed, which results in a Speed scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Speed; scalar as a multiplication of Dimensionless and Speed
-
times
public final Temperature times(Temperature v)
Calculate the multiplication of Dimensionless and Temperature, which results in a Temperature scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Temperature; scalar as a multiplication of Dimensionless and Temperature
-
times
public final Duration times(Duration v)
Calculate the multiplication of Dimensionless and Duration, which results in a Duration scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Duration; scalar as a multiplication of Dimensionless and Duration
-
times
public final Torque times(Torque v)
Calculate the multiplication of Dimensionless and Torque, which results in a Torque scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Torque; scalar as a multiplication of Dimensionless and Torque
-
times
public final Volume times(Volume v)
Calculate the multiplication of Dimensionless and Volume, which results in a Volume scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Volume; scalar as a multiplication of Dimensionless and Volume
-
divide
public final LinearDensity divide(Length v)
Calculate the division of Dimensionless and Length, which results in a LinearDensity scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- LinearDensity; scalar as a division of Dimensionless and Length
-
divide
public final Length divide(LinearDensity v)
Calculate the division of Dimensionless and LinearDensity, which results in a Length scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Length; scalar as a division of Dimensionless and LinearDensity
-
divide
public final Frequency divide(Duration v)
Calculate the division of Dimensionless and Duration, which results in a Frequency scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Frequency; scalar as a division of Dimensionless and Duration
-
divide
public final Duration divide(Frequency v)
Calculate the division of Dimensionless and Frequency, which results in a Duration scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- Duration; scalar as a division of Dimensionless and Frequency
-
divide
public final ElectricalResistance divide(ElectricalConductance v)
Calculate the division of Dimensionless and ElectricalConductance, which results in a ElectricalResistance scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- ElectricalResistance; scalar as a division of Dimensionless and ElectricalConductance
-
divide
public final ElectricalConductance divide(ElectricalResistance v)
Calculate the division of Dimensionless and ElectricalResistance, which results in a ElectricalConductance scalar.- Parameters:
v- Dimensionless; scalar- Returns:
- ElectricalConductance; scalar as a division of Dimensionless and ElectricalResistance
-
reciprocal
public Dimensionless reciprocal()
Create the reciprocal of this scalar with the correct dimensions.- Specified by:
reciprocalin classAbstractDoubleScalarRel<DimensionlessUnit,Dimensionless>- Returns:
- DoubleScalar<?>; a new scalar instance with correct SI dimensions
-
-