Numerical integration: Difference between revisions

Content added Content deleted
m (→‎{{header|R}}: simpler and more general)
Line 4,545: Line 4,545:


=={{header|R}}==
=={{header|R}}==
{{works with|R|2.11.0}}

The integ function defined below uses arbitrary abscissae and weights passed as argument (resp. u and v). It assumes that f can take a vector argument.
The integ function defined below uses arbitrary abscissae and weights passed as argument (resp. u and v). It assumes that f can take a vector argument.