Questions tagged [functions]
Questions about the use of built-in Mathematica functions, including pure functions.
3,910 questions
2 votes
1 answer
188 views
Converting a list of a function in Mathematica
Assume that I define: ...
12 votes
4 answers
535 views
Recursive anonymous functions with |-> notation
We can define anonymous functions like this: #^2+#+1 & or like this x |-> x^2+x+1 When we want to define a recursive ...
2 votes
1 answer
133 views
How can I add inequality constraints to Solve? [closed]
How can I add constraints to the Solve function? For example, I tried: ...
3 votes
0 answers
235 views
Using Mathematica to boot a laptop
I would like to run Mathematica as an alarm clock that will wake me up by playing a predefined audiofile at a predefined time. This is easy enough to do by defining ...
2 votes
1 answer
101 views
Do functions from a .m file loaded with Get automatically become available on all parallel kernels?
For a package, we use ParallelNeeds to make its functions available on all kernels for ParallelMap. For a ...
5 votes
3 answers
328 views
How to improve the symbolic computation speed for plane geometry with multiple constraint conditions?
This is the simple geometry problem I want to solve: In triangle ABC with side lengths a, b, c respectively, there is a point D on side AB, where AD = d. Find the length of CD. When solving this ...
0 votes
0 answers
70 views
Propagation of errors:
I am working on error propagation in Mathematica for a physics calculation involving tau lepton decay. I have a complex function that calculates the lifetime of the tau lepton based on various ...
2 votes
3 answers
181 views
How to display a Range in a single horizontal line inside a Grid cell in PDF export?
How to prevent Range[...] from breaking into multiple lines inside a Grid cell when exporting to PDF? I have the following code: ...