Quantcast
Channel: Math.NET Numerics - Math.NET
Viewing all articles
Browse latest Browse all 224

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

$
0
0

@Scitosol wrote:

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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 224

Trending Articles