Linked Questions

4 votes
1 answer
590 views

`FindMinimum` with compiled function [duplicate]

I don't know how to fix this problem: ...
Al Guy's user avatar
  • 1,580
0 votes
0 answers
58 views

Compiled funtion don't understand internal compiled function [duplicate]

I work a lot on Mathematica and sometimes I need to optimize my computations by using compiled functions. Now I'm making numerical integrations and I'm trying to compile the functions involved to make ...
gambarimas87's user avatar
546 votes
37 answers
129k views

What are the most common pitfalls awaiting new users?

As you may already know, Mathematica is a wonderful piece of software. However, it has a few characteristics that tend to confuse new (and sometimes not-so-new) users. That can be clearly seen from ...
8 votes
2 answers
2k views

Using compiled function inside NMinimize

Consider this code: ...
MOON's user avatar
  • 3,834
17 votes
1 answer
4k views

The difference between "SymbolicProcessing" -> 0 and restricting the function definition to numeric values only

The Documentation tells us that there are two ways to disable symbolic processing of the integrand by the NIntegrate function when it is known that it just slows ...
Alexey Popkov's user avatar
4 votes
1 answer
366 views

Why Min cannot be used as constrains of NMinimize?

I met a strange problem when trying to do an optimization. Initialization code, ...
saturasl's user avatar
  • 1,429
1 vote
2 answers
613 views

Integrating an empirical probability density function

I have created an empirical distribution that given an array containing the points px (e.g.{px0,px1,px2,px100}) the ...
Stratus's user avatar
  • 2,882
2 votes
1 answer
768 views

How to use NIntegrate in a purely numerical mode?

I have a function that is defined as the smallest root of a given polynomial. Something like this: ...
Fábio Pinto Fortkamp's user avatar
1 vote
1 answer
216 views

Problem using Compiled Function within NProbability

I've built a very simple function to estimate the probability for a Long Straddle (derivative strategy) to be positive at expiration. ...
Xavier's user avatar
  • 155
2 votes
1 answer
196 views

Using Compiled Function in Implicit Region

I am looking for a way to speed up code and thus would like to use a compiled function in an ImplicitRegion. Here is an example of a region that can be plotted ...
BenP1192's user avatar
  • 934