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 ...
• 37.9k
418 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: ...
719 views

### NIntegrate not working after interpolation

I used linear interpolation between points: ...
• 1,275
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,876
847 views

### NIntegrate piecewise vector function

Is there a way to numerically integrate a vector function defined via Piecewise? Example: ...
• 133
414 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{...
• 10.3k
308 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 ...
226 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 ...
• 131
77 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 ...
• 443
1 vote
221 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 ...
• 845
87 views

### How to make integrals of interpolated matrices constructed by other interpolated quantities?

I have the following code producing an interpolated unitary matrix: ...
• 55
107 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: ...
• 2,702