Next: , Previous: , Up: The Index Library   [Index]


13.4.9 Data Type Specific Arithmetic Index Functions

in_a_<type-name>

<type> in_a_<type-name>(index i, integer k, <type> d);

is the sum of the data in the k position in the i index (assumed of the <type> data type) or 0 if i does not map k and d. Data in the k position is set to the calculated sum.

in_s_<type-name>

<type> in_s_<type-name>(index i, integer k, <type> d);

is the difference of the data in the k position in the i index (assumed of the <type> data type) or 0 if i does not map k and d. Data in the k position is set to the calculated difference.