/[escript]/trunk/escript/py_src/symbolic/symbol.py
ViewVC logotype

Diff of /trunk/escript/py_src/symbolic/symbol.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3818 by caltinay, Mon Feb 13 01:12:08 2012 UTC revision 3854 by caltinay, Fri Mar 2 05:47:09 2012 UTC
# Line 36  __author__="Cihan Altinay" Line 36  __author__="Cihan Altinay"
36    
37  class Symbol(object):  class Symbol(object):
38      """      """
39      `Symbol` objects are placeholders for a single mathematic symbol, such as      `Symbol` objects are placeholders for a single mathematical symbol, such as
40      'x', or for arbitrarily complex mathematic expressions such as      'x', or for arbitrarily complex mathematical expressions such as
41      'c*x**4+alpha*exp(x)-2*sin(beta*x)', where 'alpha', 'beta', 'c', and 'x'      'c*x**4+alpha*exp(x)-2*sin(beta*x)', where 'alpha', 'beta', 'c', and 'x'
42      are also `Symbol`s (the symbolic 'atoms' of the expression).      are also `Symbol`s (the symbolic 'atoms' of the expression).
43    
# Line 45  class Symbol(object): Line 45  class Symbol(object):
45      be resolved by substituting numeric values and/or escript `Data` objects      be resolved by substituting numeric values and/or escript `Data` objects
46      for the atoms. To facilitate the use of `Data` objects a `Symbol` has a      for the atoms. To facilitate the use of `Data` objects a `Symbol` has a
47      shape (and thus a rank) as well as a dimension (see constructor).      shape (and thus a rank) as well as a dimension (see constructor).
48      `Symbol`s are useful to perform mathematic simplifications, compute      `Symbol`s are useful to perform mathematical simplifications, compute
49      derivatives and as coefficients for nonlinear PDEs which can be solved by      derivatives and as coefficients for nonlinear PDEs which can be solved by
50      the `NonlinearPDE` class.      the `NonlinearPDE` class.
51      """      """

Legend:
Removed from v.3818  
changed lines
  Added in v.3854

  ViewVC Help
Powered by ViewVC 1.1.26