diff --git a/table.tsv b/table.tsv index de03091..660aff5 100644 --- a/table.tsv +++ b/table.tsv @@ -1383,7 +1383,9 @@ Ms{⍵⌷⍨⊂⍋⍋⍺×⍋⍵}A Sort A according to Ms (1: ascending, 0: unor ' '@{2=⌈\' 0'⍳⍵}D Replace leading zeros with blanks Tacit Monadic Function Text spaces nulls zeroes nils naughts noughts 0s falses falsehoods start beginning string M(*⍤-⍤⊣×*÷!⍤⊢)N Poisson distribution of states N with average M Tacit Dyadic Function Mathematical X(⍳⍨∘⊖⍨-⍨1+∘≢⊣)Y Last indices in X of major cells Y, 0 if not found Tacit Dyadic Function Index Generation indexin indexof find locate positionof zero locating items elements location -Iv(⍳⍤≢⍤⊣⌷∘⊃⍤0⌷⍤0 99)Y Merging Y[1] Y[2] Y[3], … under control of Iv (1:cell from Y[1], 2:cell from Y[2], …) Tacit Dyadic Function Selection zipping merge merging interweave interweaving interleave interleaving shuffle shuffling meshing +Iv(⍳⍤≢⍤⊣⌷∘⊃⍤0⌷⍤0 99)Y Merging Y[1] Y[2] Y[3], … under control of Iv (1:cell from Y[1], 2:cell from Y[2], …) Tacit Dyadic Function Selection zipping merge case merging interweave interweaving interleave interleaving shuffle shuffling meshing https://tio.run/##hY8xS8NAFMf3foq3JQFTk8bBDg61dXMQcROHMznag5CrdxepiJNQ0mJEB8HFoVVQXFWEjn6U90Xiu1ZFhCLc3eNx7//4/Vg/9ZMTlspuVWF5B3h5g8OrCBoQ0o3AxfIFywccTe07vseLdyxucXxObWAbKtBseuCwwzjhDjitzXZni2oQNqI1p2aX7rFYGDjmSguZAZ3WznabKQOKH@VCcQ2dOQKE6/UApIKUGa5qi2xP6J9ormk25SwRWddnA/qJZaaNymOj67D7vc3F8RRHEyyePQtOvOXrxxOWb7W/eqfkN1uZu5CnlZx57kIrtFo4vKbY2VK7JYg6ZoYM/L4UmQE37kmpuQciS/iA0H@hYvG4Gm78Tznn8PYtrZ35Yj1YTlZVnw https://aplwiki.com/wiki/Case +Iv{(⍺,⍤0⍳≢⍺)(⌷⍤1 99)↑⍵}Y Merging Y[1] Y[2] Y[3], … under control of Iv (1:cell from Y[1], 2:cell from Y[2], …) Dfn Dyadic Function Selection zipping merge case merging interweave interweaving interleave interleaving shuffle shuffling meshing https://tio.run/##hY8xS8NAFMf3foq3JQFTk8bBDg61dXMQcROHMznag5CrdxepiJNQ0mJEB8HFoVVQXFWEjn6U90Xiu1ZFhCLc3eNx7//4/Vg/9ZMTlspuVWF5B3h5g8OrCBoQ0o3AxfIFywccTe07vseLdyxucXxObWAbKtBseuCwwzjhDjitzXZni2oQNqI1p2aX7rFYGDjmSguZAZ3WznabKQOKH@VCcQ2dOQKE6/UApIKUGa5qi2xP6J9ormk25SwRWddnA/qJZaaNymOj67D7vc3F8RRHEyyePQtOvOXrxxOWb7W/eqfkN1uZu5CnlZx57kIrtFo4vKbY2VK7JYg6ZoYM/L4UmQE37kmpuQciS/iA0H@hYvG4Gm78Tznn8PYtrZ35Yj1YTlZVnw https://aplwiki.com/wiki/Case +Iv{(↑⍵)[⍺,¨⍳≢⍺]}Y Merging vectors Y[1] Y[2] Y[3], … under control of Iv (1:cell from Y[1], 2:cell from Y[2], …) Dfn Dyadic Function Selection zipping merge case merging interweave interweaving interleave interleaving shuffle shuffling meshing https://tio.run/##hY8xS8NAFMf3foq3JQFTk8bBDg61dXMQcROHMznag5CrdxepiJNQ0mJEB8HFoVVQXFWEjn6U90Xiu1ZFhCLc3eNx7//4/Vg/9ZMTlspuVWF5B3h5g8OrCBoQ0o3AxfIFywccTe07vseLdyxucXxObWAbKtBseuCwwzjhDjitzXZni2oQNqI1p2aX7rFYGDjmSguZAZ3WznabKQOKH@VCcQ2dOQKE6/UApIKUGa5qi2xP6J9ormk25SwRWddnA/qJZaaNymOj67D7vc3F8RRHEyyePQtOvOXrxxOWb7W/eqfkN1uZu5CnlZx57kIrtFo4vKbY2VK7JYg6ZoYM/L4UmQE37kmpuQciS/iA0H@hYvG4Gm78Tznn8PYtrZ35Yj1YTlZVnw https://aplwiki.com/wiki/Case (0~⍨¯1-2-/∘⍸1,1,⍨~)Bv Lengths of groups of ones in Bv Tacit Monadic Function Boolean/Logical runs 1s trues truths contiguous shapes tally tallies counts (2÷⍨⍋∘⍋+⍒∘⍋∘⌽)Nv Assign ascending ranking based on scores Nv (ties all get average ranking of used slots) Tacit Monadic Function Mathematical places place-values positions shared allotted allocation allocate ranks ⍒⍋ ⍒⍤⍋ https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQ0jA5vf9S74lFv96OOGUBS@1HvJAgLRPbs1VQwBkNTBQsgNDL8/x8A (2÷⍨⍋∘⍒+⍒∘⍒∘⌽)Nv Assign descending ranking based on scores Nv (ties all get average ranking of used slots) Tacit Monadic Function Mathematical places place-values positions shared allotted allocation allocate ranks ⍒⍒ ⍒⍤⍒ https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQ0jA5vf9S74lFv96OOGY96J2kDMYQFInv2aioYg6GpggUQGhn@/w8A