| Author |
Comment/Response |
Pedro Alves
|
10/27/98 12:08pm
Suppose I have an array of elements:
indices=Table[{h,k,l},{h,1,5},{k,1,5},{l,1,5}];
and I want to apply each of this {h,k,l} to a function f[h,k,l]... something like (NOTICE: this is wrong, but I think you get the picture):
Map[1/(#1^2 + #2^2 + #3^2)&, indices, 2]
The way it works is using multivariable tables, which giver a very long command line
URL: , |
|