Tagged Questions
13
votes
1answer
92 views
Standard message definition construct
Why are the messages almost always defined like this (at least in packages):
If[Not@ValueQ[function::usage], function::usage = "Usage message"]
and not just like ...
10
votes
0answers
131 views
Quiet doesn't work with FindRoot when using Brent method
The following has no solution:
FindRoot[x == 1, {x, 0.25, 0, 0.5}]
And Mathematica correctly warns us:
FindRoot::reged: The point {0.5} is at the edge of the ...
5
votes
1answer
77 views
What is the simplest way to determine which call to a superfunction has generated a Message?
I have a complicated function which contains many calls to NIntegrate, NSolve, FindRoot and ...