On Tue, Mar 30, 2010 at 11:27 AM, Ondrej Certik <[email protected]> wrote:
> On Tue, Mar 30, 2010 at 11:11 AM, Tim Lahey <[email protected]> wrote:
>> On Tue, Mar 30, 2010 at 2:04 PM, Brian Granger <[email protected]> 
>> wrote:
>>> I propose renaming .evalf() -> .N().
>>
>> -1. First, it would break existing code. Second, I see the point in
>> having both. First,
>> evalf is what Maple calls it while N is what Mathematica calls it. So,
>> it's handy for
>> people switching.
>>
>> Since I'm a Maple user, I'd argue for evalf replacing N if that was
>> the case. However,
>> I think eliminating one is a bad idea.
>
> SymPy currently has both .evalf() and .n() methods. We also have a N()
> global function. It's kind of a mess, I agree.

Coming from Mathematica, evalf is confusing for me.  But, if maple
users are familiar with evalf I think it makes sense to keep it.  But
then, let simply also make .N a method so it is consistent.

Cheers,

Brian

> 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].
> 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.

Reply via email to