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).<br><br>Best regards,<br><br><div class="gmail_quote">2011/5/30 Antoine ELIAS <span dir="ltr"><<a href="mailto:antoine.elias@scilab.org">antoine.elias@scilab.org</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello Benoit,<br>
<br>
It seems we have a lack in documention to explain this.<br>
<br>
getAllocated* functions return a independent pointer on data whereas get* functions return pointer on Scilab memory<br>
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.<br>
<br>
allocMatrixOfDouble is in "Double management writing" page : <a href="http://help.scilab.org/docs/5.3.2/en_US/Double_management_writing_API.html" target="_blank">http://help.scilab.org/docs/5.3.2/en_US/Double_management_writing_API.html</a><br>

<br>
Regards,<br>
Antoine<br>
<br>
<br>
Le 30/05/2011 09:26, Benoit Goepfert a écrit :<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
I'm currently working on the creation of a gateway so I want to use correctly the last functions of the API scilab.<br>
To this end, does someone know what is the difference between the functions "getAllocatedSparseMatrix" and "getSparseMatrix", if there is one?<br>
Moreover, I can't find any allocation function (such as "allocMatrixOfDouble" for example) in the API help pages (<a href="http://help.scilab.org/docs/5.3.2/en_US/section_204636e951f595409bc6782bb8e1d2d9.html" target="_blank">http://help.scilab.org/docs/5.3.2/en_US/section_204636e951f595409bc6782bb8e1d2d9.html</a>), whereas those functions are existing according to my knoweldge. Is it normal?<br>

Thank you for your answers.<br>
<br>
Best regards,<br>
<br>
-- <br>
Benoit Goepfert<br>
<br>
</blockquote>
<br>
<br></div></div>
-- <br>
Antoine ELIAS<br>
Sofware developer<br>
-----------------------<br>
The Scilab Consortium<br>
Digiteo<br>
Domaine de Voluceau<br>
Rocquencourt - B.P. 105<br>
78153 Le Chesnay France<br>
Phone : +33.1.93.63.50.63<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Benoit Goepfert<br><br>