FindCol()
`def`, not `func`. Inside a class body `func` does not define a method, so FindCol was unreachable and FindCols -- its only caller -- raised R14. It was the sole `func` among 95 definitions here; FindRow, FindRows and FindCols all use `def`.
Basic examples (2)
o1 = new stzMatrix([ [ 88, 85, 88 ], [ 70, 88, 70 ], [ 99, 65, 99 ] ]) ? @@( o1.FindCol([ 88, 70, 99 ]) )
[ 1, 3 ]
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 28_findcol_-_find_columns_that_match_a_pattern.ring(opens in a new tab)
oM = new stzMatrix([ [88,85,88], [70,88,70], [99,65,99] ]) # FindCol ? @@(oM.FindCol([ 88, 70, 99 ])) oM2 = new stzMatrix([ [88,85,88,1], [70,88,70,1], [99,65,99,1] ]) # ...and FindCols, which could not work without it ? @@(oM2.FindCols([ [1,1,1], [88,70,99] ]))
[ 1, 3 ] [ 1, 3, 4 ]
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from matrix_dead_calls_narrated.ring(opens in a new tab)
The extensions of this method
Each extension, and whether it exists for this method; an extension that exists combines with the others (FindSTCS).
Every example is a test file of the library, run inside the library for this page; only those whose output kept every promise their file wrote are shown.
See also
- The class stzMatrix
- The area's reference: Numeric & optimization
- The other methods in these examples: stzMatrix.FindCols

