Top
Back: laxfrX
Forward: backward
FastBack:
FastForward:
Up: finitediff_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.4.6 forward

Procedure from library finitediff.lib (see finitediff_lib).

Usage:
forward(U1,U2,var); U1, U2 are the names of occuring derivatives, var is a variable in the basering;

Return:
type vector; gives a predefined approximation of the forward approximation as often used in literature;

Note:
see also laxfrT,setinitials,scheme;

Example:
 
LIB "finitediff.lib";
list D="Ut","Ux","Uy","U";
list V="t","x","y";
list P="a","b";
setinitials(V,D,P);
forward(Ux,U,x);
==> [0,(dx),0,-x+1]
forward(Uy,U,y);
==> [0,0,(dy),-y+1]
forward(Ut,U,t);
==> [(dt),0,0,-t+1]


Top Back: laxfrX Forward: backward FastBack: FastForward: Up: finitediff_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.2, 2023, generated by texi2html.