Package-level declarations
Types
A ScientificArray containing Byte values
A class implementation of DoubleScientificArray that takes an AbstractScientificUnit
A class implementation of ScientificValue
The DefaultScientificValue used to be a data class of "value" and "unit", instead of "decimalValue" and "unit". This custom serializer is backwards compatible with the old serializer.
A ScientificArray containing Double values
A ScientificArray containing Float values
A ScientificArray containing Int values
A ScientificArray containing Long values
A physical property of a material or system that can be quantified by measurement
A collection of values in a given ScientificUnit
A Value in a given ScientificUnit
A ScientificArray containing Short values
Properties
Returns the value of a ScientificValue with PhysicalQuantity.Dimensionless as a fraction. I.e.
A SerializersModule that enabled Serialization of com.splendo.kaluga.scientific.unit.AbstractUndefinedScientificUnit / PhysicalQuantity.Undefined .
Functions
Combines this ScientificArray and right into a DefaultScientificArray using a transformation method
Combines this ScientificArray and right into a TargetArray using a transformation method
Creates a DefaultScientificArray containing all values of this ScientificArray and right This will convert the values right into Unit
Creates a DefaultScientificArray containing all values of this ScientificArray and right This will convert the values of both this ScientificArray and right into TargetUnit
Creates a TargetArray containing all values of this ScientificArray and right This will convert the values right into Unit
Creates a TargetArray containing all values of this ScientificArray and right This will convert the values of both this ScientificArray and right into TargetUnit
Creates a DefaultScientificArray that contains all values of a ScientificArray converted to TargetUnit
Converts a ScientificValue into a DefaultScientificValue with an AbstractScientificUnit of the same PhysicalQuantity
Creates a TargetArray that contains all values of a ScientificArray converted to TargetUnit
Converts a ScientificValue into another ScientificValue with a ScientificUnit of the same PhysicalQuantity
Converts ScientificValue.value into the equivalent Decimal in TargetUnit
Converts the values of a ScientificArray into their Decimal values in a TargetUnit
Creates a DefaultScientificValue equal to a ScientificValue.value divided from this Decimal
Creates a DefaultScientificValue equal to the ScientificValue.value divided by value
Divides the ScientificValue.value of two ScientificValue into a DefaultScientificValue with LeftUnit as its unit
Creates a DefaultScientificValue equal to a ScientificValue.value divided from this Number
Creates a Value equal to a ScientificValue.value divided from this Decimal
Creates a Value equal to the ScientificValue.value divided by value
Divides the ScientificValue.value of two ScientificValue into a Value with TargetUnit as its unit
Creates a DefaultScientificValue of this Decimal using a given AbstractScientificUnit
Creates a DefaultScientificValue of this number using a given AbstractScientificUnit
Creates a DefaultScientificArray containing this list of Decimal using a given AbstractScientificUnit
Creates a DefaultScientificArray containing this list using a given AbstractScientificUnit
Maps all the values of a ScientificArray into a DefaultScientificArray using a transformation method
Maps all the values of a ScientificArray into a TargetArray using a transformation method
Creates a DefaultScientificValue equal to a ScientificValue.value decreased from this Decimal
Creates a DefaultScientificValue equal to the ScientificValue.value decreased by value
Subtracts the ScientificValue.value of two ScientificValue into a DefaultScientificValue with LeftUnit as its unit
Creates a DefaultScientificValue equal to a ScientificValue.value decreased from this Number
Creates a Value equal to a ScientificValue.value decreased from this Decimal
Creates a Value equal to the ScientificValue.value decreased by value
Subtracts the ScientificValue.value of two ScientificValue into a Value with TargetUnit as its unit
Creates a DefaultScientificValue equal to a ScientificValue.value increased by this Decimal
Creates a DefaultScientificArray in Unit containing all values of this ScientificArray and right
Creates a DefaultScientificArray in Unit by adding a ScientificValue to this ScientificArray
Creates a DefaultScientificValue equal to the ScientificValue.value increased by value
Creates a DefaultScientificArray in Unit by adding a ScientificArray to this ScientificValue This will convert the values right into Unit
Adds the ScientificValue.value of two ScientificValue into a DefaultScientificValue with LeftUnit as its unit
Creates a DefaultScientificValue equal to a ScientificValue.value increased by this Number
Creates a Value equal to a ScientificValue.value increased by this Decimal
Creates a Value equal to the ScientificValue.value increased by value
Adds the ScientificValue.value of two ScientificValue into a Value with TargetUnit as its unit
Splits a ScientificArray into a list of DefaultScientificValue of all the values in the array
Splits a ScientificArray into a list of DefaultScientificValue in TargetUnit of all the values in the array
Splits a ScientificArray into a list of TargetValue of all the values in the array
Splits a ScientificValue of ValueUnit into a DefaultScientificValue of ValueUnit and DefaultScientificValue of RightUnit so that left and right together are equal to the original value. Splitting happens by rounding the ValueUnit down to scale and returning it and the remainder converted to RightUnit.
Splits a ScientificValue of ValueUnit into a DefaultScientificValue of LeftUnit and DefaultScientificValue of RightUnit so that left and right together are equal to the original value. Splitting happens by converting the ValueUnit to LeftUnit and then rounding down to scale and returning it and the remainder converted to RightUnit.
Splits a ScientificValue of ValueUnit into a LeftValue and RightValue so that left and right together are equal to the original value. Splitting happens by rounding the ValueUnit down to scale and returning it and the remainder converted to RightUnit.
Splits a ScientificValue of ValueUnit into a LeftValue and RightValue so that left and right together are equal to the original value. Splitting happens by converting the ValueUnit to LeftUnit and then rounding down to scale and returning it and the remainder converted to RightUnit.
Creates a DefaultScientificValue equal to a ScientificValue.value multiplied by this Decimal
Creates a DefaultScientificValue equal to the ScientificValue.value multiplied by value
Multiplies the ScientificValue.value of two ScientificValue into a DefaultScientificValue with LeftUnit as its unit
Creates a DefaultScientificValue equal to a ScientificValue.value multiplied by this Number
Creates a Value equal to a ScientificValue.value multiplied by this Decimal
Creates a Value equal to the ScientificValue.value multiplied by value
Multiplies the ScientificValue.value of two ScientificValue into a Value with TargetUnit as its unit
Breaks up a ScientificValue of Quantity into its components in UnitOne, UnitTwo and executes the given action with these components. A value is broken up into its components by converting the value to to UnitOne and splitting into UnitTwo using scale.
Breaks up a ScientificValue of Quantity into its components in UnitOne, UnitTwo, UnitThree and executes the given action with these components. A value is broken up into its components by converting the value to to UnitOne and splitting into UnitTwo using scale, then splitting the remainder into UnitThree.
Breaks up a ScientificValue of Quantity into its components in UnitOne, UnitTwo, UnitThree, UnitFour and executes the given action with these components. A value is broken up into its components by converting the value to to UnitOne and splitting into UnitTwo using scale, then splitting the remainder into UnitThree and so on.
Breaks up a ScientificValue of Quantity into its components in UnitOne, UnitTwo, UnitThree, UnitFour, UnitFive and executes the given action with these components. A value is broken up into its components by converting the value to to UnitOne and splitting into UnitTwo using scale, then splitting the remainder into UnitThree and so on.
Creates a DefaultScientificArray from a list of ScientificValue
Creates an ArrayType from a list of ScientificValue