M4RI  20140914
mp.h
Go to the documentation of this file.
1 
9 #ifndef M4RI_MP_H
10 #define M4RI_MP_H
11 
12 /*******************************************************************
13 *
14 * M4RI: Linear Algebra over GF(2)
15 *
16 * Copyright (C) 2014 Martin Albrecht <martinralbrecht@googlemail.com>
17 *
18 * Distributed under the terms of the GNU General Public License (GPL)
19 * version 2 or higher.
20 *
21 * This code is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24 * General Public License for more details.
25 *
26 * The full text of the GPL is available at:
27 *
28 * http://www.gnu.org/licenses/
29 *
30 ********************************************************************/
31 
32 #include <m4ri/mzd.h>
33 
47 mzd_t *mzd_mul_mp(mzd_t *C, mzd_t const *A, mzd_t const *B, int cutoff);
48 
62 mzd_t *mzd_addmul_mp(mzd_t *C, mzd_t const *A, mzd_t const *B, int cutoff);
63 
64 
75 mzd_t *_mzd_addmul_mp4(mzd_t *C, mzd_t const *A, mzd_t const *B, int cutoff);
76 
87 mzd_t *_mzd_mul_mp4(mzd_t *C, mzd_t const *A, mzd_t const *B, int cutoff);
88 
89 #endif //__M4RI_HAVE_OPENMP
mzd_t * mzd_mul_mp(mzd_t *C, mzd_t const *A, mzd_t const *B, int cutoff)
Matrix multiplication via the cubic multiplication algorithm on multiple cores, i.e. compute C = AB.
Dense matrices over GF(2).
Definition: mzd.h:86
mzd_t * mzd_addmul_mp(mzd_t *C, mzd_t const *A, mzd_t const *B, int cutoff)
Matrix multiplication and in-place addition via the cubic matrix multiplication algorithm on multiple...
mzd_t * _mzd_mul_mp4(mzd_t *C, mzd_t const *A, mzd_t const *B, int cutoff)
Matrix multiplication via cubic matrix multiplication algorithm on up to four cores, i.e. compute C = C+ AB.
mzd_t * _mzd_addmul_mp4(mzd_t *C, mzd_t const *A, mzd_t const *B, int cutoff)
Matrix multiplication and in-place addition via cubic matrix multiplication algorithm on up to four c...