[scilab-Users] api scilab

Benoit Goepfert goepfert.benoit at gmail.com
Mon May 30 11:16:48 CEST 2011


Thank you Antoine for your answer, it's clearer now (and indeed, i didn't
see the functions below on the webpage on double management writing, my
apologies).

Best regards,

2011/5/30 Antoine ELIAS <antoine.elias at scilab.org>

> Hello Benoit,
>
> It seems we have a lack in documention to explain this.
>
> getAllocated* functions return a independent pointer on data whereas get*
> functions return pointer on Scilab memory
> But to do that, API needs to allocate some memories. So after call any
> getAllocated* functions you have to call correspondant free* function to
> release memory.
>
> allocMatrixOfDouble is in "Double management writing" page :
> http://help.scilab.org/docs/5.3.2/en_US/Double_management_writing_API.html
>
> Regards,
> Antoine
>
>
> Le 30/05/2011 09:26, Benoit Goepfert a écrit :
>
>  Hello,
>>
>> I'm currently working on the creation of a gateway so I want to use
>> correctly the last functions of the API scilab.
>> To this end, does someone know what is the difference between the
>> functions "getAllocatedSparseMatrix" and "getSparseMatrix", if there is one?
>> Moreover, I can't find any allocation function (such as
>> "allocMatrixOfDouble" for example) in the API help pages (
>> http://help.scilab.org/docs/5.3.2/en_US/section_204636e951f595409bc6782bb8e1d2d9.html),
>> whereas those functions are existing according to my knoweldge. Is it
>> normal?
>> Thank you for your answers.
>>
>> Best regards,
>>
>> --
>> Benoit Goepfert
>>
>>
>
> --
> Antoine ELIAS
> Sofware developer
> -----------------------
> The Scilab Consortium
> Digiteo
> Domaine de Voluceau
> Rocquencourt - B.P. 105
> 78153 Le Chesnay France
> Phone : +33.1.93.63.50.63
>
>


-- 
Benoit Goepfert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110530/13a136ac/attachment.htm>


More information about the users mailing list