Sorensen–Dice coefficient: Difference between revisions

m
→‎{{header|J}}: avoid a minor bug in <syntaxhighlight lang=J>
(J draft)
m (→‎{{header|J}}: avoid a minor bug in <syntaxhighlight lang=J>)
Line 56:
 
With this implementation, here's the task examples:
<syntaxhighlight lang=Jpre> 'Primordial primes' 5 nearest TASKS
┌────────┬────────────────────────────┐
│0.740741│Factorial primes │
Line 103:
├────────┼──────────────┤
│0.65 │Lah numbers │
└────────┴──────────────┘</syntaxhighlightpre>
 
 
 
=={{header|Phix}}==
6,962

edits