comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » operating on 3-d arrays
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
operating on 3-d arrays [message #8495] Mon, 10 March 1997 00:00
John Keck is currently offline  John Keck
Messages: 10
Registered: August 1996
Junior Member
The IDL manual encourages avoiding FOR...NEXT loops by using the vaunted
matrix capabilities of IDL, so I have been trying to handle
three-dimensional arrays.

I need to multiply three vectors to produce a three-dimensional array.
One would think that it would suffice to use the matrix multiplication
operator (#) as one does with a pair of vectors to get a two-dimensional
array. However with three vectors, IDL gives the error message

% Operands of matrix multiply have incompatible dimensions...

Anyone have a simple way to manipulate three (and higher) dimensional
arrays in IDL?

Thanks,

John Keck
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: plot_3dbox and plots
Next Topic: Books on IDL (Was Re: Want reference for IDL widgets)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:30:32 PDT 2025

Total time taken to generate the page: 2.07838 seconds