changeset 31274:9a7bc1a2b20b stable

doc: Make TeX and non-TeX docstrings agree for lsode lsode.cc: Give same Jacobian matrix in both TeX and non-TeX docstrings Make both matrices have M rows and N columns, not implying that they need to be square.
author Arun Giridhar <arungiridhar@gmail.com>
date Fri, 07 Oct 2022 13:56:29 -0400
parents 635ef1eb7dc3
children e54a36a82537
files libinterp/corefcn/lsode.cc
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/lsode.cc	Fri Oct 07 06:54:49 2022 -0400
+++ b/libinterp/corefcn/lsode.cc	Fri Oct 07 13:56:29 2022 -0400
@@ -214,10 +214,10 @@
   & \cdots
   & {\partial f_2 \over \partial x_N} \cr
  \vdots & \vdots & \ddots & \vdots \cr
-{\partial f_3 \over \partial x_1}
-  & {\partial f_3 \over \partial x_2}
+{\partial f_M \over \partial x_1}
+  & {\partial f_M \over \partial x_2}
   & \cdots
-  & {\partial f_3 \over \partial x_N} \cr}\right]$$
+  & {\partial f_M \over \partial x_N} \cr}\right]$$
 @end tex
 @ifnottex
 
@@ -235,7 +235,7 @@
              |  .    .      .   .    |
              |  .    .       .  .    |
              |                       |
-             | df_N  df_N       df_N |
+             | df_M  df_M       df_M |
              | ----  ----  ...  ---- |
              | dx_1  dx_2       dx_N |
 @end group