2D arrays

2 moment(s) that assert this concept — showing 1–2 of 2

single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] Kalman[2] Kalman
showing 2 of 2 moments
Kalman Reti · youtube · en-US
1In Lisp machines, indirect arrays allow sharing data between arrays by pointing into another array, but 2D subsets of 2D arrays are not supported by standard Common Lisp, unlike in Lisp machines.
“Common Lisp allows you to have indirect arrays, which point into some other array and share the data. But, um, what they don't allow you to do is to have 2D subsets of 2D arrays. Uh, but Lisp machine does.”
spoken · 632s · 2013-08-18
Kalman Reti · youtube · en-US
2Lisp machines allow creating 2D subsets of 2D arrays through conformal displacement, where a new image's data array is displaced to a portion of an existing array with correct stride and starting point.
“Lisp machine does. So, what we're doing here is we're finding the image with the name, and we're sending that object, which is a, you know, an image object, a data array message, which will give us back a a raster array, a 2D array. And then we're going to make a new image, uh, of type color 32-bit image, with this name and, uh, uh, with a width and height of just 200 pixels. And its data array, this new, uh, image's data array will be a raster array that's 200 by 200, that has the appropriate type, and it's displaced to the original one, the big one. However, it's displaced conformally. That means that, uh, not only do we displace to a starting point, but we displace in such a way that the stride comes out correctly, so that it actually is a 2D uh, uh subset.”
spoken · 645s · 2013-08-18