RosettaCodeData/Task/Identity-matrix/Ada/identity-matrix-1.ada

5 lines
211 B
Ada
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
-- As prototyped in the Generic_Real_Arrays specification:
-- function Unit_Matrix (Order : Positive; First_1, First_2 : Integer := 1) return Real_Matrix;
-- For the task:
mat : Real_Matrix := Unit_Matrix(5);