Skip to content

2023.2.0

Compare
Choose a tag to compare
@eriknw eriknw released this 27 Feb 12:13
· 87 commits to main since this release
7be68cf

Expired deprecations

  • Remove deprecated Matrix.new, Vector.new, and Scalar.new constructors (#380)
    • Use e.g Matrix(...) and Vector(...) instead
  • Remove deprecated require_monoid= argument in ewise_add (#377)
  • Remove deprecated io.from_scipy_sparse_matrix and io.to_scipy_sparse_matrix (#393)
    • Use e.g. io.from_scipy_sparse instead

Deprecations

  • Deprecate io.from_numpy and io.to_numpy (#382)
    • Use e.g. the new methods Vector.from_dense and Matrix.to_dense instead
    • Wil be removed in version 2023.10.0 or later

Enhancements

  • Add from_dense and to_dense methods to Vector and Matrix to convert between NumPy arrays (#382)
  • Add from_scalar to Vector and Matrix to create fully dense objects from a scalar (#382)
  • Improve inferring sub-array dtypes when constructing objects (#381)
  • .wait now returns self so it can be used with method-chaining (#379)
  • Add op.is_idempotent property to Monoids that means op(x, x) == x (#388)
  • Support complex dtypes on Windows (#394, #395)
  • io.to_pydata_sparse(v) now returns 1d sparse array for Vector inputs (#395)