summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Mark functions as deprecatedNao Pross2024-05-123-1/+32
|
* Collapse polymatrix.variable module into a single fileNao Pross2024-05-1210-31/+28
|
* Collapse StateMonad into single classNao Pross2024-05-1213-124/+51
| | | | Same reason as previous commit f094e4d91b44fc1e8b5f11aac2dd8073ba024fc8
* Collapse ExpressionState to a single classNao Pross2024-05-1262-148/+122
| | | | | | | | | | | | | | | | | ExpressionState has the usual mixin, whereby one splits the ABC into smaller parts called mixins, however this class only had one mixin and it makes no sense to have three classes instead of one. This class was simply not complex enough to make it worth maintaining all these files. I do not see a use case that would extend ExpressionState in a way that would introduce enough complexity for the mixin structure to be necessary. But it that were to happen in the future it is easy to reintroduce this structure I just deleted. In addition to reducing complexity this also fixes the inconsistent use of ExpressionStateMixin and ExpressionState across the mixin classes of Expression.
* Delete ParametrizeMatrixExprMixin, update ParametrizeExprMixin to work with ↵Nao Pross2024-05-115-119/+22
| | | | any shape
* Mark get_variable_indices_from_variable as deprecatedNao Pross2024-05-111-2/+4
|
* Fix ParametrizeExpr, was broken since changes in ExpressionStateNao Pross2024-05-111-41/+40
| | | | Commit that broke it: 13f11cb60021d4c143ce8c80e9b0c5027a4bf434
* Add more helper methods to ExpressionStateNao Pross2024-05-111-2/+32
|
* Clean up PolyMatrixAsAffineExpressionNao Pross2024-05-104-45/+58
|
* Minor changes in ExpressionStateNao Pross2024-05-101-3/+5
|
* Reintroduce __truediv__ for int and float typesNao Pross2024-05-101-0/+6
|
* Check for uniqueness of names in ExpressionStateNao Pross2024-05-091-3/+10
|
* Remove redundant case in FromStateMonadMixinNao Pross2024-05-091-7/+1
|
* Cleanup some typing issues and commentsNao Pross2024-05-093-85/+58
|
* Improve error message of matrix multiplicationNao Pross2024-05-091-3/+3
|
* Adapt CombinationsExprMixin to work with expression coefficientsNao Pross2024-05-092-13/+55
|
* Create helper PolyDict.is_constant to check if a polynomial is a constantNao Pross2024-05-091-0/+14
|
* Separate out computation of power in PowerExprMixin into staticmethodNao Pross2024-05-091-21/+32
|
* Add init_from_statemonadNao Pross2024-05-091-2/+5
| | | | Forgot to add to commit 573b7445866e1f870ebc1c0482114f1c19e2e7e0
* Add helper method to PolyDict.constant to get constant termNao Pross2024-05-091-0/+6
|
* Create PowerExprMixinNao Pross2024-05-093-0/+85
|
* Add few comments to FromStateMonadNao Pross2024-05-091-0/+7
|
* Fix bug in __str__ of StateMonadNao Pross2024-05-091-1/+1
|