Questions tagged [integrate]

Avoid using this tag as it is vague. For system integration, use tag [integration]; for numerical integration, use tag [numerical integration] as well as the tag for the computing language you are using.

Please avoid using this tag as it is vague. For system integration, use tag [integration]; for numerical integration, use tag [numerical integration] as well as the tag for the computing language you are using.

465 questions
5
votes
1 answer

How to increase the speed of an integral?

I have a function of the form which I want to integrate: def f(z, t, q): return t * 0.5 * (erf((t - z) / 3) - 1) * j0(q * t) * np.exp(-0.5 * ((z - 40) / 2) ** 2) I have taken this function as an example to understand and show the difference…
Shankar_Dutt
  • 115
  • 9
5
votes
0 answers

Android Dynamic Asset Delivery in React Native

I want to use dynamic asset delivery in my react native app. But I don't know how to use this in react native. Please help me!
Trung Tran
  • 51
  • 1
5
votes
1 answer

Integrate a 2D vectorfield-array (reversing np.gradient)

i have the following problem: I want to integrate a 2D array, so basically reversing a gradient operator. Assuming i have a very simple array as follows: shape = (60, 60) sampling = 1 k_mesh = np.meshgrid(np.fft.fftfreq(shape[0], sampling),…
F. Win
  • 390
  • 5
  • 17
5
votes
2 answers

Integrate: the integral is probably divergent

I was doing some integration into a loop using integrate and I come up with an error I can't understand neither get rid of. Here is a MWE I could extract: u_min = 0.06911363 u_max = 1.011011 m = 0.06990648 s = 0.001092265 integrate(f =…
ClementWalter
  • 4,814
  • 1
  • 32
  • 54
5
votes
1 answer

Python: integrating area under curve with uneven steps in x

I have a list of y values and a list of x values. I would like to find the area under the curve defined by these points. I have found a couple of solutions to this problem for x values with even spacing: 1) Calculating the area under a curve given…
user3390452
  • 51
  • 1
  • 2
5
votes
1 answer

About using quad in MATLAB

I encounter a strange problem with quad function. I was using quad to calculate simple integral, and it worked for 10 to 20 times, then Matlab issues the following error: Error using quad (line 75) The integrand function must return an output vector…
4
votes
3 answers

Communicate Java and C#

I'm working on a project that uses an RFID reader, which only works with a library in C#. The thing is I'd really like to work with Java (develop the rest of the program, GUI, etc), and use the C# program just to ask the reader to read the…
4
votes
1 answer

Using R's integrate() with functions from R and Rcpp

Function dt in R can sometimes throw warning messages depending on the values used in the computation. For example, dt(1.424781, 1486, -5) shows Warning messages: 1: In dt(1.424781, 1486, -5) : full precision may not have been achieved in…
4
votes
1 answer

How to find out which values a function f is called when using scipy.integrate.quad?

I have a function f(x) = 1/x^2 and I evaluate the integral from 0 to 1 using scipy.integrate.quad. scipy.integrate.quad is an adaptive integration routine and I would like to know in which regions of [0,1] is the function f evaluated. So, for which…
tinky
  • 41
  • 2
4
votes
1 answer

Integrate R with NodeJS

I'm new in Node and I'm searching for a way to integrate Node js with the R compiler. How can i run a R script in Node or maybe compile it with R and then get the result ? Thanks I need something like this ... // i need to compile and get the…
John
  • 53
  • 1
  • 5
4
votes
1 answer

Bug in Integrate vs NIntegrate in mma8

What is going on here (Mathematica version 8.x): NIntegrate[Log[1/2 + Sqrt[1/4 - 1/(4 x^2)]]/x, {x, 1, Infinity}] --> -0.171007 Integrate[Log[1/2 + Sqrt[1/4 - 1/(4 x^2)]]/x, {x, 1, Infinity}] // N --> 0.171007 The NIntegrate[] value is correct. I…
Timo
  • 4,246
  • 6
  • 29
  • 42
4
votes
2 answers

How to integrate every single changelist when merging/resolving in Perforce?

I'm fairly new to Perforce but I already have experience with DVCS like Git and Mercurial and I'm familiar with the basic principles of Perforce. I played a bit with p4v today and made a branch of some play code by using the Integrate... function. I…
Lukas
  • 369
  • 3
  • 10
4
votes
6 answers

How to set fixed step size with scipy.integrate?

I am looking for a way to set a fixed step size for solving my initial value problem by Runge-Kutta method in Python. Accordingly, how I can tell the scipy.integrate.RK45 to keep a constant update (step size) for its integration procedure? Thank you…
behzad baghapour
  • 127
  • 2
  • 11
4
votes
1 answer

python fitting curve with integral function

I would like to fit data with integral function(truncated gamma distribution). I tried following code, but errors occur. I am appreciate if you would kind help me. Thank you very much in advance. %matplotlib inline import numpy as np from scipy…
user8591280
  • 69
  • 1
  • 5
4
votes
3 answers

Integrating bank accounts

Is there any API to integrate bank accounts into a .NET application? I am looking to provide the user an ability to pull bank statements into my software. Please suggest.
user578299
  • 65
  • 1
  • 1
  • 3
1
2
3
30 31