Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add more __str__ methods to PolyMatrix for debugging | Nao Pross | 2024-06-07 | 4 | -8/+41 |
| | |||||
* | Add more __str__ methods to Impl classes | Nao Pross | 2024-06-07 | 1 | -0/+15 |
| | |||||
* | Fix bug when working with new shapes (e, 5) where e is an expression | Nao Pross | 2024-06-07 | 2 | -7/+66 |
| | |||||
* | Fix odd behaviour of MaxExpr | Nao Pross | 2024-06-06 | 2 | -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_sympy | Nao Pross | 2024-06-06 | 2 | -1/+21 |
| | |||||
* | Fix bug in from_name | Nao Pross | 2024-06-06 | 1 | -0/+10 |
| | |||||
* | Allow construction from mixed tuples in from_any | Nao Pross | 2024-06-06 | 1 | -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 Pross | 2024-06-05 | 4 | -11/+36 |
| | |||||
* | Fix bug from renaming | Nao Pross | 2024-06-05 | 1 | -8/+2 |
| | | | | Caused by commit 1e86d0946280b05e7ee41bb772041e234ec6d8e7 | ||||
* | Fix bug in CombinationsExpr | Nao Pross | 2024-06-05 | 1 | -4/+4 |
| | |||||
* | Fix bug in arange() | Nao Pross | 2024-06-05 | 1 | -3/+5 |
| | |||||
* | Separate symbols from variables to avoid shape problems | Nao Pross | 2024-06-04 | 11 | -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 variables | Nao Pross | 2024-06-02 | 1 | -1/+25 |
| | |||||
* | Create helper PolyDict.terms_of_degree(d) | Nao Pross | 2024-06-02 | 1 | -0/+6 |
| | |||||
* | Give better name to member of BroadcastPolyMatrix | Nao Pross | 2024-06-02 | 2 | -3/+4 |
| | |||||
* | Allow any iterable as argument of poly.block_diag | Nao Pross | 2024-05-28 | 1 | -3/+2 |
| | |||||
* | Rewrite BlockDiagExpr with BlockPolyMatrix | Nao Pross | 2024-05-28 | 3 | -86/+32 |
| | |||||
* | Create poly.what_is to inspect variable that have been given names with ↵ | Nao Pross | 2024-05-27 | 2 | -1/+22 |
| | | | | poly.give_name | ||||
* | Fix bug with shapes | Nao Pross | 2024-05-27 | 2 | -6/+10 |
| | |||||
* | Improve polymatrix.ones and zeros | Nao Pross | 2024-05-27 | 1 | -4/+29 |
| | |||||
* | Add missing check for degrees in CombinationsExpr | Nao Pross | 2024-05-27 | 1 | -1/+7 |
| | |||||
* | Fix bug in SubtractionExpr | Nao Pross | 2024-05-27 | 1 | -1/+1 |
| | |||||
* | Expose polymatrix.ones and polymatrix.zeros to user | Nao Pross | 2024-05-27 | 3 | -2/+11 |
| | |||||
* | Update comments and some __str__ methods | Nao Pross | 2024-05-27 | 2 | -4/+8 |
| | |||||
* | Expose more form_* functions to users | Nao Pross | 2024-05-27 | 1 | -5/+13 |
| | |||||
* | Create NamedExpr and polymatrix.give_name to give shorter names to expressions | Nao Pross | 2024-05-27 | 5 | -0/+54 |
| | |||||
* | 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 |
| |