Questions about the use of built-in Mathematica functions, including pure functions.

learn more… | top users | synonyms

-2
votes
1answer
164 views

How to pass arguments between functions

I have two Functions, f[] and g[]. f is passed some values ,say ...
9
votes
0answers
117 views

What is PointForm?

I stumbled across a function called PointForm but the only documentation I can find is the pop-up line offered by autocomplete, which contains the same information ...
5
votes
0answers
119 views

What Method options does FindInstance accept?

While answering Trouble getting FindInstance to return multiple results for certain constraints it became clear that for this problem FindInstance would be better ...
3
votes
0answers
78 views

Mathlink and multithreading

In order to make my computations faster I have developed a C/C++ application calling Mathematica kernel and performing many operations using Mathematica functions for equation solving. Now I want to ...
3
votes
0answers
120 views

Help on how to write a function to be used with NMinimize

I need some help to write a proper function to be used as a parameter on NMinimize. Here is the code of the function to be minimized (Please correct, optimize and rewrite the code if you want to - I ...
3
votes
0answers
256 views

How can I solve this complicated custom function numerically?

I have a complicated function that calculates the total value of payments from an account into which deposits are made annually. I'd like to solve the function for a growth rate numerically, but ...
3
votes
0answers
85 views

ProbabilityDistribution PDF on boundary points

I would like to evaluate the PDF of a custom ProbabilityDistribution at the min and max values. However, PDF[...] returns 0 at ...
2
votes
0answers
97 views

Is there documentation on the comparative performance of Mathematica functions?

Recently I have been solving some Project Euler problems. I find there are always several ways to do the same thing. For example, one could join two lists like this: ...
2
votes
0answers
60 views
2
votes
0answers
77 views

Evaluating a function on permutations of its arguments

Say I have a function "temp" of $n+1$ variables, $y,z1,z2,z3,...,zn$. I want to test if my function has certain symmetries like swapping $y$ with square of any $z$, swapping any two of the zs, ...
1
vote
0answers
45 views

Does Graphics`Mesh`SimplePolygonQ[] work for you?

Graphics`Mesh`SimplePolygonQ is an undocumented function. I'm using Mathematica 7, and when I try: ...
1
vote
0answers
76 views

Notebook UI: Autocompletion - Display function arguments when typing?

Is there a setting to display the required arguments of a function when typing as Visual Studio, Matlab, etc. does?
1
vote
0answers
70 views

Solving for vector elements in a function to which the vectors are not passed explicitly

I want to define a function which takes in two integers (indicating the lengths of 2 vectors), and solves a simple set of expressions at a set of points to find all the values in both the vectors. so ...
1
vote
0answers
73 views

How can I obtain the function described by given set of central moments?

I want to investigate how my function P behaves with different probability functions rho as input variables. This means ...
1
vote
0answers
74 views

How can I remove dynamic Property?

I make a function name as IncrementInputFieldsCreation. ...
1
vote
0answers
116 views

How to use If with long instructions?

I would like to execute the following code, in which if the condition is true it should execute two instructions instead of one. When I run the code the instructions are executed, but no result is ...
1
vote
0answers
89 views

Skip one step of the loop if there is NIntegrate::eincr: message

is there possibility to skip one step of the loop if in this step there appear error like NIntegrate::eincr:? For example: when I use "do" loop and when one of the step is evaluating I would like to ...
0
votes
0answers
62 views

FindMaximum inconsistency

The code below seems to work for n<11. But for n=11, and above, it outputs newa then just outputs "beep" sound. WhyTheBeep says "The kernel Local has quit ...
0
votes
0answers
91 views

Strange result from integrate

I am working on the following problem. However, the first task takes too long, although the answer 0 is correct. In the second task, to reduce the calculation time, ...
0
votes
0answers
155 views

How Can I Use Conditional with Rational Domain Restrictions

I am reasking this question in a new thread. My previous post How Can I Use Solve/Reduce Output? seemed to have led to a an interesting dissussion of how to (better) solve the problem that produced ...
-1
votes
0answers
56 views

Why is NonlinearModelFit calling the model function with symbolic arguments?

I have a model to fit which is made of numerical functions and so it can give a value for any numerical value of the arguments, but creates an error when called with symbols. ...