Annotation of OpenXM_contrib/PHC/Ada/Schubert/evaluated_minors.ads, Revision 1.1.1.1
1.1 maekawa 1: with Standard_Floating_Numbers; use Standard_Floating_Numbers;
2: with Standard_Complex_Numbers; use Standard_Complex_Numbers;
3: with Standard_Floating_Matrices;
4: with Standard_Complex_Matrices;
5: with Brackets; use Brackets;
6:
7: package Evaluated_Minors is
8:
9: -- DESCRIPTION :
10: -- This package provides facilities to evaluate minors.
11:
12: function Determinant ( m : Standard_Floating_Matrices.Matrix )
13: return double_float;
14:
15: function Determinant ( m : Standard_Floating_Matrices.Matrix; b : Bracket )
16: return double_float;
17:
18: function Determinant ( m : Standard_Complex_Matrices.Matrix )
19: return Complex_Number;
20:
21: function Determinant ( m : Standard_Complex_Matrices.Matrix; b : Bracket )
22: return Complex_Number;
23:
24: -- DESCRIPTION :
25: -- Computes the determinant of the sub-matrix of m, obtained by selecting
26: -- those rows from the matrix m that are entries in the bracket b.
27: -- If b is omitted, then the determinant of m is returned.
28:
29: -- REQUIRED :
30: -- The matrix m should at least have as many columns as b'range and
31: -- as many rows as b(b'last). If b is omitted, then m must be square.
32:
33: end Evaluated_Minors;
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>