[Matrix-SIG] N-D put.

Travis Oliphant Oliphant.Travis@mayo.edu
Mon, 21 Jun 1999 23:26:52 -0500 (CDT)


	
There is probably no optimal N-D put for all situations, but as a
reference you might be interested to note that MATLAB would assign 16
positions for the case

ix = [3,4,5,6]
d[ix,[1,2,5,7]] = 1


One possibility is to use 1-D indexing to put into N-D arrays. 

-Travis