 # Diff of /trunk/doc/user/escript.tex

revision 2303 by caltinay, Thu Dec 18 03:30:17 2008 UTC revision 2304 by gross, Fri Mar 13 03:17:24 2009 UTC
# Line 1081  returns a function which is $1$ where \v Line 1081  returns a function which is $1$ where \v
1081  returns a function which is $1$ where \var{a} is non--positive and $0$ otherwise.  returns a function which is $1$ where \var{a} is non--positive and $0$ otherwise.
1082  \end{funcdesc}  \end{funcdesc}
1083
1084  \begin{funcdesc}{whereZero}{a\optional{, tol=0.}}  \begin{funcdesc}{whereZero}{a\optional{, tol=None, \optional{, rtol=1.e-8}}}
1085  returns a function which is $1$ where \var{a} equals zero with tolerance \var{tol} and $0$ otherwise.  returns a function which is $1$ where \var{a} equals zero with tolerance \var{tol} and $0$ otherwise. If \var{tol} is not present, the absolute maximum value of C{a} times C{rtol} is used.
1086  \end{funcdesc}  \end{funcdesc}
1087
1088  \begin{funcdesc}{whereNonZero}{a\optional{, tol=0.}}  \begin{funcdesc}{whereNonZero}{a, \optional{, tol=None, \optional{, rtol=1.e-8}}}
1089  returns a function which is $1$ where \var{a} different from zero with tolerance \var{tol} and $0$ otherwise.  returns a function which is $1$ where \var{a} different from zero with tolerance \var{tol} and $0$ otherwise. If \var{tol} is not present, the absolute maximum value of C{a} times C{rtol} is used.
1090  \end{funcdesc}  \end{funcdesc}
1091
1092  \subsection{\Operator Class}  \subsection{\Operator Class}

Legend:
 Removed from v.2303 changed lines Added in v.2304