Qurak

BoxMatrix

Disponível

Creates a matrix of ones with given radius.

BoxMatrix[r]
BoxMatrix[r, w]
BoxMatrix[{r1, r2, …}, …]
BoxMatrix[0] → {{1}}BoxMatrix[1, 5] → {{0, 0, 0, 0, 0}, {0, 1, 1, 1, 0}, {0, 1, 1, 1, 0}, {0, 1, 1, 1, 0}, {0, 0, 0, 0, 0}}BoxMatrix[0, 4] → {{0, 0, 0, 0}, {0, 1, 1, 0}, {0, 1, 1, 0}, {0, 0, 0, 0}}

Tópicos

Relacionados

Todas as 6300 funções · Usar isto de um cliente MCP