combine

Combines this ScientificArray and right into a DefaultScientificArray using a transformation method

Return

A DefaultScientificArray that combines the values of both arrays using the transform method

Parameters

LeftQuantity

the type of PhysicalQuantity of this ScientificArray

LeftNumberType

the type of Number stored in this ScientificArray

LeftUnit
RightQuantity

the type of PhysicalQuantity of the right unit

RightNumberType

the type of Number stored in the right array

RightUnit
TargetQuantity

the type of PhysicalQuantity of the resulting DefaultScientificArray

TargetUnit

the type of ScientificUnit that LeftUnit and RightUnit should be combined into

right

a ScientificArray of RightUnit to combine with this ScientificArray

transform

Throws

if the size of both arrays does not match


Combines this ScientificArray and right into a TargetArray using a transformation method

Return

A TargetArray that combines the values of both arrays using the transform method

Parameters

LeftQuantity

the type of PhysicalQuantity of this ScientificArray

LeftNumberType

the type of Number stored in this ScientificArray

LeftUnit

the type of ScientificUnit of this ScientificArray

LeftValue

the type of ScientificValue in LeftUnit that each element of this ScientificArray should converted to before combining with a RightValue from right

RightQuantity

the type of PhysicalQuantity of the right unit

RightNumberType

the type of Number stored in the right array

RightUnit

the type of ScientificUnit of right

RightValue

the type of ScientificValue in RightUnit that each element of right should converted to before combining with a LeftValue from this ScientificArray

TargetQuantity

the type of PhysicalQuantity of the resulting TargetArray

TargetUnit

the type of ScientificUnit that LeftUnit and RightUnit should be combined into

TargetNumberType

the type of Number stored in TargetArray

TargetArray

the type of ScientificArray to create

right

a ScientificArray of RightUnit to combine with this ScientificArray

leftValueFactory

method for creating a LeftValue from a Decimal and a LeftUnit

rightValueFactory

method for creating a RightValue from a Decimal and a RightUnit

arrayFactory

method for creating a TargetArray from a list of Decimal and a TargetUnit

transform

method for converting a LeftValue and RightValue into A ScientificValue of TargetUnit

Throws

if the size of both arrays does not match