summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* More review comments in expression mixinsNao Pross2024-04-0211-12/+46
|
* More review commentsNao Pross2024-04-023-1/+10
|
* Create machinery to mark methods and classes as deprecatedNao Pross2024-04-021-0/+88
|
* Add comments for code reviewNao Pross2024-04-0128-33/+184
|
* Update pyproject.toml to use Poetry for dependency managementNao Pross2024-04-012-13/+671
|
* format Python files with ruffMichael Schneeberger2024-03-2784-1357/+1326
|
* add minimal documentation to the expression mixinsupstreamMichael Schneeberger2024-03-1211-6/+39
|
* add integrate expression, improve variable namingMichael Schneeberger2024-03-0517-77/+260
|
* bugfix after shadowing existing variable when renamingMichael Schneeberger2024-02-271-3/+4
|
* use or instead ofMichael Schneeberger2024-02-2742-433/+255
|
* improve typing with PolynomialData and MonomialDataMichael Schneeberger2024-02-2733-680/+156
|
* replace indentation tabs with spacesMichael Schneeberger2024-02-275-295/+290
|
* implement function inMichael Schneeberger2024-02-272-2/+5
|