Mosaic matrix: Difference between revisions
→{{header|jq}}: simplify
(→{{header|jq}}: simplify) |
(→{{header|jq}}: simplify) |
||
Line 389:
'''Works with gojq, the Go implementation of jq'''
<lang jq>def mosaicMatrix:
[range(0;.) | . % 2] as $
| [range(0;
| [range(0;
'''Example''':
<lang jq>def display:
|