4,494
edits
mNo edit summary |
|||
Line 36: | Line 36: | ||
</source> | </source> | ||
The two solutions may differ when [[comparison tolerance]] is not zero, because Index Of uses tolerant comparison but Grade does not. The first solution will return a smaller index if an element that is tolerantly but not exactly equal to the minimum is found at that index. | The two solutions may differ when [[comparison tolerance]] is not zero, because Index Of uses tolerant comparison but Grade does not. The first solution will return a smaller index if an element that is tolerantly but not exactly equal to the minimum is found at that index. | ||
Reducing over an empty axis yields the largest representable number, as that is the identity element for Minimum. This value is usually <source lang=apl inline>∞</source> (for dialects that support [[infinity|infinities]]) or <source lang=apl inline>1.797693135E308</source> (with 64-bit [[float]]s) or <source lang=apl inline>1E6145</source> (with 128-bit [[decimal float]]s). | |||
== External links == | == External links == |