Linked Questions
13 questions linked to/from How to calculate the numerical integral more efficiently?
39
votes
2
answers
2k
views
How to implement custom integration rules for use by NIntegrate?
How can NIntegrate be extended with custom implementation of integration rules?
This answer of the question "Monte Carlo integration with random numbers generated ...
9
votes
4
answers
428
views
How to avoid repetitive calculation when doing numerical integral?
Suppose I have a function f[x] which is very complicated, together with a function g[f[x]]+h[x] to integrate. That is:
...
3
votes
3
answers
724
views
NIntegrate not working after interpolation
I used linear interpolation between points:
...
4
votes
2
answers
2k
views
NIntegrate over a list of functions
This question is the result of these other two questions. Question 1 and 2. I thought it would be better to ask a new question rather than deleting previous one.
I think When ...
3
votes
2
answers
850
views
NIntegrate piecewise vector function
Is there a way to numerically integrate a vector function defined via Piecewise?
Example:
...
9
votes
2
answers
415
views
Unify the sampling of NIntegrate[ {f, g, h} w ]
I'm trying to numerically integrate a function which has a vector-valued slow part and a much faster component which is shared by all the components, i.e. an integral of the form
$$
\int_a^b\begin{...
4
votes
2
answers
314
views
NIntegrate on a solution of a matrix ODE
I've seen similar questions on this site but somehow the solutions there didn't manage to solve my specific problem.
I have a function mat1 that takes a square $n \times n$ matrix G, and some final ...
3
votes
2
answers
228
views
Can this type of function be plotted faster using NDSolve instead of NIntegrate?
In this post How to speed up the plot of NIntegrate? it was suggested that we can speed up the plotting of NIntegrate by using ...
4
votes
1
answer
79
views
Extract symbolically processed form of NIntegrated function
As I understand NIntegrate does some symbolic preprocessing of inputs before it actually goes ahead and numerically integrates. I'm wondering if there is some way to access this intermediate ...
1
vote
2
answers
223
views
NIntegrate or NExpectation a vector function
Question
How do I use NIntegrate/NExpectation to integrate over a vector function for which each element is a function of a ...
0
votes
2
answers
89
views
How to make integrals of interpolated matrices constructed by other interpolated quantities?
I have the following code producing an interpolated unitary matrix:
...
2
votes
0
answers
111
views
NIntegrate a vector function without using Indexed and NDSolveValue?
I encoutered an issue about integrand being non-numerical while trying to integrate a vector function using NIntegrate as shown below:
...
0
votes
0
answers
59
views
Improve speed of NIntegrate for functions which are sums of complex exponentials
I need to improve the efficiency for numerically evaluating a matrix element, which uses NIntegrate of the several functions (which are all sums of complex exponentials).
Creating the functions from ...