3 Commits 3c8a9f3c70 ... e92a3a43da

Author SHA1 Message Date
  Alex Vong e92a3a43da Test 1 1 year ago
  Alex Vong 552847c468 week-8-to-11-report.md: Improve wording. 1 year ago
  Alex Vong 3c8a9f3c70 Test 1 1 year ago
2 changed files with 65 additions and 0 deletions
  1. 1 0
      README.md
  2. 64 0
      week-12-report.md

+ 1 - 0
README.md

@@ -13,6 +13,7 @@ Reports about the project will be provided below.
 - [Week 3 Report](https://notabug.org/alexvong1995/gsoc-2022-symbolic-package-blog/src/master/week-3-report.md)
 - [Week 4 to 7 Report](https://notabug.org/alexvong1995/gsoc-2022-symbolic-package-blog/src/master/week-4-to-7-report.md)
 - [Week 8 to 11 Report](https://notabug.org/alexvong1995/gsoc-2022-symbolic-package-blog/src/master/week-8-to-11-report.md)
+- [Week 12 Report](https://notabug.org/alexvong1995/gsoc-2022-symbolic-package-blog/src/master/week-12-report.md)
 
 ## Copyright
 

+ 64 - 0
week-12-report.md

@@ -0,0 +1,64 @@
+# Week 12 Report
+
+In the twelfth week, we finish fixing long-standing bugs and continue working on removing non-`Expr` from `Matrix`. I attended:
+
+- GSoC 2022: meeting @ Mon 2022-08-29
+
+and helped:
+
+- create PR [#1214](https://github.com/cbm755/octsympy/pull/1214),
+  which fixes *Piecewise Support* [#582](https://github.com/cbm755/octsympy/issues/582)
+
+- create PR [#1212](https://github.com/cbm755/octsympy/pull/1212),
+  which fixes *pythonic: add `dbout` command* [#1210](https://github.com/cbm755/octsympy/issues/1210)
+- create PR [#1213](https://github.com/cbm755/octsympy/pull/1213),
+  which *makes the `mat_rclist_*` functions `Array`-compatible*
+  and fixes *common helper python function for Array/Matrix return* [#1211](https://github.com/cbm755/octsympy/issues/1211)
+- create PR [#1216](https://github.com/cbm755/octsympy/pull/1216),
+  which *makes `@sym/vertcat`, `@sym/horzcat` and `@sym/tranpose` Array-compatible*
+  - create follow-up issue _`@sym/{ctranspose,transpose}`: *transpose does not work on None_ [#1215](https://github.com/cbm755/octsympy/issues/1215)
+- create PR [#1219](https://github.com/cbm755/octsympy/pull/1219),
+  which *re-implements `@sym/repmat` without using `pycall_sympy__`*
+  and fixes *`@sym/repmat`: Not outputing empty matrices the same as repmat* [#1218](https://github.com/cbm755/octsympy/issues/1218)
+- review and improve PR [#1223](https://github.com/cbm755/octsympy/pull/1223),
+  which fixes *Array_not_Matrix: boolean ops on Arrays are broken* [#1222](https://github.com/cbm755/octsympy/issues/1222)
+- review PR [#1224](https://github.com/cbm755/octsympy/pull/1224),
+  which fixes *isequal: failing with error: cell2mat: C must be a cell array* [#1221](https://github.com/cbm755/octsympy/issues/1221)
+- review PR [#1227](https://github.com/cbm755/octsympy/pull/1227),
+  which fixes *subs: needs to use make_matrix_or_array* [#1226](https://github.com/cbm755/octsympy/issues/1226)
+  and *An Matrix can be incorrectly expanded into an Array* [#1228](https://github.com/cbm755/octsympy/issues/1228)
+- create PR [#1230](https://github.com/cbm755/octsympy/pull/1230),
+  which *Use sympy function 'unflatten'* in `@sym/piecewise`.
+- create PR [#1231](https://github.com/cbm755/octsympy/pull/1231),
+  which *Use sympy functions and generalise `make_matrix_or_array`*
+- create WIP PR [#1234](https://github.com/cbm755/octsympy/pull/1234),
+  which *Add new function* `@sym/iztrans`
+- create WIP PR [#1235](https://github.com/cbm755/octsympy/pull/1235),
+  which *Add 2D sym functions and use them*
+
+From week 8 to week 11, we attended the GSoC meeting biweekly to discuss with mentors about tricky issues we encountered and to keep ourselves informed about the progress of all GSoC participants. We completed some 3.0.1 milestones, including an important regression introduced by the 3.0.0 release. After that, we released octsympy 3.0.1 and completed various post-release tasks as well. More importantly, we started working on the optional *future* subproject and investigated various issues and draft PR related to getting non-`Expr` out of `Matrix`. While we continued our **past** subproject of fixing long standing bugs, the *future* subproject, as the name suggest, is more important for the future of octsympy. After discussing with mentor, we decided to focus our efforts on the *future* subproject rather than the **past**.
+
+Next week, we will continue working on the *future* subproject. We expected we would not be able to get non-`Expr` out of `Matrix` entirely before the end of GSoC due to time constraints and the optional nature of this subproject. Nevertheless, we will create various PRs to make functions compatible with non-`Matrix` 2D sym, which will make it easier to get non-`Expr` out of `Matrix` eventually. In addition, if opportunity arises, we will fixes additional bugs and completed the **past** subproject.
+
+## Progress Summary
+
+Below is a summary of our progress:
+
+- <s>(**Past**) [Week 5-8] fix long-standing bugs</s> (all listed bugs except [#362](https://github.com/cbm755/octsympy/issues/362) are fixed, we skip sortrows, move to iztrans and the more important *future* subproject)
+    - <s>[Week 5-6] add cart2pol function and friends [#865](https://github.com/cbm755/octsympy/issues/865)</s> (`@sym/cart2pol` added by me, the GSoC participant)
+    - [Week 5-6] support sortrows [#362](https://github.com/cbm755/octsympy/issues/362)
+    - <s>[Week 5-6] adjoint function for numerical input [#1049](https://github.com/cbm755/octsympy/issues/1049)</s>
+    - <s>[Week 7-8] ztrans [#853](https://github.com/cbm755/octsympy/issues/853)</s> (fixed by me, the GSoC participant, before GSoC had officially started)
+        - <s>use the series definition of [(unilateral) z-transform](https://en.wikipedia.org/wiki/Z-transform#Unilateral_Z-transform)</s>
+    - <s>[Week 7-8] Piecewise Support [#582](https://github.com/cbm755/octsympy/issues/582)</s>
+    - <s>[Week 8] fix additional bugs depending on our progress</s> (iztrans is almost done, only lacking help text and tests, see [#1234](https://github.com/cbm755/octsympy/pull/1234))
+
+- <s>\<Optional\> (*Future*) [Week 9-12] make octsympy easier to maintain</s>
+    - <s>[Week 9-12] get non-expr out of matrix as much as possible since sympy deprecated the use of non-expr in matrix (FIXME: see [#1124](https://github.com/cbm755/octsympy/issues/1124))</s>
+        - <s>[Week 9-10] investigate draft PR [#1194](https://github.com/cbm755/octsympy/pull/1194)</s>
+        - <s>[Week 9-10] investigate *laplace test giving deprecation warning on SymPy > 1.9* [#1052](https://github.com/cbm755/octsympy/issues/1052)</s>
+        - <s>[Week 9-10] investigate *eq: giving TypeError: cannot determine truth value of Relational* [#1055](https://github.com/cbm755/octsympy/issues/1055)</s> (fixed by mentor [@cbm755](https://github.com/cbm755))
+        - <s>[Week 11-12] fix *laplace test giving deprecation warning on SymPy > 1.9* [#1052](https://github.com/cbm755/octsympy/issues/1052)</s> (warning no longer exists on main branch, but we should investigate [#21504](https://github.com/sympy/sympy/issues/21504) before closing)
+        - [Week 11-12] fix *tracker issue for non-Expr in matrices* [#1124](https://github.com/cbm755/octsympy/issues/1124) if time allow
+
+- [Week 13] final report