RosettaCodeData/Task/Identity-matrix/Maple/identity-matrix-2.maple

9 lines
391 B
Plaintext

> Matrix( 4, shape = scalar[1], datatype = float[4] );
[1. 0. 0. 0.]
[ ]
[0. 1. 0. 0.]
[ ]
[0. 0. 1. 0.]
[ ]
[0. 0. 0. 1.]