in reply to Re: Processing data with lot of math...
in thread Processing data with lot of math...
Yes, but can this be simplified?
For example, I can store all the boxes that exist in an array as: $box(i)="L:M:N". Now I can store cooridinates as:
Then all I would need to do is to loop over all boxes (using @box) and checking existence of it's neighbouring boxes (I would need a hash here, I guess... Emmm..., box should be a hash and I can use its values in the above), and for all those exists I can loop over their atoms.$x[l][m][n][i]=Xvalue of i'th atom in the box $y[l][m][n][i]=Yvalue of i'th atom in the box $z[l][m][n][i]=Zvalue of i'th atom in the box
Does this make sense or sound better?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Processing data with lot of math...
by BrowserUk (Patriarch) on May 14, 2004 at 18:20 UTC |
In Section
Seekers of Perl Wisdom