[gambit-list] vectors and C pointers

Aditya Godbole aag.lists at gmail.com
Wed Oct 28 14:12:10 EDT 2009


Hi,

I've been trying to see whether I can get the actual vector data as a
pointer in C. I found some code which used macros like ___CAST and
__BODY_AS in the BLAS interface, but I could not find any further
documentation on these macros.
Alternatively, is it possible to wrap an existing C array ('malloc'ed
on the heap) as a vector (and hence use the vector primitives on it).

-aditya



More information about the Gambit-list mailing list