octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mapper functions for 3.1


From: David Bateman
Subject: Re: mapper functions for 3.1
Date: Sat, 16 Feb 2008 11:06:48 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20070914)

I see one issue with the charNDArray class. There the typedef for all
the mapper functions are the same (i.e. int (*) (int)) but the return
type of the mapper method itself might be different (cf isalpha to
tolower). This is likely to cause issue with your scheme, and is in fact
why the charNDArray mapper methods have different maps (dmap, smap,
bmap) in my patch.. I'm not sure how to deal with that in your scheme,
other than keeping the map names different. So you'll end up with 6
different mapper methods in the Array<T> class at least.

As for the rest I see no issues, and the sparse type could be done in
the same manner..

D.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]