it looks like what I exactly need, thanks!
On Nov 11, 12:13 pm, Burcin Erocal <bur...@erocal.org> wrote:
> Hi Robert,
>
> On Wed, 11 Nov 2009 02:45:11 -0800 (PST)
>
> "ma...@mendelu.cz" <ma...@mendelu.cz> wrote:
> > So my question for developers and experienced users os Sage is: Is
> > there a function which converts input like f = 0.25 / (log(5.74 /
> > Re^0.9, 10))^2 / 4 into 0.331368631905/log(5.74/Re^0.9)^2 in a similar
> > way as evaluation with numer flag in Maxima?
>
> My working copy let's you do this:
>
> sage: var('Re')
> Re
> sage: f = 0.25 / (log(5.74 /Re^0.9, 10))^2 / 4
> sage: f._eval_self(CC)
> 0.331368631904900/log(5.74000000000000/Re^0.900000000000000)^2
>
> I'll try to submit this patch for review in a couple of days. If you
> want it sooner, replacing the else clause in
> sage.symbolic.expression.Expression._self_eval with
> return new_Expression_from_GEx(self._parent, res)
> should get you the same functionality.
>
> Cheers,
> Burcin
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---