Recursively Creating, Deleting, and Interpolating K-Dimensional Arrays in C++

Robert E. Yager · 2024

K-dimensional (K-D) arrays are arrays that require K indices to access array elements. The yKDArray namespace (described in this report) contains a set of recursive functions that can be used to create, delete, and linearly interpolate rectangular K-D arrays. Also included is a function for creating jagged 2-D arrays. The yKDArray namespace relies exclusively on standard C operators. However, examples make use of the yInterp namespace for performing binary searches, the yRandom namespace for generating pseudorandom numbers, and the yBmp namespace for creating images.

Read the paper · More papers on PaperTik