Open cd155 opened 2 years ago
The ODE exists in many forms, and we want to add more displaying variability. Currently, the DifferentialModel
display the single ODE in a "one-equation" form,
It is capable of displaying the ODE in a matrix form; there is the demo.
The reason we display the single ODE in "one-equation" form is because it is over-complicated to display the matrix form for the single ODE.
Another example of displaying is moving all the terms to the left-hand side and leaving the right-hand side to 0. (did not implement)
There are multiple forms of ODE.
ax0 + bx1 + cx2 + .... + contant = 0
.ax0 + bx1 + cx2 + .... = contant
. This is applied in NoPCM, which puts the constant term on the right-hand side.In the #2875 , we created a NewDEModel. However, there is no way to set the display form to other forms. Currently, the
NewDEModel
will have anexpress
in the canonical form. In this ticket, add functions to setexpress
to other types of forms.We can ask users to input which type they want the
express
to display.For example, giving a new data type as an input