PythonOptimizers / cysparse

Python/Cython library to replace PySparse
http://PythonOptimizers.github.io/cysparse
7 stars 3 forks source link

Create internal tests for matrices #204

Open ghost opened 9 years ago

ghost commented 9 years ago

Now that we use tricks to construct matrices, let's add some internal tests to see if matrices are well constructed.

ghost commented 9 years ago

I've defined an is_well_constructed() method that can raise an exception or not if a matrix is ill-formed. Only done for CSCSparseMatrix.