![]() |
Blitz Support : |
From: Amit.Itagi_at_[hidden]
Date: 2004-05-11 08:14:44
Thanks for the inputs.
Rgds,
Amit
Navneet Dalal
<Navneet.Dalal_at_inrialpes. To: Support list for Blitz++ <blitz-support_at_[hidden]>
fr> cc:
Sent by: Subject: Re: [Blitz-support] Blitz array indexing
blitz-support-bounces_at_oon
umerics.org
No Phone Info Available
05/11/2004 08:30 AM
Please respond to Support
list for Blitz++
On Tuesday 11 May 2004 13:55, Theodore Papadopoulo wrote:
> Navneet.Dalal_at_[hidden] said:
> > For these kind of situations, I wrote DomainIter class some months
> > back. I have been using it for quite some time now. So Julian, may we
> > should add this class to blitz cvs repository.
>
> Funny, a few months/years ago I created almost exactly the same concept.
> I agree that this functionality is useful... but finally figured out
> that blitz iterator already provide that. Look at the position()
> method... I still have not tried it though.
I knew of this functionality when I wrote Domainiter and in fact, earlier I
was using "position" function only. However, it has few drawbacks:
- one cannot change strides, order etc. without changing array
- if one wants to iterate only over block of an array, then first create a
RectDomain, then create an array, etc. It is too complicated
- One may extend DomainIter class to stl complaint iterators. Whereas, use
of
"position" function in stl algos is impossible
regards
navneet
>
> This is maybe not well documented, and some emphasis on the feature
> in the documentation might be useful ?
>
> Theo.
>
> --------------------------------------------------------------------
> Theodore Papadopoulo
> Email: Theodore.Papadopoulo_at_[hidden] Tel: (33) 04 92 38 76 01
> --------------------------------------------------------------------
>
>
> _______________________________________________
> Blitz-support mailing list
> Blitz-support_at_[hidden]
> http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
_______________________________________________
Blitz-support mailing list
Blitz-support_at_[hidden]
http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support