Return to standard_random_matrices.ads CVS log | Up to [local] / OpenXM_contrib / PHC / Ada / Math_Lib / Matrices |
File: [local] / OpenXM_contrib / PHC / Ada / Math_Lib / Matrices / standard_random_matrices.ads (download)
Revision 1.1.1.1 (vendor branch), Sun Oct 29 17:45:24 2000 UTC (23 years, 9 months ago) by maekawa
Import the second public release of PHCpack. OKed by Jan Verschelde. |
with Standard_Integer_Matrices; with Standard_Floating_Matrices; with Standard_Complex_Matrices; package Standard_Random_Matrices is -- DESCRIPTION : -- Offers routines to generate random standard integer, floating and -- complex matrices. function Random_Matrix ( n,m : natural; low,upp : integer ) return Standard_Integer_Matrices.Matrix; -- DESCRIPTION : -- Returns a matrix of range 1..n,1..m with entries between low and upp. function Random_Matrix ( n,m : natural ) return Standard_Floating_Matrices.Matrix; -- DESCRIPTION : -- Returns a matrix of range 1..n,1..m with random floating numbers. function Orthogonalize ( mat : Standard_Floating_Matrices.Matrix ) return Standard_Floating_Matrices.Matrix; -- DESCRIPTION : -- Returns the orthogonal matrix with the same column span as mat. function Random_Orthogonal_Matrix ( n,m : natural ) return Standard_Floating_Matrices.Matrix; -- DESCRIPTION : -- Returns a matrix of range 1..n,1..m with random floating numbers, -- where the columns are orthogonal w.r.t. each other. function Random_Matrix ( n,m : natural ) return Standard_Complex_Matrices.Matrix; -- DESCRIPTION : -- Returns a matrix of range 1..n,1..m with random complex numbers. function Orthogonalize ( mat : Standard_Complex_Matrices.Matrix ) return Standard_Complex_Matrices.Matrix; -- DESCRIPTION : -- Returns the orthogonal matrix with the same column span as mat. function Random_Orthogonal_Matrix ( n,m : natural ) return Standard_Complex_Matrices.Matrix; -- DESCRIPTION : -- Returns a matrix of range 1..n,1..m with random complex numbers, -- where the columns are orthogonal w.r.t. each other. end Standard_Random_Matrices;