/[escript]/branches/restext/escript/py_src/util.py
ViewVC logotype

Diff of /branches/restext/escript/py_src/util.py

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

revision 2615 by jfenwick, Wed Aug 19 05:44:15 2009 UTC revision 2616 by jfenwick, Wed Aug 19 06:33:08 2009 UTC
# Line 1656  def whereNonZero(arg,tol=0.): Line 1656  def whereNonZero(arg,tol=0.):
1656     :param tol: absolute tolerance. Values with absolute value less than tol are accepted     :param tol: absolute tolerance. Values with absolute value less than tol are accepted
1657                 as zero. If ``tol`` is not present ``rtol``*```Lsup` (arg)`` is used.                 as zero. If ``tol`` is not present ``rtol``*```Lsup` (arg)`` is used.
1658     :type tol: ``float``     :type tol: ``float``
    :param rtol: relative tolerance used to define the absolute tolerance if ``tol`` is not present.  
    :type rtol: non-negative ``float``  
1659     :rtype: ``float``, `escript.Data`, `Symbol`, ``numpy.ndarray`` depending     :rtype: ``float``, `escript.Data`, `Symbol`, ``numpy.ndarray`` depending
1660             on the type of ``arg``             on the type of ``arg``
1661     :raise ValueError: if ``rtol`` is non-negative.     :raise ValueError: if ``rtol`` is non-negative.

Legend:
Removed from v.2615  
changed lines
  Added in v.2616

  ViewVC Help
Powered by ViewVC 1.1.26