Alexandr Batalshikov:
>  ^ __j3
>  is "limit error" but not zero?

At first I thought this reduced to this (understandable) limit error:

           1 o. __
        |limit error
        |   1     o.__
           
But it does not.  The phrase  ^3j__  reduces to that error, but AFAICT 
^__j3  is equivalent to:

           (^__) * (2 o. 3) + 0 j. 1 o. 3
        0

That is, if this model of  ^  for complex numbers is correct:

        pow_cplx =: 1x1 &$: : (dyad define)
        
                'r i'=. |: +. y * ^. x
                
                NB. (a^b+c) = */a^b c   and 
                NB. (1x1^0 j. a) = (2 o. a) +  0 j. 1 o. a
        
                (^r) * +/ 1 0j1 * 2 1 o./ i  
        )

Then  ^__j3  should indeed be zero:

           pow_cplx __j3
        0
-Dan
-- 
View this message in context: 
http://www.nabble.com/Exponenta-from-complex-tp15458026s24193p15463034.html
Sent from the J Programming mailing list archive at Nabble.com.

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

Reply via email to