#16581: Added tides based desolvers
-------------------------------------+-------------------------------------
Reporter: mmarco | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.3
Component: numerical | Resolution:
Keywords: sd59 | Merged in:
Authors: Miguel Marco | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/mmarco/ticket/16581 | 8b12bac74d036ab7546c63f9a8de2b8d0ef0f9e0
Dependencies: #16578, #16579 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by vbraun):
Thanks for posting here!
Its of course faster to do anything numerical in compiled code. But there
is a reason why we don't always do that (e.g. when plotting functions). At
the end of the day it is just a trade-off between speed in a single
example vs. preprocessing time and ease of use. Imagine you want to solve
a million ODEs, each only a short bit into the future. In any case, this
need not be done on this ticket.
Miguel:
* use subprocess.check_call instead of os.system to catch potential errors
* "which" is not posix, use "command -v"
* Use sage's tmp_dir instead of mkdtmp
* os.path.join instead of hard-coding "/" as directory separator
* less blank lines (see pep8). Double blanks only to separate class
definitons and top-level functions.
* You should link to Sage's mpir/mpfr instead of the system default. Use
`gcc -I$SAGE_ROOT/local/include -L$SAGE_ROOT/local/lib` for header and
library search paths.
--
Ticket URL: <http://trac.sagemath.org/ticket/16581#comment:14>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.