Annotation of OpenXM_contrib/PHC/Ada/Math_Lib/Matrices/standard_random_matrices.ads, Revision 1.1.1.1
1.1 maekawa 1: with Standard_Integer_Matrices;
2: with Standard_Floating_Matrices;
3: with Standard_Complex_Matrices;
4:
5: package Standard_Random_Matrices is
6:
7: -- DESCRIPTION :
8: -- Offers routines to generate random standard integer, floating and
9: -- complex matrices.
10:
11: function Random_Matrix ( n,m : natural; low,upp : integer )
12: return Standard_Integer_Matrices.Matrix;
13:
14: -- DESCRIPTION :
15: -- Returns a matrix of range 1..n,1..m with entries between low and upp.
16:
17: function Random_Matrix ( n,m : natural )
18: return Standard_Floating_Matrices.Matrix;
19:
20: -- DESCRIPTION :
21: -- Returns a matrix of range 1..n,1..m with random floating numbers.
22:
23: function Orthogonalize ( mat : Standard_Floating_Matrices.Matrix )
24: return Standard_Floating_Matrices.Matrix;
25:
26: -- DESCRIPTION :
27: -- Returns the orthogonal matrix with the same column span as mat.
28:
29: function Random_Orthogonal_Matrix
30: ( n,m : natural ) return Standard_Floating_Matrices.Matrix;
31:
32: -- DESCRIPTION :
33: -- Returns a matrix of range 1..n,1..m with random floating numbers,
34: -- where the columns are orthogonal w.r.t. each other.
35:
36: function Random_Matrix ( n,m : natural )
37: return Standard_Complex_Matrices.Matrix;
38:
39: -- DESCRIPTION :
40: -- Returns a matrix of range 1..n,1..m with random complex numbers.
41:
42: function Orthogonalize ( mat : Standard_Complex_Matrices.Matrix )
43: return Standard_Complex_Matrices.Matrix;
44:
45: -- DESCRIPTION :
46: -- Returns the orthogonal matrix with the same column span as mat.
47:
48: function Random_Orthogonal_Matrix
49: ( n,m : natural ) return Standard_Complex_Matrices.Matrix;
50:
51: -- DESCRIPTION :
52: -- Returns a matrix of range 1..n,1..m with random complex numbers,
53: -- where the columns are orthogonal w.r.t. each other.
54:
55: end Standard_Random_Matrices;
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>