[BACK]Return to standard_complex_norms_equals.ads CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / PHC / Ada / Math_Lib / Matrices

Annotation of OpenXM_contrib/PHC/Ada/Math_Lib/Matrices/standard_complex_norms_equals.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: with Standard_Complex_Vectors;           use Standard_Complex_Vectors;
        !             4: with Standard_Complex_Matrices;          use Standard_Complex_Matrices;
        !             5:
        !             6: package Standard_Complex_Norms_Equals is
        !             7:
        !             8: -- DESCRIPTION :
        !             9: --   Provides norms of vectors and decision routines for equalities,
        !            10: --   for standard complex numbers.
        !            11:
        !            12:   function Max_Norm ( v : Vector ) return double_float;
        !            13:
        !            14:   -- DESCRIPTION :
        !            15:   --   Returns the absolute value of the greatest element in v.
        !            16:
        !            17:   function Sum_Norm ( v : Vector ) return double_float;
        !            18:
        !            19:   -- DESCRIPTION :
        !            20:   --   Returns the sum of all absolute values of the elements in v.
        !            21:
        !            22:   function Max_Norm ( m : Matrix ) return double_float;
        !            23:
        !            24:   -- DESCRIPTION :
        !            25:   --   Returns the absolute value of the maximal element of m.
        !            26:
        !            27:   function Equal ( x,y : Complex_Number; tol : double_float ) return boolean;
        !            28:
        !            29:   -- DESCRIPTION :
        !            30:   --   Returns true if abs(x-y) < tol, otherwise false is returned.
        !            31:
        !            32:   function Equal ( x,y : Vector; tol : double_float ) return boolean;
        !            33:
        !            34:   -- DESCRIPTION :
        !            35:   --   Returns true if Equal(x(i),y(i),tol), for i in x'range=y'range,
        !            36:   --   otherwise false is returned.
        !            37:
        !            38:   -- REQUIRED : x'range = y'range.
        !            39:
        !            40: end Standard_Complex_Norms_Equals;

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>