Skip to content

v1.3.3

Choose a tag to compare

@eriknw eriknw released this 29 Jan 21:56
· 650 commits to main since this release
3f04889
  • Update to SuiteSparse 4.0.3 (new unary and binary ops, etc.)
  • Added Windows support (without complex dtypes)
  • Use NumPy's malloc/free, so Python knows memory usage of GraphBLAS objects
  • Many improvements to import and export with SuiteSparse
    • Renamed fast_export to export and fast_import to import_any
    • Added other import methods such as Matrix.ss.import_csr
    • support zero-copy import and export if possible (user must opt in)
    • formats: csr, csc, hypercsr, hypercsc, bitmapr, bitmapc, fullr, fullc
  • Matrix and Vector
    • allow contains expressions
      • 1 in v, True if there is a value at v[1]
      • (1, 2) in A, True if there is a value at A[1, 2]
    • iteration
      • Yields the indices of the structure
    • Add .wait() method
    • Add format attribute as e.g. my_matrix.ss.format
      • One of "csr", "hypercsc", "bitmapr", etc
  • Scalar
    • Add .shape attribute (like Vector and Matrix, and like numpy scalars)
    • Able to cast to float and int
    • Allow things like __eq__ where .value is or computes a scalar
  • Don't allow __eq__ or __bool__ where they don't make sense