RosettaCodeData/Task/LU-decomposition/Ada/lu-decomposition-1.ada
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

9 lines
290 B
Ada

with Ada.Numerics.Generic_Real_Arrays;
generic
with package Matrix is new Ada.Numerics.Generic_Real_Arrays (<>);
package Decomposition is
-- decompose a square matrix A by PA = LU
procedure Decompose (A : Matrix.Real_Matrix; P, L, U : out Matrix.Real_Matrix);
end Decomposition;