Thanks!
2009/12/15 Ondrej Certik <[email protected]> > On Tue, Dec 15, 2009 at 12:43 AM, Julio Oliveira <[email protected]> > wrote: > > Hello Sympyiers, > > > > As I am new, and trying to figure out a bit more about the code, can > someone > > quickly explain to me the following code: > > > > ===From symbol.py line 180-183 > > > > def __call__(self, *args, **assumptions): > > return WildFunction(self.name, nargs=len(args))(*args, > > **assumptions) > > > > ========================== > > > > Where is the function WildFunction declared? I could not find it > anywhere. > > It's defined in: > > sympy/core/function.py > > Use this trick to find these things: > > $ git grep WildFunction > doc/src/tutorial.txt:.. index:: pattern matching, match, Wild, WildFunction > sympy/core/__init__.py:from function import Lambda, WildFunction, > Derivative, di > sympy/core/basic.py: 'Function','WildFunction', > sympy/core/function.py:class WildFunction(Function, Atom): > sympy/core/function.py: WildFunction() matches any expression but > another Wil > sympy/core/operations.py:# from function import Lambda, WildFunction > /cyclic/ > [...] > > Ondrej > > -- > > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <sympy%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
