Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rename Repr.nodes() to Repr.children() | Nao Pross | 2024-03-03 | 2 | -2/+2 | |
| | | | | This is to avoid confusing code like node.nodes() | |||||
* | Fix typo in method name | Nao Pross | 2024-03-03 | 1 | -1/+2 | |
| | ||||||
* | Add docstrings to util.isclose and util.iszero | Nao Pross | 2024-03-03 | 1 | -1/+12 | |
| | ||||||
* | Fix numerical precision handling | Nao Pross | 2024-03-03 | 3 | -6/+17 | |
| | ||||||
* | Implement partial derivative | Nao Pross | 2024-03-03 | 3 | -6/+69 | |
| | ||||||
* | Disallow indexing of non-variables in state | Nao Pross | 2024-03-03 | 1 | -0/+4 | |
| | ||||||
* | Setup Sphinx documentation generator | Nao Pross | 2024-03-03 | 10 | -1/+409 | |
| | ||||||
* | Improve docstrings | Nao Pross | 2024-03-03 | 9 | -128/+135 | |
| | ||||||
* | Update README | Nao Pross | 2024-03-03 | 1 | -4/+48 | |
| | ||||||
* | Implement HasRepr for Param and fix repr of Const | Nao Pross | 2024-03-03 | 2 | -4/+17 | |
| | ||||||
* | Fix State.from_index crash when trying to get constant term | Nao Pross | 2024-03-03 | 1 | -2/+6 | |
| | ||||||
* | Fix PolyIndex.is_constant | Nao Pross | 2024-03-03 | 1 | -2/+1 | |
| | ||||||
* | Add representation of basic algebraic operations | Nao Pross | 2024-03-03 | 2 | -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 small | Nao Pross | 2024-03-03 | 1 | -0/+5 | |
| | ||||||
* | Add total ordering to PolyVarIndex and PolyIndex.product to compute index of ↵ | Nao Pross | 2024-03-03 | 1 | -4/+61 | |
| | | | | products | |||||
* | Fix subtle bug in PolyIndex and improve docstrings | Nao Pross | 2024-03-02 | 1 | -6/+14 | |
| | ||||||
* | Make state.State a dataclass | Nao Pross | 2024-03-02 | 1 | -4/+9 | |
| | | | | Also, the members were (incorrectly) not instance variables | |||||
* | Remove IndexError (already exists in standard library) | Nao Pross | 2024-03-02 | 1 | -6/+0 | |
| | ||||||
* | Fix bug with PolyIndex and Variable.to_repr | Nao Pross | 2024-03-02 | 2 | -4/+4 | |
| | ||||||
* | Implement missing abstract method Sparse.set_zero | Nao Pross | 2024-03-02 | 1 | -0/+6 | |
| | ||||||
* | Rename Repr.zero_smaller_than to Repr.zero_out_small | Nao Pross | 2024-03-02 | 1 | -1/+2 | |
| | ||||||
* | Add Expr.node to ease iteration expression tree node children | Nao Pross | 2024-03-02 | 1 | -0/+3 | |
| | ||||||
* | Rewrite state type annotations to avoid circular import | Nao Pross | 2024-03-02 | 1 | -11/+12 | |
| | ||||||
* | Fix bug in SparseRepr.terms | Nao Pross | 2024-03-02 | 1 | -2/+2 | |
| | ||||||
* | Export State class to API | Nao Pross | 2024-03-02 | 1 | -3/+14 | |
| | ||||||
* | Add constants file and introduce EPS for numerical precision | Nao Pross | 2024-03-02 | 2 | -0/+12 | |
| | ||||||
* | Add shorthands to index classes and make leaves representable | Nao Pross | 2024-03-02 | 2 | -9/+72 | |
| | ||||||
* | Add missing dependencies | Nao Pross | 2024-03-02 | 2 | -2/+2135 | |
| | ||||||
* | Improve docstring of index types | Nao Pross | 2024-03-02 | 1 | -4/+22 | |
| | ||||||
* | Import existing code into version control | Nao Pross | 2024-03-02 | 8 | -0/+638 | |
| | ||||||
* | Create empty python project | Nao Pross | 2024-03-02 | 4 | -0/+284 | |