First of all, thanks everyone for so promptly answering my question,
very much appreciated. Nice also to see the variations in syntax :-)

Bill:
If you mean learning the language, I'm just going through the primer and
the docs provided with the software.
If you mean learning about J, I found links through Wikipedia. I'm
currently doing some research in quantum computing and in search for a
suitable programming language.
I believe J has a lot of potential in that area but am just starting to
investigate (I used to work with APL a long time ago....).
Also, now that I'm getting more familiar with the language, I begin to
appreciate its amazing flexibility and versatility, haven't found
anything like it in many years of programming, this feels very
refreshing and fun.
all the best,
Pascal

bill lam wrote:
> I suppose it is 1,^o.0j0.25
> Here ^ cannot find a suitable left argument so that it behaves as
> monadic.
>
> Just curious, from what document(s) did you learn J?
>
> Pascal Heus wrote:
>> 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
>>
>>
>
>


-- 
Bishops move diagonally. That's why they often turn up where the kings don't 
expect them to be.
-- Terry Pratchett, Small Gods
www.quotator.net

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

Reply via email to