Pages - Menu

Pages - Menu

sábado, 3 de noviembre de 2018

Pharo Script of the Day: One-liner identity matrix

Check how easy is to create an identity matrix in Pharo, in just one line: require matrix size from user and print the output:

(Array2D identity: (UIManager default request: 'Enter size of the matrix:') asInteger) asString

No hay comentarios:

Publicar un comentario