Using Math.Net for Discrete 0-1 Matrix over F2


#1

I am interested in using Math.Net to solve discrete 0-1 matrices over F2.

For example, I have the following matrix:

A = { { 1, 1, 0, 1, 0, 0, 0, 0, 0 },
{ 1, 1, 1, 0, 1, 0, 0, 0, 0 },
{ 0, 1, 1, 0, 0, 1, 0, 0, 0 },
{ 1, 0, 0, 1, 1, 0, 1, 0, 0 },
{ 0, 1, 0, 1, 1, 1, 0, 1, 0 },
{ 0, 0, 1, 0, 1, 1, 0, 0, 1 },
{ 0, 0, 0, 1, 0, 0, 1, 1, 0 },
{ 0, 0, 0, 0, 1, 0, 1, 1, 1 },
{ 0, 0, 0, 0, 0, 1, 0, 1, 1 } };

and the following vector:

b = { 0, 1, 0, 1, 1, 0, 0, 1, 1 }

for which I would like to obtain the following solution:

x = { 1, 1, 1, 0, 0, 0, 0, 0, 1 }

But obviously for an arbitrary b. Does MathNet offer anything that would help with this problem? I have played around with the library, but cannot get it working for anything besides doubles.


(Christoph Rüegg) #2

Unfortunately Math.NET Numerics does not support matrices or vectors over finite fields yet.