1 j. 1+i.10 1j1 1j2 1j3 1j4 1j5 1j6 1j7 1j8 1j9 1j10 1 + 0j1 * 1 + i.10 1j1 1j2 1j3 1j4 1j5 1j6 1j7 1j8 1j9 1j10
In general, if an array of numbers follows a pattern, you can generate it by programming the pattern. ----- Original Message ----- From: Ian Gorse <[email protected]> Date: Wednesday, March 17, 2010 15:26 Subject: [Jprogramming] Creating complex numbers To: Programming forum <[email protected]> > I have just been experimenting with complex numbers as I only just > learn't how to do some basic arithmetic on imaginary numbers. > > I wish to perform some calculations on a list of complex numbers like > 2j2 * 1j1 1j2 1j3 1j4 1j5 1j6 1j7 1j8 1j9 1j10 ... > > Is there a function in J that will return a list of complex numbers, > similar to how i.y works? > > Having to type 1j1 1j2 1j3 ... each time is becoming laborious. (I > actually wish to plot large list of complex number to see the results) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
