summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Create zeros(), ones(), rewrite VStack with Concatenate and clean up from_Nao Pross2024-05-2511-176/+260
|
* Create shorthand PolyMatrix.scalar() for .at(0,0)Nao Pross2024-05-251-0/+11
|
* Fix ConcatenateExpr bug and expose concatenateNao Pross2024-05-253-2/+16
|
* Fix bug in LowerTriangularExpr, expose lower_triangular and block_diagNao Pross2024-05-253-5/+16
|
* Improve slicing, allow M[i] as shorthand for M[i, :]Nao Pross2024-05-253-4/+8
|
* Make Expression.shape a propertyNao Pross2024-05-241-0/+1
|
* Allow shape of VariableExpr to be an ExpressionNao Pross2024-05-244-12/+45
| | | | Does this, combined with ShapeExpr make ParametrieExpr obsolete?
* Create ShapeExprMixinNao Pross2024-05-244-0/+47
|
* Create ConcatenateExprMixinNao Pross2024-05-203-0/+37
|
* Delete broken function for Determinant feature that was removedNao Pross2024-05-201-6/+0
|
* Create BlockPolyMatrixMixin to replace VStack, BlockDiag, ...Nao Pross2024-05-203-3/+79
|