LU decomposition: Difference between revisions

Content added Content deleted
m (→‎{{header|Ada}}: add "constant" to example matrices)
m (→‎{{header|Ada}}: correct the file names)
Line 183: Line 183:
=={{header|Ada}}==
=={{header|Ada}}==
{{works with|Ada 2005}}
{{works with|Ada 2005}}
decompose.ads:
decomposition.ads:
<lang Ada>with Ada.Numerics.Generic_Real_Arrays;
<lang Ada>with Ada.Numerics.Generic_Real_Arrays;
generic
generic
Line 194: Line 194:
end Decomposition;</lang>
end Decomposition;</lang>


decompose.adb:
decomposition.adb:
<lang Ada>package body Decomposition is
<lang Ada>package body Decomposition is