M4RI  1.0.1
io.h
Go to the documentation of this file.
00001 
00008 #ifndef M4RI_IO_H
00009 #define M4RI_IO_H
00010 
00011 /*******************************************************************
00012 *
00013 *                M4RI: Linear Algebra over GF(2)
00014 *
00015 *    Copyright (C) 2011 Martin Albrecht <martinralbrecht@googlemail.com>
00016 *
00017 *  Distributed under the terms of the GNU General Public License (GPL)
00018 *  version 2 or higher.
00019 *
00020 *    This code is distributed in the hope that it will be useful,
00021 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00022 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023 *    General Public License for more details.
00024 *
00025 *  The full text of the GPL is available at:
00026 *
00027 *                  http://www.gnu.org/licenses/
00028 *
00029 ********************************************************************/
00030 
00031 #include "m4ri_config.h"
00032 #include "mzd.h"
00033 
00042 void mzd_print(mzd_t const *M);
00043 
00053 void mzd_info(const mzd_t *A, int do_rank);
00054 
00055 #if __M4RI_HAVE_LIBPNG
00056 
00067 mzd_t * mzd_from_png(const char *fn, int verbose);
00068 
00093 int mzd_to_png(const mzd_t *A, const char *fn, int compression_level, const char *comment, int verbose);
00094 
00095 #endif //__M4RI_HAVE_LIBPNG
00096 
00097 
00114 mzd_t *mzd_from_jcf(const char *fn, int verbose);
00115 
00116 #endif //M4RI_IO_H