Annotation of OpenXM_contrib/PHC/Ada/Math_Lib/Numbers/standard_complex_numbers_polar.ads, Revision 1.1
1.1 ! maekawa 1: with Standard_Floating_Numbers; use Standard_Floating_Numbers;
! 2: with Standard_Complex_Numbers; use Standard_Complex_Numbers;
! 3:
! 4: package Standard_Complex_Numbers_Polar is
! 5:
! 6: -- DESCRIPTION :
! 7: -- Offers a polar view on the standard complex numbers.
! 8:
! 9: function Radius ( c : Complex_Number ) return double_float;
! 10:
! 11: -- DESCRIPTION :
! 12: -- Returns the radius of the complex number.
! 13:
! 14: function Angle ( c : Complex_Number ) return double_float;
! 15:
! 16: -- DESCRIPTION :
! 17: -- Returns the angle of the complex number.
! 18:
! 19: function Root ( c : Complex_Number; n,i : natural ) return Complex_Number;
! 20:
! 21: -- DESCRIPTION :
! 22: -- Returns the ith root of the equation x^n - c = 0.
! 23:
! 24: end Standard_Complex_Numbers_Polar;
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>