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
3
votes
2 answers

Integration problem in R when I use the function "integrate"

I'm trying to compute a kind of Gini index using a generated dataset. But, I got a problem in the last integrate function. If I try to integrate the function named f1, R says Error in integrate(Q, 0, p) : length(upper) == 1 is not TRUE My code…
M.C. Park
  • 295
  • 1
  • 10
3
votes
1 answer

How to integrate my recommender systems into my website?

I am building a recommendation system for my website where in the users would be given recommendations based on their choice of visiting products on my website. Similar products would be recommended to the users. However, I have am fairly done with…
Jupyter
  • 131
  • 1
  • 10
3
votes
1 answer

Integrate flash games in android app?

Have 3 flash games that I would like to integrate in a menu / list in an android app. So when the user selects the game from the list, the game starts with help of android flash player. Is it best to do this with WebView or is there something…
xtreme
  • 31
  • 3
3
votes
1 answer

How do I use parameter epsabs in scipy.integrate.quad in Python?

I am trying to compute the integrals more precise by specifying the parameter epsabs for scipy.integrate.quad, say we are integrating the function sin(x) / x^2 from 1e-16 to 1.0 from scipy.integrate import quad import numpy integrand = lambda x:…
zyy
  • 1,271
  • 15
  • 25
3
votes
1 answer

How to integrate purchased theme with rails 5 application ?

I have purchased flatkit theme from themeforst but I don't know how to integrate purchased theme with rails 5 application ?
3
votes
2 answers

DiracDelta not giving correct result

I have to use dirac delta in a complicated integral and was hoping to see how it works with a simple case but it returns the wrong answer. Any clue what I did wrong in the following? from sympy import DiracDelta from scipy import integrate def…
HuShu
  • 501
  • 6
  • 19
3
votes
1 answer

How do I plot a planet's orbit as a function of time on an already plotted ellipse?

I am trying to create a program for my course where the user inputs a time after 1/1/16 and the program will run through the planet's cycle as many times as it needs to and then plot an image of the orbit with the planet in the correct location. My…
thevellocet
  • 53
  • 1
  • 8
3
votes
1 answer

Double Integration of Acceleration into Position using 9-Axis IMU

First post on this forum, hope I'm doing this right. I know there have been several threads on double integration of acceleration in the past, and I know about the errors inherent in an accelerometer that isn't a 200k+ military grade sensor.…
3
votes
2 answers

Python+Scipy+Integration: dealing with precision errors in functions with spikes

I am trying to use scipy.integrate.quad to integrate a function over a very large range (0..10,000). The function is zero over most of its range but has a spike in a very small range (e.g. 1,602..1,618). When integrating, I would expect the output…
scippy
  • 851
  • 1
  • 7
  • 4
3
votes
1 answer

Integrate function with vector argument in R

I have a similar challenge to a previous post: How to pass vector to integrate function I have a function which I want to integrate the area under the curve. First, the [survival] function: surv <- function(x,score) exp(-0.0405*exp(score)*x) #…
jnam27
  • 1,367
  • 2
  • 12
  • 16
3
votes
1 answer

Integrating Matlab with C++

I need to localize facial landmarks as a part of my research project and planning to use Supervised Descent Method (SDM) for that. Both the C++ and Matlab versions are available at the following site and when I contacted them they said C++ version…
3
votes
1 answer

SciPy Quad Integration: Accuracy Warning

I am currently trying to compute out an integral with scipy.integrate.quad, and for certain values I get the following error: /Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/scipy/integrate/quadrature.py:616:…
Benjamin Horowitz
  • 604
  • 1
  • 8
  • 10
3
votes
2 answers

API/SDK to integrate turn by turn navigation in iOS app

do you know a sdk / API which I can integrate a complete turn by turn navigation in my app? is there such a thing?
Meins
  • 145
  • 1
  • 12
3
votes
2 answers

How to integrate MuPDF 1.3 in iOS Project

There is build-in PDF render engine for iOS, but it doesn't solve the "Transparency Flattening" issue. Hence I try to integrate MuPDF 1.3 into project. I tried to use reference the MuPDF project, and it failed. Then I build debug static libraries…
3
votes
2 answers

Simplest way to integrate python gui app with c console app

I have a c console app which converts a c file to a html file, the c file location is passed to the program as a command line argument.(the app is for the windows platform) What I would like to do is have a python gui app to allow the user to select…
volting
  • 16,773
  • 7
  • 36
  • 54