Maybe you are looking for
1; ^o.0j0.25

2007/3/24, Pascal Heus <[EMAIL PROTECTED]>:

Hi:
Just getting started with J and am trying to create a 2 by 2 matrix with
one cell containing the value ^o.0j0.25 (which is the constant value
exp^ i pi/4)
On it's own ^o.0j0.25 correctly evaluate as 0.707107j0.707107 but when I
try to insert it in a table with other numbers like in '1 ^o.0j0.25' I
get the wrong results.
I suppose it gets interpreted a the diad ^ power instead of the mode ^
exponential.. How can I get '1 ^o.0j0.25' to return '1
0.707107j0.707107' instead of '1'
thanks
Pascal


--
Astronomy compels the soul to look upwards and leads us from this world to
another.
-- Plato, The Republic
www.quotator.net

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm




--
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
Skype: gosiminn, gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
         /|_      .-----------------------------------.
        ,'  .\  /  | Með léttri lund verður        |
    ,--'    _,'   | Dagurinn í dag                     |
   /       /       | Enn betri en gærdagurinn  |
  (   -.  |        `-----------------------------------'
  |     ) |        (\_ _/)
 (`-.  '--.)       (='.'=)
  `. )----'        (")_(")
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to