copy
. This works between
grid:foreign-array
s, pointers, and CL arrays. There are two
functions provided to extract the dimensions of a vector or array:
dim0
and dim1
; the latter is applicable only for matrices.
To copy to a grid with the same dimensions and element type, use copy-to
.