Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix pretty printing of PolyMatrix objects | Nao Pross | 2024-05-27 | 1 | -1/+6 |
| | |||||
* | Fix bug in Expression.__sub__, update other operator overloadings | Nao Pross | 2024-05-27 | 1 | -45/+41 |
| | | | | | Again, for pretty printing it is annyong to see that -2 * x becomes x * (-2) | ||||
* | Create NegationExpr for pretty printing | Nao Pross | 2024-05-27 | 4 | -8/+50 |
| | |||||
* | Clean up AdditionExpr, create SubtractinExpr for pretty printing | Nao Pross | 2024-05-27 | 5 | -11/+100 |
| | |||||
* | Fix bug in .diff() and add DerivativeExpr.__str__ | Nao Pross | 2024-05-27 | 2 | -3/+6 |
| | |||||
* | Add mypy as (optional) dev dependency, limit python version to < 4.0 | Nao Pross | 2024-05-27 | 1 | -1/+5 |
| | |||||
* | Add comment and exception for problematic edge case in from_any() | Nao Pross | 2024-05-27 | 1 | -0/+25 |
| | |||||
* | Fix bug in ParametrizeExprMixin | Nao Pross | 2024-05-27 | 1 | -1/+1 |
| | |||||
* | Fix bug in ExpressionState.get_variable_from_name_or | Nao Pross | 2024-05-27 | 1 | -1/+1 |
| | |||||
* | Fix bug in CombinationExprMixin | Nao Pross | 2024-05-27 | 1 | -3/+3 |
| | |||||
* | Create poly.arange and ARangeExprMixin | Nao Pross | 2024-05-27 | 6 | -4/+126 |
| | |||||
* | Create pretty printing functions for some polymatrix types | Nao Pross | 2024-05-26 | 3 | -3/+87 |
| | |||||
* | Whitespace | Nao Pross | 2024-05-26 | 1 | -0/+2 |
| | |||||
* | Expose new function from_any to replace from_ | Nao Pross | 2024-05-26 | 1 | -0/+2 |
| | |||||
* | Collect deprecated util functions in single file | Nao Pross | 2024-05-26 | 15 | -179/+164 |
| | |||||
* | Docstrings and type corrections | Nao Pross | 2024-05-25 | 2 | -8/+23 |
| | |||||
* | Create zeros(), ones(), rewrite VStack with Concatenate and clean up from_ | Nao Pross | 2024-05-25 | 11 | -176/+260 |
| | |||||
* | Create shorthand PolyMatrix.scalar() for .at(0,0) | Nao Pross | 2024-05-25 | 1 | -0/+11 |
| | |||||
* | Fix ConcatenateExpr bug and expose concatenate | Nao Pross | 2024-05-25 | 3 | -2/+16 |
| | |||||
* | Fix bug in LowerTriangularExpr, expose lower_triangular and block_diag | Nao Pross | 2024-05-25 | 3 | -5/+16 |
| | |||||
* | Improve slicing, allow M[i] as shorthand for M[i, :] | Nao Pross | 2024-05-25 | 3 | -4/+8 |
| | |||||
* | Make Expression.shape a property | Nao Pross | 2024-05-24 | 1 | -0/+1 |
| | |||||
* | Allow shape of VariableExpr to be an Expression | Nao Pross | 2024-05-24 | 4 | -12/+45 |
| | | | | Does this, combined with ShapeExpr make ParametrieExpr obsolete? | ||||
* | Create ShapeExprMixin | Nao Pross | 2024-05-24 | 4 | -0/+47 |
| | |||||
* | Create ConcatenateExprMixin | Nao Pross | 2024-05-20 | 3 | -0/+37 |
| | |||||
* | Delete broken function for Determinant feature that was removed | Nao Pross | 2024-05-20 | 1 | -6/+0 |
| | |||||
* | Create BlockPolyMatrixMixin to replace VStack, BlockDiag, ... | Nao Pross | 2024-05-20 | 3 | -3/+79 |
| | |||||
* | Create Lower triangular matrix expression | Nao Pross | 2024-05-20 | 4 | -5/+69 |
| | |||||
* | Delete broken substitute methods in Expression | Nao Pross | 2024-05-13 | 1 | -23/+0 |
| | |||||
* | Create SliceExpr to replace GetItemExpr | Nao Pross | 2024-05-13 | 6 | -141/+87 |
| | |||||
* | Create SlicePolyMatrix, add bounds check for PolyMatrices | Nao Pross | 2024-05-13 | 3 | -27/+116 |
| | |||||
* | Delete SubstituteExpr, use EvalExpr | Nao Pross | 2024-05-13 | 3 | -159/+0 |
| | |||||
* | Bugfix in GetItemExprMixin | Nao Pross | 2024-05-12 | 1 | -1/+1 |
| | |||||
* | Delete obsolete unit tests | Nao Pross | 2024-05-12 | 18 | -828/+0 |
| | |||||
* | Forgot to make StateMonad a frozen dataclass | Nao Pross | 2024-05-12 | 1 | -1/+1 |
| | | | | in commit 75e0780acdd537e43e1ec8c7228e68ead13515cf | ||||
* | Mark functions as deprecated | Nao Pross | 2024-05-12 | 3 | -1/+32 |
| | |||||
* | Collapse polymatrix.variable module into a single file | Nao Pross | 2024-05-12 | 10 | -31/+28 |
| | |||||
* | Collapse StateMonad into single class | Nao Pross | 2024-05-12 | 13 | -124/+51 |
| | | | | Same reason as previous commit f094e4d91b44fc1e8b5f11aac2dd8073ba024fc8 | ||||
* | Collapse ExpressionState to a single class | Nao Pross | 2024-05-12 | 62 | -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 Pross | 2024-05-11 | 5 | -119/+22 |
| | | | | any shape | ||||
* | Mark get_variable_indices_from_variable as deprecated | Nao Pross | 2024-05-11 | 1 | -2/+4 |
| | |||||
* | Fix ParametrizeExpr, was broken since changes in ExpressionState | Nao Pross | 2024-05-11 | 1 | -41/+40 |
| | | | | Commit that broke it: 13f11cb60021d4c143ce8c80e9b0c5027a4bf434 | ||||
* | Add more helper methods to ExpressionState | Nao Pross | 2024-05-11 | 1 | -2/+32 |
| | |||||
* | Clean up PolyMatrixAsAffineExpression | Nao Pross | 2024-05-10 | 4 | -45/+58 |
| | |||||
* | Minor changes in ExpressionState | Nao Pross | 2024-05-10 | 1 | -3/+5 |
| | |||||
* | Reintroduce __truediv__ for int and float types | Nao Pross | 2024-05-10 | 1 | -0/+6 |
| | |||||
* | Check for uniqueness of names in ExpressionState | Nao Pross | 2024-05-09 | 1 | -3/+10 |
| | |||||
* | Remove redundant case in FromStateMonadMixin | Nao Pross | 2024-05-09 | 1 | -7/+1 |
| | |||||
* | Cleanup some typing issues and comments | Nao Pross | 2024-05-09 | 3 | -85/+58 |
| | |||||
* | Improve error message of matrix multiplication | Nao Pross | 2024-05-09 | 1 | -3/+3 |
| |