#8867: speed up the riemann mapping functionality
---------------------------+------------------------------------------------
Reporter: jason | Owner:
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-4.7
Component: calculus | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Jason Grout, Ryan Grout
Merged: | Dependencies:
---------------------------+------------------------------------------------
Changes (by mhampton):
* owner: burcin =>
Comment:
This seems to be faster and less buggy than before, although I still have
a pretty easy time tripping it up. For example, the following crescent
region causes problems if its not translated as I do below, but even when
its translated so that 0 is in the interior the spiderweb plot looks
wrong:
{{{
npi = N(pi)
crescent = [(cos(t)+.9,sin(t)) for t in srange(npi/2,3*npi/2,npi/12)]
crescent = crescent + [(5.0*cos(t)/6+.9,sin(t)) for t in
srange(3*npi/2,npi/2,-npi/12)]
ps = polygon_spline(crescent)
f = lambda t: ps.value(real(t))
fprime = lambda t: ps.derivative(real(t))
m = Riemann_Map([f], [fprime], 0.25, ncorners=24)
show(m.plot_colored() + m.plot_spiderweb(pts=100),figsize=[6,6])
}}}
But maybe that sort of problem should be in a seperate ticket.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8867#comment:16>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac?hl=en.