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

D.15.15.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)