[ChangeSet] Beta function...
David Bateman
David.Bateman at motorola.com
Wed Mar 19 04:10:22 CDT 2008
John W. Eaton wrote:
> My question about the Sparse classes was whether we should convert it
> to use template-based functor classes for the map functions the way
> the Array classes do now. Are you interested in doing that, or would
> you like for me to look at it?
>
Ok, I misunderstood the message (it was late at night). I thought the
issue was have mapper functions with a double argument that returned a
complex value.. As for the Sparse functors, I suppose its just a matter
of moving the map functions from dSparse.cc, boolSparse.cc and
CSparse.cc into the Sparse<T> class and using templates to instantiate
them. The code should be almost identical in the three cases..
Sure if you want a patch for this I'll supply one..
Regards
David
--
David Bateman David.Bateman at motorola.com
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
More information about the Bug-octave
mailing list