Return to standard_complex_poly_randomizers.ads CVS log | Up to [local] / OpenXM_contrib / PHC / Ada / Math_Lib / Polynomials |
File: [local] / OpenXM_contrib / PHC / Ada / Math_Lib / Polynomials / standard_complex_poly_randomizers.ads (download)
Revision 1.1.1.1 (vendor branch), Sun Oct 29 17:45:27 2000 UTC (23 years, 10 months ago) by maekawa
Import the second public release of PHCpack. OKed by Jan Verschelde. |
with Standard_Complex_Polynomials; use Standard_Complex_Polynomials; with Standard_Complex_Poly_Systems; use Standard_Complex_Poly_Systems; package Standard_Complex_Poly_Randomizers is -- DESCRIPTION : -- This package offers routines for randomizing and perturbing -- the coefficients of polynomials. -- Except for the last three functions, the monomial structure -- remains the same, only random (real or complex) coefficients -- will replace the existing ones. function Complex_Randomize ( p : Poly ) return Poly; function Complex_Randomize ( p : Poly_Sys ) return Poly_Sys; -- DESCRIPTION : -- The real and imaginary part of the randomly generated -- coefficients are in [-1.0,1.0] function Complex_Randomize1 ( p : Poly ) return Poly; function Complex_Randomize1 ( p : Poly_Sys ) return Poly_Sys; -- DESCRIPTION : -- Generates random complex coefficients with modulus one. end Standard_Complex_Poly_Randomizers;