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

Home » Public Forums » archive » generating symmetric array from function?
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
generating symmetric array from function? [message #22783] Mon, 11 December 2000 06:28
Nick Bower is currently offline  Nick Bower
Messages: 43
Registered: June 1999
Member
how do I generate symmetric 2D array from a function of one variable?

eg. say i want the sinc function in 3 dimensions - how do i generate
this symmetrically in both x and y dimensions?

presumably, the last step would be a shift by N/2 in both x and y
directions to move the origin to the centre of the array, but i'm just
not sure what comes before this and how to do it without nested loops
over the array elements.

cheers, nick.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: redirecting IDL standard output to a file
Next Topic: Re: GAUSS2DFIT - TILT ?

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

Current Time: Wed Oct 08 13:45:47 PDT 2025

Total time taken to generate the page: 0.00561 seconds