Hi all -
In section 'Primes' of the Vocabul I found this line of code (at the
very end, function no 5):
(- ~:) &. q: y
I do know that it is another way to calculate the totient of y, and
I'm somehow familiar with the use of (~:) and (&.) and (q:), but
have not yet found any documentation of this construct (- ~:)
[btw, these seem to work too (+ ~:), (* ~:), (% ~:)]
Where should I explore further..?
-M
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm