It may or may not be nice, but it'd be ambiguous.  ^"2 0 already has a
meaning which would conflict with the proposed meaning.


On Tue, Dec 31, 2013 at 3:46 PM, km <[email protected]> wrote:

>    mpwr NB. square matrix integer power
> 4 : 'x mp^:y =i.#x'"2 0
>    II NB. matrix representing 0j1
> 0 _1
> 1  0
>    II mpwr 2  NB. produces matrix representing _1j0
> _1  0
>  0 _1
>
> Wouldn't it be nice if ^"2 0 did what mpwr does, for real exponents as
> well, and square matrix left arguments?  (Could get hairy for a general
> square matrix.)
>
> Happy New Year!
>
> --Kip Murray
>
> Sent from my iPad
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to