1 // Copyright (c) 1997-2006 John Abbott 2 3 // This file is part of the source of CoCoALib, the CoCoA Library. 4 5 // CoCoALib is free software: you can redistribute it and/or modify 6 // it under the terms of the GNU General Public License as published by 7 // the Free Software Foundation, either version 3 of the License, or 8 // (at your option) any later version. 9 10 // CoCoALib is distributed in the hope that it will be useful, 11 // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 // GNU General Public License for more details. 14 15 // You should have received a copy of the GNU General Public License 16 // along with CoCoALib. If not, see <http://www.gnu.org/licenses/>. 17 18 #ifndef Zmat_type_h 19 #define Zmat_type_h 20 21 #include "gmp.h" 22 23 struct Zmat_struct 24 { 25 mpz_t **entry; 26 int nrows; 27 int ncols; 28 }; 29 30 typedef struct Zmat_struct *Zmat; 31 32 #endif 33