Next: Data Type Generic Index Functions, Previous: Data Type Specific Index Search Functions, Up: The Index Library [Index]
<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.
<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.