开发者

Programming Library for Matrices over GF [closed]

Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

开发者_开发技巧

Closed 5 years ago.

Improve this question

I am looking for a Library in Java or C for doing matrix operations (mainly RANK) over certain Finite Field (GF).

I used Jama, but it has no Finite Field Functionality.

any help appreciated.


C

The best thing I would recommend to you is to use NTL library.

You will be probably interested in classes:

  • mat_GF2: matrices over GF(2); includes basic matrix arithmetic operations, including determinant calculation, matrix inversion, solving nonsingular systems of linear equations, and Gaussian elimination

  • mat_GF2E: matrices over GF2E; includes basic matrix arithmetic operations, including determinant calculation, matrix inversion, solving nonsingular systems of linear equations, and Gaussian elimination

It also supports rank operation you mentioned.

For more modules/classes please refer to the documentation.

JAVA

currently I am using BouncyCastle library that has some basic support for GF2, GF2^n matrices. Personally I am using source code of BouncyCastle library extending it on my own for desired features. A few useful methods are private/protected.

Please refer to JavaDoc for more information.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜