ScientificArray

A collection of values in a given ScientificUnit

Parameters

NumberType

the type of Number this value is stored in

Quantity

the type of PhysicalQuantity of the unit

Unit

the type of ScientificUnit this array represents

Inheritors

Properties

Link copied to clipboard

The List of Decimal for all values in this array

Link copied to clipboard
abstract val size: Int

The size of the array

Link copied to clipboard
abstract val unit: Unit

The Unit component

Functions

Link copied to clipboard

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

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

Link copied to clipboard

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

Link copied to clipboard

Creates a DefaultScientificArray that contains all values of a ScientificArray converted to TargetUnit

Creates a TargetArray that contains all values of a ScientificArray converted to TargetUnit

Link copied to clipboard
abstract operator fun get(index: Int): NumberType

Gets the NumberType at the given index

Link copied to clipboard
abstract operator fun iterator(): Iterator<NumberType>

Creates an iterator over the elements of the array

Link copied to clipboard

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