On Thu, Jun 18, 2009 at 4:05 PM, Fabian Pedregosa wrote:
>
> Luke wrote:
>> Fabian,
>> I'm working on the eval methods of the trig functions. There is
>> some inconsistent behavior here with regard to checking if the
>> argument of the function 1) .is_Number and 2) .is_number. For
>> example,
Luke wrote:
> Fabian,
> I'm working on the eval methods of the trig functions. There is
> some inconsistent behavior here with regard to checking if the
> argument of the function 1) .is_Number and 2) .is_number. For
> example, sin only has:
> if arg.is_Number:
> ...
>
> but for example, asin
Fabian,
I'm working on the eval methods of the trig functions. There is
some inconsistent behavior here with regard to checking if the
argument of the function 1) .is_Number and 2) .is_number. For
example, sin only has:
if arg.is_Number:
...
but for example, asin has:
if arg.is_Number:
...
if
On Mon, May 25, 2009 at 3:25 PM, Fabian Pedregosa wrote:
>
> Luke wrote:
>> Ok, that makes more sense now. Thanks for the clarification.
>> ~Luke
>>
>> On May 25, 1:05 pm, Abderrahim Kitouni wrote:
>>> On Mon, 25 May 2009 12:48:09 -0700 (PDT)Luke wrote:
>>>
1) Why are there both 'is_Numb
Luke wrote:
> Ok, that makes more sense now. Thanks for the clarification.
> ~Luke
>
> On May 25, 1:05 pm, Abderrahim Kitouni wrote:
>> On Mon, 25 May 2009 12:48:09 -0700 (PDT)Luke wrote:
>>
>>> 1) Why are there both 'is_Number' and a 'is_number' methods, and why
>>> do they return different
Ok, that makes more sense now. Thanks for the clarification.
~Luke
On May 25, 1:05 pm, Abderrahim Kitouni wrote:
> On Mon, 25 May 2009 12:48:09 -0700 (PDT)Luke wrote:
>
> > 1) Why are there both 'is_Number' and a 'is_number' methods, and why
> > do they return different results?
>
> is_number
On Mon, 25 May 2009 12:48:09 -0700 (PDT)
Luke wrote:
>
> 1) Why are there both 'is_Number' and a 'is_number' methods, and why
> do they return different results?
is_number == True means that this is a number (in the mathematical sense).
is_Number == True means that this is a Number (or subclass