[Tioga-users] dvector.each_many ?
Fleck Jean-Julien
jeanjulien.fleck at gmail.com
Thu Apr 12 04:31:44 EDT 2007
Hello !
I have loved the routine
@x.each2(@y) do |x,y| ... end
to progress into 2 dvectors simultaneously, but unfortunately, I do
most of my work (when using dvectors outside of Tioga) with 3
dimensions or more so I wonder if it would be possible to implement an
each_many routine that could be used as
@x.each_many(@y, at z, at t, at u, at v, at w) do |x,y,z,t,u,v,w| ... end
and which determines automaticaly how many Dvectors to use from the
number of arguments.
For the moment, I get along with indexes but it's less convenient in writing.
Cheers,
JJ
More information about the Tioga-users
mailing list