<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>RE : RE : RE : [scilab-Users] createMatrixOfFloat ?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
<BR>
I call a function written in C which returns an array of floats<BR>
I'd like to avoid to copy the array of floats to an array of double because it represents a large amount of memory (probably too much in some cases)<BR>
<BR>
Guylaine<BR>
<BR>
<BR>
-------- Message d'origine--------<BR>
De: Sylvestre Ledru [<A HREF="mailto:sylvestre.ledru@scilab.org">mailto:sylvestre.ledru@scilab.org</A>]<BR>
Date: mer. 02/03/2011 17:06<BR>
À: users@lists.scilab.org<BR>
Objet : Re: RE : RE : [scilab-Users] createMatrixOfFloat ?<BR>
<BR>
Hello,<BR>
<BR>
It is because they don't exist... ;)<BR>
Can I ask why you are interested in having them ?<BR>
<BR>
<BR>
Sylvestre<BR>
<BR>
Le mardi 22 février 2011 à 20:09 +0100, Collewet Guylaine a écrit :<BR>
> Hi,<BR>
><BR>
> I agree that scilab variables are double precision reals, however there are different functions to return variables from C such as :<BR>
> createMatrixOfBoolean<BR>
> createMatrixOfInteger8<BR>
> createMatrixOfInteger16<BR>
> createMatrixOfInteger32<BR>
> createMatrixOfDouble<BR>
><BR>
> I can't find one for floats<BR>
><BR>
><BR>
> Guylaine<BR>
><BR>
><BR>
> -------- Message d'origine--------<BR>
> De: Samuel GOUGEON [<A HREF="mailto:Samuel.Gougeon@univ-lemans.fr">mailto:Samuel.Gougeon@univ-lemans.fr</A>]<BR>
> Date: mar. 22/02/2011 20:01<BR>
> À: users@lists.scilab.org<BR>
> Objet : Re: RE : [scilab-Users] createMatrixOfFloat ?<BR>
><BR>
><BR>
> > AFAIK, there are no single precision reals in Scilab.<BR>
><BR>
> > Regards<BR>
> > Samuel<BR>
><BR>
><BR>
> <BR>
><BR>
>   ----- Message d'origine -----<BR>
> De : Collewet Guylaine<BR>
> Date : 22/02/2011 19:56:<BR>
> > Thanks<BR>
> ><BR>
> > but I can only find createMatrixOfDouble, not the equivalent function for "float"<BR>
> ><BR>
> > Guylaine<BR>
><BR>
><BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>