This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch to unif.c...


Hi,

>>>>> "Per" == Per Bothner <per@bothner.com> writes:

    Per> Clark McGrew <mcgrew@ale.physics.sunysb.edu> writes:

    >> I keep running into this problem over and over again when I'm
    >> working with uniform vectors; There isn't a good clean way to
    >> generate a vector of floats vs doubles.

    Per> Can I suggest SRFI-4 "Homogeneous numeric vector datatypes"?
    Per> http://srfi.schemers.org/srfi-4/srfi-4.html

    Per> I'm a big believer in following standards, as long as the
    Per> standard is reasonable, and I believe this one is.

I agree in the long run.  The problem as the array support in guile
currently stands there is no  clean way to generate a vector of floats
vs doubles.  My patch is the minimal change to handle the problem
(seriously, it only took 30-40 key stokes).  

There's talk about revamping the lowlevel support for arrays in guile.
I hope that when that happens SRFI-4 is implemented since it seems
pretty nice.

Cheers,

Clark

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]