Opened 11 years ago

Closed 11 years ago

#11916 closed enhancement (duplicate)

add numerical integration to reference manual

Reported by: Karl-Dieter Crisman Owned by: Minh Van Nguyen
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: documentation Keywords: integral, reference, beginner
Cc: Merged in:
Authors: Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


Somewhat surprisingly, this function (numerical_integral) is not in the reference manual! Let's clean up its documentation and put it there.

Note: this ticket would be superseded by #8321 or #7763 addressing this, though it's not clear that either of them do at this time.

Change History (5)

comment:1 Changed 11 years ago by Paul Zimmermann

Status: newneeds_info

what do you mean by "not in the reference manual"? It is documented:

sage: numerical_integral?
String Form:    <built-in function numerical_integral>
Namespace:      Interactive
Definition:     numerical_integral(func, a, b=None, algorithm='qag', max_points=87, params=[], eps_abs=9.9999999999999995e-07, eps_rel=9.9999999999999995e-07, rule=6)
       Returns the numerical integral of the function on the interval from
       a to b and an error bound.


comment:2 in reply to:  1 Changed 11 years ago by Karl-Dieter Crisman

Replying to zimmerma:

what do you mean by "not in the reference manual"?

I mean it is not in the HTML/PDF document generated by Sphinx, because we haven't added it to that. See and search for this command.

comment:3 Changed 11 years ago by Paul Zimmermann

isn't the HTML/PDF document automatically generated from the on-line documentation?


comment:4 Changed 11 years ago by Karl-Dieter Crisman

Keywords: beginner added

The documentation from the command line is NOT the same as the HTML/PDF documentation. You may have noticed, after a Sage build completes, that it spends some time generating doc; but only modules which are up to snuff in terms of formatting and which someone bothered to add to it gets added. That is a lot of them! But not all. And they do need to be formatted pretty well for that to happen.

Anyway, this is probably a fairly trivial patch to make, looking at examples of how other modules are included, so I'm putting 'beginner' on it. An ideal patch for this would also put in some hyperlink cross-references in the calculus documentation, e.g. at

comment:5 Changed 11 years ago by Jeroen Demeyer

Milestone: sage-duplicate/invalid/wontfix
Resolution: duplicate
Reviewers: Jeroen Demeyer
Status: needs_infoclosed

See #12047 where I do this (I had to edit that file anyway and decided to clean up the documentation while I was at it).

Note: See TracTickets for help on using tickets.