Next: , Previous: make-grid, Up: Functions for creation of grids make-foreign-array
— Function: grid:make-foreign-array element-type &rest keys &key dimensions &allow-other-keys

Make a gsll array with the given element type, :dimensions, and :initial-contents, :initial-element or :data.

This function can be used instead of make-grid to make a foreign-array; the first argument is the element-type and the :dimensions are supplied in a keyword argument, for example,
     (grid:make-foreign-array 'double-float :dimensions '(2 2))
     #m((0.000000000000000d0 .0000000000000000d0)
        (.0000000000000000d0 .0000000000000000d0))

It is meant as an analogue to cl:make-array for the convenience of users who want to use a function with a similar argument list.