#matrix #comparison #linear #algebra #assertions

matrixcompare

Tools for convenient comparison of matrices

6 releases

new 0.2.0 Jan 13, 2021
0.1.4 Jan 13, 2021
0.1.3 Jul 17, 2020
0.1.2 Jun 29, 2020

#60 in Science

Download history 35/week @ 2020-09-25 16/week @ 2020-10-02 56/week @ 2020-10-09 16/week @ 2020-10-16 92/week @ 2020-10-23 13/week @ 2020-10-30 33/week @ 2020-11-06 48/week @ 2020-11-13 26/week @ 2020-11-20 27/week @ 2020-11-27 10/week @ 2020-12-04 19/week @ 2020-12-11 42/week @ 2020-12-18 12/week @ 2020-12-25 21/week @ 2021-01-01 40/week @ 2021-01-08

125 downloads per month
Used in nalgebra

MIT license

66KB
1K SLoC

matrixcompare

"CI badge"

matrixcompare is a utility library for comparing matrices (dense or sparse) for testing/debugging purposes. To that effect, it provides functions and assertions for comparing matrices with exact or approximate equality. The metric used for approximate equality is configurable and packaged into a convenient API. matrixcompare does not provide any matrices of its own, but is instead intended to be integrated into libraries that provide these kind of data structures.

Please see the documentation for more information, or the changelog for a list of changes in recent releases.

Contributing

Contributions are welcome! For any larger contribution, it is however advisable to write up your ideas in an issue before you commence work. This is particularly true for contributions which would significantly increase the scope of the project.

License

matrixcompare is licensed under the MIT license. See the LICENSE file in the repository for the exact license.

Dependencies

~97–440KB