Home Online Manual
Top
Back: finitediff_lib
Forward: u
FastBack: ellipticcovers_lib
FastForward: gitfan_lib
Up: finitediff_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.8.1 visualize

Procedure from library finitediff.lib (see finitediff_lib).

Usage:
visualize(f); f of type poly.

Return:
type string; translates the polynomial form of a finite difference scheme into an indexed one as often seen in literature

Example:
 
LIB "finitediff.lib";
list D="Ux","Ut","U";
list P="a";
list V="t","x";
setinitials(V,D,P);
scheme(u(Ut)+a*u(Ux),trapezoid(Ux,U,x),backward(Ut,U,t));
==> (dx)*x+(dx)
visualize(_);
==> (dx)*U(0,1)+(dx)*U(0,0)