Comment #3 on issue 2230 by [email protected]: Problem in is_Function ans is_Number
http://code.google.com/p/sympy/issues/detail?id=2230

Interesting, about lowercased `is_number`, I did not know about it.

Additionally

What about `sin(1).is_Function` and `sin.is_Function` behaviour, I found right now, that it can be because of:


    class Application(Basic):
        """
        Base class for applied functions.

Instances of Application represent the result of applying an application of
        any type to any object.
        """
        __metaclass__ = FunctionClass
        __slots__ = []

        is_Function = True
        ...

is not it?

Also taking advantage of the opportunity can I ask more about doc string: is it means that `sin` is not class but rather the class instance?

And one more question, is it bug or not:

    IPython console for SymPy 0.6.7-git (Python 2.6.6)

    These commands were executed:
    >>> from __future__ import division
    >>> from sympy import *
    >>> x, y, z, t = symbols('x y z t')
    >>> k, m, n = symbols('k m n', integer=True)
    >>> f, g, h = map(Function, 'fgh')

    Documentation can be found at http://sympy.org/

    In [1]: max(x, y, z)
    Out[1]: z

    In [2]: max(y, z)
    Out[2]: z


Thanks

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to