gnu-octave / symbolic

A Symbolic Package for Octave using SymPy
https://octave.sourceforge.io/symbolic/
GNU General Public License v3.0
151 stars 36 forks source link

[WIP] Add 2D sym functions and use them. #1235

Open alexvong243f opened 1 year ago

alexvong243f commented 1 year ago

We add 2D sym functions to abstract over the idea of 2D sym so that we can choose to represent non-Matrix 2D sym to be something other than an Array in the future. For example, we could use TableForm.

This is incomplete. More functions need to use these 2D sym functions. Not sure if this is needed anymore as TableForm was shown to be lacking various features such as indexing and taking transpose. No other candidates are being considered at the moment.

This PR is introduced to avoid these changes to be forgotten. We can close it later if this is definitely not needed or it bit rots.

cbm755 commented 1 year ago

I force-pushed this onto top of the latest Array_not_Matrix

cbm755 commented 1 year ago

I cherry-picked a one of the commits out of here into #1194.