// -*- C++ -*- // automatically generated by autodoc // ========== HEADER FILE src/bmat/bitmat-funcs.h: ========== // ----- SRCFILE=src/bmat/bitmat-mult-mm.cc: ----- void bitmat_mult_MM(const ulong *M1, const ulong *M2, ulong n, ulong *P); // Multiply binary (n x n) matrices: P = M1 * M2. // ----- SRCFILE=src/bmat/bitmat-transpose.cc: ----- void bitmat_transpose(const ulong *M, ulong n, ulong *T); // Transpose binary (n x n) matrix M: T = transpose(M). // ----- SRCFILE=src/bmat/bitmat-nullspace.cc: ----- ulong bitmat_nullspace(const ulong *M, ulong n, ulong *Ns); // Write basis of nullspace of M to Ns. // M is a binary (n x n) matrix (elements over GF(2)). // Return r, the number of vectors of the nullspace. // 0<=r<=n (r==n only for M==0) // rank(M) = n-r ulong bitmat_test_nullspace(const ulong *M, ulong n, const ulong *Ns, ulong r); // (print and) check nullspace as returned by bitmat_nullspace() // Return k