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