|
From: | Louis de Forcrand |
Subject: | Re: [Bug-apl] Modulo or residue function is not generating consistent complete residue systems for some arguments |
Date: | Fri, 23 Jun 2017 16:17:45 +0200 |
In J it is implemented as (X|Y)=Y-X mul flr Y div X+0=X for all numerical X and Y, where mul is multiplication, div is division, and flr is flooring as defined here for complex numbers: I believe it's implemented like in McDonnell's article which Jay already posted. Perhaps this can help? Louis
|
[Prev in Thread] | Current Thread | [Next in Thread] |