Jacobi symbol: Difference between revisions

m
Line 232:
<lang J>
NB. direct translation of the Lua program found
NB. at the wikipedia entry incorporated here asin commentcomments.
NB. &> makes jacobi work atomically. rank 0.
 
NB.function jacobi(n, k)
jacobi=: 4dyad :0&>define every
 
k=. x NB. k is the left argument
Line 347 ⟶ 346:
+------+--------------------------------------------------------------------------------------+
</pre>
 
=={{header|Java}}==
<lang java>
Anonymous user