summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug in MonomialIndex.__lt__Nao Pross2024-06-151-5/+11
|
* Fix bug in NegationExpr, typo in AffineExpressionNao Pross2024-06-082-8/+8
|
* Add more __str__ methodsNao Pross2024-06-081-2/+15
|
* Fix bugs in expression.from_ and expression.__init__Nao Pross2024-06-073-52/+21
| | | | | | | Now shapes are either complete expression or complete tuples of integers adding a mix (5, e) with e being an expression was adding needless complexity everywhere, so a case like (5, e) becomes vstack(FromNumber(5), e)) and the entire shape is an expression
* Fix bug in MaxExprNao Pross2024-06-071-1/+1
|
* Add more __str__ methods to expression mixinsNao Pross2024-06-071-0/+6
|
* Avoid using unpack operator in subscript for backwards compatibilityNao Pross2024-06-075-5/+5
| | | | Was introduced only in python 3.11
* Remove trailing \n when printing PolyMatrixImplNao Pross2024-06-071-3/+3
|
* Add more __str__ methods to PolyMatrix for debuggingNao Pross2024-06-074-8/+41
|
* Add more __str__ methods to Impl classesNao Pross2024-06-071-0/+15
|
* Fix bug when working with new shapes (e, 5) where e is an expressionNao Pross2024-06-072-7/+66
|
* Fix odd behaviour of MaxExprNao Pross2024-06-062-25/+82
| | | | | It was not possible to do M.max().max() to get the maxim element across all rows and columns. now you can.
* Re-add ExpressionState.get_name and fix to_sympyNao Pross2024-06-062-1/+21
|
* Fix bug in from_nameNao Pross2024-06-061-0/+10
|
* Allow construction from mixed tuples in from_anyNao Pross2024-06-061-12/+34
| | | | | In other words from_any((1, x, y)) with x and y of any type in FromSupportedTypes (not necessarily the same) works.
* Allow shape argument of variables to be (int, ExpressionMixin) etc.Nao Pross2024-06-054-11/+36
|
* Fix bug from renamingNao Pross2024-06-051-8/+2
| | | | Caused by commit 1e86d0946280b05e7ee41bb772041e234ec6d8e7
* Fix bug in CombinationsExprNao Pross2024-06-051-4/+4
|
* Fix bug in arange()Nao Pross2024-06-051-3/+5
|
* Separate symbols from variables to avoid shape problemsNao Pross2024-06-0411-163/+144
| | | | | | | | | Variables are now expression that have a shape and contain a symbol. The symbol in its own is not a variable, as the shape is unknown, but this information can is stored in the state object. So it is possible to reconstruct a variable by doing init_variable_expr(sym, state.get_shape(sym))
* Introduce PolyMatrix.variables() to retrieve all variablesNao Pross2024-06-021-1/+25
|
* Create helper PolyDict.terms_of_degree(d)Nao Pross2024-06-021-0/+6
|
* Give better name to member of BroadcastPolyMatrixNao Pross2024-06-022-3/+4
|
* Allow any iterable as argument of poly.block_diagNao Pross2024-05-281-3/+2
|
* Rewrite BlockDiagExpr with BlockPolyMatrixNao Pross2024-05-283-86/+32
|
* Create poly.what_is to inspect variable that have been given names with ↵Nao Pross2024-05-272-1/+22
| | | | poly.give_name
* Fix bug with shapesNao Pross2024-05-272-6/+10
|
* Improve polymatrix.ones and zerosNao Pross2024-05-271-4/+29
|
* Add missing check for degrees in CombinationsExprNao Pross2024-05-271-1/+7
|
* Fix bug in SubtractionExprNao Pross2024-05-271-1/+1
|
* Expose polymatrix.ones and polymatrix.zeros to userNao Pross2024-05-273-2/+11
|
* Update comments and some __str__ methodsNao Pross2024-05-272-4/+8
|
* Expose more form_* functions to usersNao Pross2024-05-271-5/+13
|
* Create NamedExpr and polymatrix.give_name to give shorter names to expressionsNao Pross2024-05-275-0/+54
|
* Fix pretty printing of PolyMatrix objectsNao Pross2024-05-271-1/+6
|
* Fix bug in Expression.__sub__, update other operator overloadingsNao Pross2024-05-271-45/+41
| | | | | Again, for pretty printing it is annyong to see that -2 * x becomes x * (-2)
* Create NegationExpr for pretty printingNao Pross2024-05-274-8/+50
|
* Clean up AdditionExpr, create SubtractinExpr for pretty printingNao Pross2024-05-275-11/+100
|
* Fix bug in .diff() and add DerivativeExpr.__str__Nao Pross2024-05-272-3/+6
|
* Add mypy as (optional) dev dependency, limit python version to < 4.0Nao Pross2024-05-271-1/+5
|
* Add comment and exception for problematic edge case in from_any()Nao Pross2024-05-271-0/+25
|
* Fix bug in ParametrizeExprMixinNao Pross2024-05-271-1/+1
|
* Fix bug in ExpressionState.get_variable_from_name_orNao Pross2024-05-271-1/+1
|
* Fix bug in CombinationExprMixinNao Pross2024-05-271-3/+3
|
* Create poly.arange and ARangeExprMixinNao Pross2024-05-276-4/+126
|
* Create pretty printing functions for some polymatrix typesNao Pross2024-05-263-3/+87
|
* WhitespaceNao Pross2024-05-261-0/+2
|
* Expose new function from_any to replace from_Nao Pross2024-05-261-0/+2
|
* Collect deprecated util functions in single fileNao Pross2024-05-2615-179/+164
|
* Docstrings and type correctionsNao Pross2024-05-252-8/+23
|