Recent Releases of symnum
symnum - v0.2.1
What's Changed
- Add Zenodo DOI by @matt-graham in https://github.com/matt-graham/symnum/pull/11
- Fix derivatives of constant functions by @matt-graham in https://github.com/matt-graham/symnum/pull/12
- Support for Python 3.9 dropped
Full Changelog: https://github.com/matt-graham/symnum/compare/v0.2.0...v0.2.1
- Python
Published by matt-graham over 1 year ago
symnum - v0.2.0
Major release.
Breaking changes
symnum.array.SymbolicArrayno longer subclassessympy.tensor.array.dense_ndim_array.ImmutableDenseNDimArray, instead wrapping an instance of this class and delegating some methods. Only a subset of previously inherited methods are now exposed.symnum.codegen.FunctionExpressionno longer subclassessympy.core.expr.Exprwith updated handling no longer requiring this, and this avoiding exposing inherited methods which do not perform as expected for instances of class.symnum.numpy.arrayfunction now returns original array when passed a NumPy array of non-object datatype.synnum.array.ScalarLikenow includes boolean types (in-built plus SymPy)symnum.array.slice_iteratorno longer publicly exposed as part of API.
Bug fixes and enhancements
- Handling of zero-dimensional
SymbolicArrayinstances improved, with several corner cases in methods previously causing errors fixed. - Deprecated imports of generic types from
collectionsinstead ofcollections.abcfixed allowing usage with Python 3.10+. - Use of deprecated
numpy.objectdatatype replaced with in-builtobject, allowing usage with NumPy 1.24+. - Type hints added to all publicly exposed functions and methods.
- Unit tests added for
symnum.numpyandsymnum.arraymodules. symnum.numpy.concatenatenow handlesaxis=Nonecase equivalently to NumPy.
Packaging and documentation improvement
- API documentation now built using Sphinx.
- Project metadata now stored in
pyproject.tomlfile withsetup.pyscript removed.
- Python
Published by matt-graham over 2 years ago