RE : RE : RE : [scilab-Users] createMatrixOfFloat ?
Collewet Guylaine
guylaine.collewet at cemagref.fr
Wed Mar 2 18:34:03 CET 2011
Hi,
I call a function written in C which returns an array of floats
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)
Guylaine
-------- Message d'origine--------
De: Sylvestre Ledru [mailto:sylvestre.ledru at scilab.org]
Date: mer. 02/03/2011 17:06
À: users at lists.scilab.org
Objet : Re: RE : RE : [scilab-Users] createMatrixOfFloat ?
Hello,
It is because they don't exist... ;)
Can I ask why you are interested in having them ?
Sylvestre
Le mardi 22 février 2011 à 20:09 +0100, Collewet Guylaine a écrit :
> Hi,
>
> I agree that scilab variables are double precision reals, however there are different functions to return variables from C such as :
> createMatrixOfBoolean
> createMatrixOfInteger8
> createMatrixOfInteger16
> createMatrixOfInteger32
> createMatrixOfDouble
>
> I can't find one for floats
>
>
> Guylaine
>
>
> -------- Message d'origine--------
> De: Samuel GOUGEON [mailto:Samuel.Gougeon at univ-lemans.fr]
> Date: mar. 22/02/2011 20:01
> À: users at lists.scilab.org
> Objet : Re: RE : [scilab-Users] createMatrixOfFloat ?
>
>
> > AFAIK, there are no single precision reals in Scilab.
>
> > Regards
> > Samuel
>
>
>
>
> ----- Message d'origine -----
> De : Collewet Guylaine
> Date : 22/02/2011 19:56:
> > Thanks
> >
> > but I can only find createMatrixOfDouble, not the equivalent function for "float"
> >
> > Guylaine
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110302/7f56a829/attachment.htm>
More information about the users
mailing list