There is a description of floor of complex number in "Learning J" section 
20.7

Does that answer your question?

Regards




----- Original Message ----- 
From: "Zsbán Ambrus" <[email protected]>
To: "Programming forum" <[email protected]>
Sent: Wednesday, February 10, 2010 2:53 PM
Subject: [Jprogramming] Exact definition of tolerant floor on complex 
numbers


> Could someone tell me what the precise definition of tolerant floor is
> (or should be) on arbitrary complex arguments?
>
> The way J implements floor (<.) is not completely consistent,
>
>   <.a=: _1e_14 , 100-1e_13
> _1 100
>   <.a j.0
> 0 99
>
> and has a shape something like this around any Gaussian integer (look
> in fixed width font):
>
>   '....@+m'{~(~.@,i.]) <. 0j0+ j./~i:1e_13j20
> .@@@@@@@@@@@@@@++++++
> ..@@@@@@@@@@@@+++++++
> ...@@@@@@@@@@++++++++
> ....@@@@@@@@+++++++++
> .....@@@@@@++++++++++
> ......@@@@+++++++++++
> .......@@@+++++++++++
> ........@@+++++++++++
> .........@+++++++++++
> ..........+++++++++++
> .....++++++++++++++++
> ....+++++++++++++++++
> ...++++++++++++++++++
> ..+++++++++++++++++++
> .++++++++++++++++++++
> +++++++++++++++++++++
> +++++++++++++++++++++
> +++++++++++++++++++++
> +++++++++++++++++++++
> +++++++++++++++++++++
> +++++++++++++++++++++
>
> But that's all I know about the issue.
>
> Ambrus
> ----------------------------------------------------------------------
> 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