Home Online Manual
Top
Back: squareRoot
Forward: powerX
FastBack:
FastForward:
Up: crypto_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.3.12 solutionsMod2

Procedure from library crypto.lib (see crypto_lib).

Usage:
solutionsMod2(M);

Return:
an intmat containing a basis of the vector space of solutions of the linear system of equations defined by M over the prime field of characteristic 2

Example:
 
LIB "crypto.lib";
bigintmat M[3][3]=1,2,3,4,5,6,7,6,5;
solutionsMod2(M);
==> 1,0,1