summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Create Lower triangular matrix expressionNao Pross2024-05-204-5/+69
|
* Delete broken substitute methods in ExpressionNao Pross2024-05-131-23/+0
|
* Create SliceExpr to replace GetItemExprNao Pross2024-05-136-141/+87
|
* Create SlicePolyMatrix, add bounds check for PolyMatricesNao Pross2024-05-133-27/+116
|
* Delete SubstituteExpr, use EvalExprNao Pross2024-05-133-159/+0
|
* Bugfix in GetItemExprMixinNao Pross2024-05-121-1/+1
|
* Delete obsolete unit testsNao Pross2024-05-1218-828/+0
|
* Forgot to make StateMonad a frozen dataclassNao Pross2024-05-121-1/+1
| | | | in commit 75e0780acdd537e43e1ec8c7228e68ead13515cf