I have the following: arrays arrC of type double in a C code and a fct
in Maple allowing arrM of type Array(datatype = float) as argument.
I want to evaluate the fct using arrC as input. For that one can either
use 'MapleAssignIndexed' (looping through the elements if there are not
very much of them), or 'RTableCreate' (details omitted).
Both seem to need some overhead which costs time.
Is there a way to use something like the C function memcpy to copy the
array to Maple (assuming the correct space can be supplied) to speed it
up? Does one have to work with byte arrays instead for that - or is it
a too much dirty way? What would be most efficient?
Edited for rephrasing in terms of Open maple commands:
how to do the write-access for the data block of an rtable (given by
RTableDataBlock(kv,rt) for rt = arrM) regarding indexing?