[BACK]Return to standard_floating_two_norms.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_floating_two_norms.ads, Revision 1.1

1.1     ! maekawa     1: with Standard_Floating_Numbers;          use Standard_Floating_Numbers;
        !             2: with Standard_Floating_Vectors;          use Standard_Floating_Vectors;
        !             3: with Standard_Floating_VecVecs;          use Standard_Floating_VecVecs;
        !             4:
        !             5: package Standard_Floating_Two_Norms is
        !             6:
        !             7: -- DESCRIPTION :
        !             8: --   Provides implementation of 2-norm of standard-floating point vectors.
        !             9:
        !            10:   function Norm2 ( v : Vector ) return double_float;
        !            11:
        !            12:   -- DESCRIPTION :
        !            13:   --   Returns the 2-norm of the vector.
        !            14:
        !            15:   procedure Normalize ( v : in out Vector );
        !            16:
        !            17:   -- DESCRIPTION :
        !            18:   --   Divides every component of v by the 2-norm of v.
        !            19:
        !            20:   procedure Normalize ( v : in out VecVec );
        !            21:
        !            22:   -- DESCRIPTION :
        !            23:   --   Normalizes every vector in v.
        !            24:
        !            25: end Standard_Floating_Two_Norms;

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