Operators for pattern matrices.
Operators for pattern matrices.
(add-var row var)Add var to the environment in row.
Add var to the environment in row.
(drop-column matrix)Drop the first column in row.
Drop the first column in row.
(empty? matrix)true if matrix has no columns.
true if matrix has no columns.
(first-column matrix)Return the first column in matrix.
Return the first column in matrix.
(get-var row var)Get var from the environment in row.
Get var from the environment in row.
(prepend-column matrix column)Prepends column to matrix.
Prepends column to matrix.
(specialize-by f matrix)Split matrix into submatrices by the return result of applying f to the first column of each row in matrix.
Split matrix into submatrices by the return result of applying f to the first column of each row in matrix.
(subcols matrix i)(subcols matrix i j)Return matrix with only the columns after i or i through j.
Return matrix with only the columns after i or i through j.
(swap v i j)Swap elements at positions i and j in the vector v.
Swap elements at positions i and j in the vector v.
(swap-column matrix i j)Swaps column i with column j in the matrix.
Swaps column i with column j in the matrix.
(useful? matrix clause)true if clause is useful with respect to matrix.
true if clause is useful with respect to matrix.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |