M4RI  1.0.1
io.h
Go to the documentation of this file.
1 
8 #ifndef M4RI_IO_H
9 #define M4RI_IO_H
10 
11 /*******************************************************************
12 *
13 * M4RI: Linear Algebra over GF(2)
14 *
15 * Copyright (C) 2011 Martin Albrecht <martinralbrecht@googlemail.com>
16 *
17 * Distributed under the terms of the GNU General Public License (GPL)
18 * version 2 or higher.
19 *
20 * This code is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * General Public License for more details.
24 *
25 * The full text of the GPL is available at:
26 *
27 * http://www.gnu.org/licenses/
28 *
29 ********************************************************************/
30 
31 #include <m4ri/m4ri_config.h>
32 #include <m4ri/mzd.h>
33 
42 void mzd_print(mzd_t const *M);
43 
53 void mzd_info(const mzd_t *A, int do_rank);
54 
55 #if __M4RI_HAVE_LIBPNG
56 
67 mzd_t * mzd_from_png(const char *fn, int verbose);
68 
93 int mzd_to_png(const mzd_t *A, const char *fn, int compression_level, const char *comment, int verbose);
94 
95 #endif //__M4RI_HAVE_LIBPNG
96 
97 
135 mzd_t *mzd_from_jcf(const char *fn, int verbose);
136 
137 #endif //M4RI_IO_H