texlive[50243] Master/texmf-dist: pst-ode (5mar19)

commits+karl at tug.org commits+karl at tug.org
Tue Mar 5 23:33:03 CET 2019


Revision: 50243
          http://tug.org/svn/texlive?view=revision&revision=50243
Author:   karl
Date:     2019-03-05 23:33:03 +0100 (Tue, 05 Mar 2019)
Log Message:
-----------
pst-ode (5mar19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/pst-ode/ChangeLog
    trunk/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.pdf
    trunk/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex
    trunk/Master/texmf-dist/dvips/pst-ode/pst-ode.pro
    trunk/Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/generic/pst-ode/README.txt

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/generic/pst-ode/README.md

Modified: trunk/Master/texmf-dist/doc/generic/pst-ode/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-ode/ChangeLog	2019-03-05 22:32:46 UTC (rev 50242)
+++ trunk/Master/texmf-dist/doc/generic/pst-ode/ChangeLog	2019-03-05 22:33:03 UTC (rev 50243)
@@ -1,3 +1,7 @@
+2019-03-05
+	* version 0.13
+	* fix: typo in command name \pstODErestoreState
+
 2018-06-07
 	* version 0.12
 	* fix: documentation fixes

Deleted: trunk/Master/texmf-dist/doc/generic/pst-ode/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-ode/README.md	2019-03-05 22:32:46 UTC (rev 50242)
+++ trunk/Master/texmf-dist/doc/generic/pst-ode/README.md	2019-03-05 22:33:03 UTC (rev 50243)
@@ -1,17 +0,0 @@
-# The `pst-ode` PSTricks package
-
-© 2012--`\today` Alexander Grahn
-
-https://github.com/agrahn/pst-ode
-
-This package defines `\pstODEsolve` for solving initial value problems for sets of Ordinary Differential Equations (ODE) using the Runge-Kutta-Fehlberg (**`RKF45`**) method with automatic step size adjustment.
-
-`\pstODEsolve[<options>]{<result>}{<output format>}{`*t*<sub>0</sub>`}{`*t*<sub>e</sub>`}{`*N*`}{`**x**<sub>0</sub>`}{`**f**`(`*t*`, `**x**`)}`
-
-The state vectors **x** found at *N* equally spaced output points between *t*<sub>0</sub> and *t*<sub>e</sub>  are stored in the PostScript object `<result>`,  formatted according to the second argument `<output format>`, as a long list of values. `<output format>` lists the quantities to be stored in `<result>`. The user can select from the elements of **x** and the integration parameter *t*.
-
-The initial condition vector **x**<sub>0</sub> and the right-hand side **f**`(`*t*`, `**x**`)` of the ODE system can be input in algebraic notation, if desired. RPN (Postfix) notation of PostScript can as well be used.
-
-`<result>` can be directly used as the `<data>` argument of `\listplot{<data>}` (package `pst-plot`) or `\listplotThreeD{<data>}` (package `pst-3dplot`).
-
-This material is subject to the [LaTeX Project Public License](http://mirrors.ctan.org/tex-archive/macros/latex/base/lppl.txt).

Added: trunk/Master/texmf-dist/doc/generic/pst-ode/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-ode/README.txt	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/pst-ode/README.txt	2019-03-05 22:33:03 UTC (rev 50243)
@@ -0,0 +1,15 @@
+==========================
+ pst-ode PSTricks package
+==========================
+
+Alexander Grahn, (c) 2012--today
+
+
+`pst-ode' defines \pstODEsolve for solving initial value problems for sets
+of Ordinary Differential Equations (ODE) using the Runge-Kutta-Fehlberg
+(RKF45) method with automatic step size adjustment.
+
+
+This material is subject to the LaTeX Project Public License. See
+  http://mirror.ctan.org/help/Catalogue/licenses.lppl.html
+for the details of that license.


Property changes on: trunk/Master/texmf-dist/doc/generic/pst-ode/README.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex	2019-03-05 22:32:46 UTC (rev 50242)
+++ trunk/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex	2019-03-05 22:33:03 UTC (rev 50243)
@@ -1,5 +1,16 @@
-\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings,
-    headexclude,footexclude,oneside,dvips,UKenglish]{pst-doc}
+\documentclass[
+  fontsize=11pt,
+  english,
+  BCOR=10mm,DIV=12,
+  bibliography=totoc,
+  parskip=false,
+  headings=small,
+  headinclude=false,
+  footinclude=false,
+  twoside=false,
+%  dvips,
+  UKenglish
+]{pst-doc}
 \usepackage[T1]{fontenc}
 %\usepackage{lmodern}
   \usepackage[tt=false]{libertine} %override beramono (doesn't look like tt font)
@@ -17,11 +28,6 @@
 \let\pstFV\fileversion
 \let\belowcaptionskip\abovecaptionskip
 
-\makeatletter
-\renewcommand*\l at subsection{\bprot at dottedtocline{2}{1.5em}{3.6em}}
-\renewcommand*\l at subsubsection{\bprot at dottedtocline{3}{3.8em}{4.5em}}
-\makeatother
-
 \def\bgImage{%
 \pstVerb{
   /alpha 10 def
@@ -74,7 +80,6 @@
 }
 
 \begin{document}
-%\author{Alexander Grahn}
 \author{Alexander Grahn}
 \expandafter\parsedate\filedate\relax %set current date to package date
 \title{pst-ode\\[4ex]}
@@ -97,7 +102,7 @@
 \begin{equation}
     \frac{\mathrm{d}\mathbf{x}}{\mathrm{d}t}=\mathbf{f}(t,\mathbf{x})
 \end{equation}
-by integrating them with respect to the independent variable $t$ starting at $t_0$ up to $t_\mathrm{e}$. If the set consists of $n$ differential equations,
+by integrating them with respect to the independent variable $t$. If the set consists of $n$ differential equations,
 a vector of initial conditions
 \begin{equation}
     \mathbf{x}(t_0)=\mathbf{x}_0
@@ -104,15 +109,16 @@
 \end{equation}
 of the same length $n$ is required. For $n=1$ the initial value problem is one-dimensional:
 \begin{gather}
-    \frac{\mathrm{d}x}{\mathrm{d}t}=f(t,x)\quad\text{for}\ t \in [t_0, t_\mathrm{e}]\text{, where}\label{eq:1dode}\\
+%    \frac{\mathrm{d}x}{\mathrm{d}t}=f(t,x)\quad\text{for}\ t \in [t_0, t_\mathrm{e}]\text{, where}\label{eq:1dode}\\
+    \frac{\mathrm{d}x}{\mathrm{d}t}=f(t,x),\label{eq:1dode}\\
     x(t_0) = x_0.\label{eq:1ini}
 \end{gather}
 
-Instead of producing analytical expressions of the solution functions $\mathbf{x}(t)$, the numerical method gives only approximate values $\mathbf{x}_i$ at $N$ discrete points $t_i$ of the integration interval $I=[t_0, t_\mathrm{e}]$:
+Instead of producing analytical expressions of the solution functions $\mathbf{x}(t)$, the numerical method gives only approximate values $\mathbf{x}_i$ at $N$ discrete points $t_i$ in the interval $I=[t_0, t_\mathrm{e}]$ of the independent variable $t$:
 \begin{equation}
 \mathbf{x}_i\approx\mathbf{x}(t_i).
 \end{equation}
-The computed approximations $\mathbf{x}_i$ of the solution as well as the initial condition vector $\mathbf{x}_0$ are called `state vectors'. In the case of a single equation problem, Eqs.~\eqref{eq:1dode}, \eqref{eq:1ini}, the state vectors have only one component.
+The computed approximations $\mathbf{x}_i$ of the solution as well as the initial condition vector $\mathbf{x}_0$ are called `state vectors'. In the case of a single equation problem, Eqs.~\eqref{eq:1dode}, \eqref{eq:1ini}, state vectors have only one component.
 
 \section{Commands}
 \begin{BDef}
@@ -129,7 +135,7 @@
 
 $N$ is the number of \emph{equally} spaced output points, including $t_0$ and $t_\mathrm{e}$; it must be $\ge 2$. In order to divide the interval of integration into $K$ output steps, $N$ must be set to $K+1$. Note that the precision of the solution does \emph{not} depend on $N$; internal integration steps are automatically inserted and resized according to the changes in the solution.
 
-$\mathbf{x}_0$ is a list of $n$ space separated initial values, one for each differential equation. Alternatively, $\mathbf{x}_0$ can be given as a \PS{} procedure pushing the initial values on the stack, or as an algebraic expression in infix notation where the elements are separated by `\Lkeyword{|}'. Infix notation requires option \Lkeyword{algebraicIC}. This argument can be left empty. In that case, the last computed state vector of a preceding \Lcs{pstODEsolve} call. Of course, the number of equations $n$ must be the same as in the preceding calculation.
+$\mathbf{x}_0$ is a list of $n$ space separated initial values, one for each differential equation. Alternatively, $\mathbf{x}_0$ can be given as a \PS{} procedure pushing the initial values on the stack, or as an algebraic expression in infix notation where the elements are separated by `\Lkeyword{|}'. Infix notation requires option \Lkeyword{algebraicIC}. This argument can be left empty. In that case, the last computed state vector of a preceding \Lcs{pstODEsolve} call serves as initial condition. Of course, the number of equations $n$ must be the same as in the preceding calculation.
 
 $\mathbf{f}(t,\mathbf{x})$ is the right-hand side of the differential equations. Equations can be entered in either infix or \PS{} (postfix, reverse polish) notation. Infix notation requires option \Lkeyword{algebraic}, and equations have to be separated by `\Lkeyword{|}'. The $n$ current state vector components can be referred to as \Lkeyword{x[0]}, \Lkeyword{x[1]}, \dots, \Lkeyword{x[}$n-1$\Lkeyword{]} or \Lkeyword{y[0]}, \Lkeyword{y[1]}, \dots, \Lkeyword{y[}$n-1$\Lkeyword{]}, and the current independent variable value as `\Lkeyword{t}'. If given in \PS{} notation, the provided procedure must first pop the current state vector components in reverse order(!) from the operand stack and then push the first derivatives in regular order back to it. Again, the independent variable value can be accessed using `\Lkeyword{t}'.%\\
 

Modified: trunk/Master/texmf-dist/dvips/pst-ode/pst-ode.pro
===================================================================
--- trunk/Master/texmf-dist/dvips/pst-ode/pst-ode.pro	2019-03-05 22:32:46 UTC (rev 50242)
+++ trunk/Master/texmf-dist/dvips/pst-ode/pst-ode.pro	2019-03-05 22:33:03 UTC (rev 50243)
@@ -1,7 +1,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
 % PostScript prologue for pst-ode.tex.
-% Version 0.12, 2018/06/07
+% Version 0.13, 2019/03/05
 %
 % Alexander Grahn (C) 2012--today
 %

Modified: trunk/Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex	2019-03-05 22:32:46 UTC (rev 50242)
+++ trunk/Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex	2019-03-05 22:33:03 UTC (rev 50243)
@@ -11,8 +11,8 @@
 %% ODEs using the Runge-Kutta-Fehlberg (RKF45) method with automatic
 %% step size adjustment
 %%
-\def\fileversion{0.12}
-\def\filedate{2018/06/07}
+\def\fileversion{0.13}
+\def\filedate{2019/03/05}
 
 \csname PSTODELoaded\endcsname
 \let\PSTODELoaded\endinput
@@ -76,7 +76,7 @@
 % #5: number of output points, including ta and tb; must be >= 2
 % #6: initial condition vector; if empty, continue integration from the last
 %     state vector of the previous \pstODEsolve usage or from state vector set
-%     by \pstODEsetOrRestoreState macro
+%     by \pstODErestoreState macro
 % #7: right hand side of ODE system; if given in Postscript notation (algebraic=
 %     false), the function provided should pop (in reverse order!) the elements
 %     of the current state vector from the operand stack and push the first
@@ -236,7 +236,7 @@
 }
 
 %macro for restoring state
-\def\pstODERestoreState#1{% #1: identifier
+\def\pstODErestoreState#1{% #1: identifier
   \pstVerb{
     true setglobal
     globaldict /ode at laststate [#1 at ode@laststate] put



More information about the tex-live-commits mailing list