Return to generic_vecmats.ads CVS log | Up to [local] / OpenXM_contrib / PHC / Ada / Math_Lib / Matrices |
File: [local] / OpenXM_contrib / PHC / Ada / Math_Lib / Matrices / generic_vecmats.ads (download)
Revision 1.1.1.1 (vendor branch), Sun Oct 29 17:45:24 2000 UTC (23 years, 9 months ago) by maekawa
Import the second public release of PHCpack. OKed by Jan Verschelde. |
with Abstract_Ring; with Generic_Vectors,Generic_Matrices; generic with package Ring is new Abstract_Ring(<>); with package Vectors is new Generic_Vectors(Ring); with package Matrices is new Generic_Matrices(Ring,Vectors); package Generic_VecMats is use Matrices; type VecMat is array ( integer range <> ) of Link_to_Matrix; type Link_to_VecMat is access VecMat; procedure Clear ( v : in out VecMat ); procedure Shallow_Clear ( v : in out Link_to_VecMat ); procedure Deep_Clear ( v : in out Link_to_VecMat ); -- DESCRIPTION : -- A shallow clear on deallocates the pointers, whereas a deep clear -- also releases the content. By default a clear is always deep. end Generic_VecMats;