Annotation of OpenXM_contrib/PHC/Ada/Math_Lib/Matrices/generic_vecvecs.ads, Revision 1.1
1.1 ! maekawa 1: with Abstract_Ring,Generic_Vectors;
! 2:
! 3: generic
! 4:
! 5: with package Ring is new Abstract_Ring(<>);
! 6: with package Vectors is new Generic_Vectors(Ring);
! 7:
! 8: package Generic_VecVecs is
! 9:
! 10: use Vectors;
! 11:
! 12: type VecVec is array ( integer range <> ) of Link_to_Vector;
! 13: type Link_to_VecVec is access VecVec;
! 14:
! 15: procedure Clear ( v : in out VecVec );
! 16: procedure Shallow_Clear ( v : in out Link_to_VecVec );
! 17: procedure Deep_Clear ( v : in out Link_to_VecVec );
! 18:
! 19: -- DESCRIPTION :
! 20: -- A shallow clear on deallocates the pointers, whereas a deep clear
! 21: -- also releases the content. By default a clear is always deep.
! 22:
! 23: end Generic_VecVecs;
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>