Basic Examples (2)
Basic Examples
(2)
Find the modulo-2 null space of a simple matrix:
In[223]:=
Out[223]=
{4}
———
Create a random matrix of bit vectors:
In[225]:=
SeedRandom[1111];nrows=7;ncols=9;mat=RandomInteger[{0,1},{nrows,ncols}];bitvecs=Map[FromDigits[#,2]&,mat]
Out[229]=
{39,425,395,375,251,102,115}
Find the 0-1 null vectors mod 2, represented as integers:
In[230]:=
nullvecs=[bitvecs,ncols]
Out[230]=
{325,136}
Scope (2)
Scope
(2)
Properties and Relations (2)
Properties and Relations
(2)