summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove abstractmethod decorator from PolyMatrix.get_polyNao Pross2024-05-041-1/+0
| | | | it is now implemented in terms of PolyMatrix.at
* Fix regression in polymatrix.to_sympyNao Pross2024-05-041-3/+4
|
* Remove useless castNao Pross2024-05-041-1/+1
|
* Fix v_stack, add __str__ representation to some operation mixinsNao Pross2024-05-046-7/+45
|
* Reintroduce PolyMatrixDict.__getitem__ to make the typechecker shut upNao Pross2024-05-041-0/+3
|
* Fix AdditionExprMixinNao Pross2024-05-041-36/+13
|
* Fix Expression._binary, avoid creating unnecessary nodesNao Pross2024-05-041-13/+7
|
* Fix polymatrix.to_sympy()Nao Pross2024-05-041-53/+30
| | | | Was broken since commit 6afed93a20a3fb701d55217fc82817a5850a22c4
* Rename member VariableIndex.variable to VariableIndex.indexNao Pross2024-05-041-2/+2
|
* Remove expression dependency in expressionstateNao Pross2024-05-041-8/+2
|
* Remove __hash__ dunder hack, the user has to manually unwrapNao Pross2024-05-031-3/+3
|
* Fix incorrect implementation of VariableExpressionNao Pross2024-05-025-32/+74
|
* Delete DeterminantExpr, DivisionExpr, ToQuadraticExprNao Pross2024-05-016-371/+1
|
* Replace VariableMixin with Variable & VariableExpressionNao Pross2024-05-0110-82/+92
|
* Minor changes to PolyMatrixAsAffineExpressionNao Pross2024-05-011-4/+17
|
* Simplify index for constantsNao Pross2024-05-011-29/+5
|
* Improve conversion to new index types in init_polymatrixNao Pross2024-05-011-4/+22
| | | | This is here for backwards compatibility
* Make IndexRange for ExpresssionState sortable by start valueNao Pross2024-04-291-0/+3
|
* Remove debug printNao Pross2024-04-291-1/+0
|
* Fix bug in ExpressionState.indexNao Pross2024-04-291-3/+11
| | | | | | | | | | | | | If we do x = polymatrix.from_names("x") state = polymatrix.make_state() state, idx = state.index(x) There is problem because the state index should be a dictionary with keys of type VariableMixin, but x is of type Expression, so we need to take its underlying
* Fix circular imports caused by type annotationsNao Pross2024-04-2954-82/+327
|
* Add minor commentsNao Pross2024-04-292-1/+3
|
* Add sphinx documentation generatorNao Pross2024-04-296-0/+167
| | | | | | To generate the documentation run $ make -C docs html
* Add total order to MonomialIndexNao Pross2024-04-291-3/+19
|
* Create PolyMatrixAsAffineExpression as replacement for DenseExprNao Pross2024-04-282-38/+296
|
* Fix regression in ElemMultExpr from introduction of index typesNao Pross2024-04-261-3/+9
|
* Wrap raw dictionaries as PolyDict and PolyMatrixDictNao Pross2024-04-261-0/+8
| | | | This is so that the old code is compatible with the new one
* Fix regression from splitting FromTuple mixinNao Pross2024-04-262-2/+5
|
* Make is_constant for MonomialIndex and VariableIndex static methodsNao Pross2024-04-251-7/+9
| | | | also fix an error in VariableIndex.is_constant
* Add __repr__ methods to some polymatrix.typing classesNao Pross2024-04-251-1/+14
|
* Fix incorrect behaviour of init_variable_exprNao Pross2024-04-252-3/+2
|
* Create partial order of MonomialIndex wrt degree of monomialNao Pross2024-04-241-1/+17
|
* Delete ancient class BroadCastedPolyMatrixNao Pross2024-04-242-19/+4
|
* Mark package as typed with py.typedNao Pross2024-04-241-0/+0
|
* Export from_names functionNao Pross2024-04-241-1/+2
|
* Fix expression.init.init_variable_exprNao Pross2024-04-243-6/+7
| | | | | The impl class has to be only in the underlying to have the behaviour of expressions
* Add function to construct variable from_namesNao Pross2024-04-182-2/+17
|
* Minor changesNao Pross2024-04-172-2/+4
|
* Fix circular import and typing in FromSympyNao Pross2024-04-171-8/+16
|
* Add helper method MonomialIndex.productNao Pross2024-04-171-0/+51
|
* Split FromTuple into FromNumbers, FromNumpy and FromSympyNao Pross2024-04-177-148/+232
|
* Fix typing problem in ExpressionBaseMixinNao Pross2024-04-161-3/+3
|
* Fix typing problem in ExpressionStateMixinNao Pross2024-04-161-3/+8
|
* Add helper methods to index types, make indexing more flexible.Nao Pross2024-04-161-4/+28
| | | | | Following robustness principle: be conservative in what you do, be liberal in what you accept from others
* Variables are scalar unless specified otherwiseNao Pross2024-04-161-1/+1
|
* Update ExpressionState, breaking changeNao Pross2024-04-153-78/+58
| | | | | There is no (easy) way to make this change backwards compatible, the FromX classes will be adapted to the new format of the state.
* Make PolyMatrixDict accept indexing p[row, col]Nao Pross2024-04-151-9/+11
|
* Create VariableMixin for expressionNao Pross2024-04-153-0/+53
|
* Replace DATA_TYPE with FromDataTypes in expression moduleNao Pross2024-04-155-23/+28
|
* Introduce index types and new PolyMatrix APINao Pross2024-04-157-60/+170
|