aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reword docstringsNao Pross2024-03-032-3/+3
|
* Improve algebra.binary_operator decoratorNao Pross2024-03-031-22/+42
|
* Add TODO & Warning for bug in Expr.replaceNao Pross2024-03-032-0/+11
|
* Make State.from_index accept PolyVarIndex indicesNao Pross2024-03-032-2/+7
|
* Update README, switch to reStructuredTextNao Pross2024-03-032-57/+64
|
* Extend Expr.replace() to work with any expressionNao Pross2024-03-031-11/+14
|
* Add method Expr.replace() to replace leavesNao Pross2024-03-031-1/+42
|
* Rename Repr.nodes() to Repr.children()Nao Pross2024-03-032-2/+2
| | | | This is to avoid confusing code like node.nodes()
* Fix typo in method nameNao Pross2024-03-031-1/+2
|
* Add docstrings to util.isclose and util.iszeroNao Pross2024-03-031-1/+12
|
* Fix numerical precision handlingNao Pross2024-03-033-6/+17
|
* Implement partial derivativeNao Pross2024-03-033-6/+69
|
* Disallow indexing of non-variables in stateNao Pross2024-03-031-0/+4
|
* Setup Sphinx documentation generatorNao Pross2024-03-0310-1/+409
|
* Improve docstringsNao Pross2024-03-039-128/+135
|
* Update READMENao Pross2024-03-031-4/+48
|
* Implement HasRepr for Param and fix repr of ConstNao Pross2024-03-032-4/+17
|
* Fix State.from_index crash when trying to get constant termNao Pross2024-03-031-2/+6
|
* Fix PolyIndex.is_constantNao Pross2024-03-031-2/+1
|
* Add representation of basic algebraic operationsNao Pross2024-03-032-16/+115
| | | | | | Implements Add, Multiply, Subtract, Divide and Exponentiate. Some are implemented directly, others as "reducible" i.e. in term of the others.
* Add Repr.is_zero to check if value is smallNao Pross2024-03-031-0/+5
|
* Add total ordering to PolyVarIndex and PolyIndex.product to compute index of ↵Nao Pross2024-03-031-4/+61
| | | | products
* Fix subtle bug in PolyIndex and improve docstringsNao Pross2024-03-021-6/+14
|
* Make state.State a dataclassNao Pross2024-03-021-4/+9
| | | | Also, the members were (incorrectly) not instance variables
* Remove IndexError (already exists in standard library)Nao Pross2024-03-021-6/+0
|
* Fix bug with PolyIndex and Variable.to_reprNao Pross2024-03-022-4/+4
|
* Implement missing abstract method Sparse.set_zeroNao Pross2024-03-021-0/+6
|
* Rename Repr.zero_smaller_than to Repr.zero_out_smallNao Pross2024-03-021-1/+2
|
* Add Expr.node to ease iteration expression tree node childrenNao Pross2024-03-021-0/+3
|
* Rewrite state type annotations to avoid circular importNao Pross2024-03-021-11/+12
|
* Fix bug in SparseRepr.termsNao Pross2024-03-021-2/+2
|
* Export State class to APINao Pross2024-03-021-3/+14
|
* Add constants file and introduce EPS for numerical precisionNao Pross2024-03-022-0/+12
|
* Add shorthands to index classes and make leaves representableNao Pross2024-03-022-9/+72
|
* Add missing dependenciesNao Pross2024-03-022-2/+2135
|
* Improve docstring of index typesNao Pross2024-03-021-4/+22
|
* Import existing code into version controlNao Pross2024-03-028-0/+638
|
* Create empty python projectNao Pross2024-03-024-0/+284