Dijkstra's algorithm: Difference between revisions

m
→‎{{header|J}}: deal with a(n unused) case more concisely
m (→‎{{header|Wren}}: Minor tidy)
m (→‎{{header|J}}: deal with a(n unused) case more concisely)
Line 4,172:
NB. verbs and adverb
parse_table=: ;:@:(LF&= [;._2 -.&CR)
mp=: $:~ :(+/ .*)~~ NB. matrix product
min=: <./ NB. minimum
Index=: (i.`)(`:6) NB. Index adverb
6,962

edits