Linked Questions
9
votes
1
answer
5k
views
How can I view the code implementing a built-in Mathematica function? [duplicate]
Possible Duplicate:
What is the most convenient way to read definitions of in-memory symbols when we don’t have the source files?
I would like to look at the code that implements ...
6
votes
1
answer
617
views
Is there a method to look inside at the internal code of Built-In functions? [duplicate]
How can I look at the code of built-in functions?
Is there something like this:
LookInsideFunction[SubsetQ]
RETURNS
...
9
votes
0
answers
239
views
Finding hidden treasure (aka finding undocumented functions) [duplicate]
I was searching for a way to determine if a point is within a polygon and stumbled upon rm -rf's answer. (actually, I really wanted to find a point within a ...
1
vote
1
answer
144
views
How to unprotect/see the code of a command in Mathematica [duplicate]
How do you see the code form of a command in Mathematica?
I know there is a command in Mathematica, "Unprotect[]", but how do you actually use this?
0
votes
1
answer
105
views
Information (??) of function defined in Package return the function with long name of variables [duplicate]
When I call Information of a function defined in Package I get always the result that shows the function with full name Private variables.
For example:
...
2
votes
0
answers
75
views
Where is documentation for Control`PoleZeroPlot? [duplicate]
An earlier question here mentioned Control`PoleZeroPlot, which I've found useful. Typing Names["*`PoleZeroPlot] returns
...
0
votes
0
answers
28
views
Seeing definitions of built-in functions [duplicate]
Possibly a very amateur question, so I'll apologise in advance. I'm reasonably new.
I'm trying to write a Dot equivalent of ...
604
votes
19
answers
158k
views
Where can I find examples of good Mathematica programming practice?
I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
89
votes
11
answers
20k
views
How to check if a 2D point is in a polygon?
Background: I use code from An Efficient Test For A Point To Be In A Convex Polygon Wolfram Demonstration to check if a point ( mouse pointer ) is in a ( convex ) polygon. Clearly this code fails for ...
93
votes
4
answers
6k
views
Automatically generating a dependency graph of an arbitrary Mathematica function?
Has anyone written a function to pull the function dependencies of a function? That is, it would be nice to have a function that returns a list of function dependencies as a set of rules, terminating ...
117
votes
4
answers
6k
views
Programmatic formatting for Mathematica code - possible?
It seems to be both an interesting programming challenge and a very useful practical application to have a Mathematica program which would allow one to pretty-print Mathematica code, so that it is ...
37
votes
5
answers
1k
views
Any ideas on how to use the Region` context?
If you type
?Region`*
you'll get:
which seems a bunch of interesting and not documented symbols.
Any idea (or experience) on how to use them?
Edit
By ...
24
votes
5
answers
4k
views
Is it possible to use Mathematica to record sound and/or vision?
I think the title says it all. I know about ImageCapture which seems to capture stills.
Can ImageCapture be made to capture a ...
30
votes
2
answers
3k
views
Switch from logarithmic to linear scaling partway along a plot's axis
In the 2015 Planck satellite results, they give the latest plot of the temperature power spectrum of the cosmic microwave background, which I show below. (I am only interested in the main plot; you ...
41
votes
1
answer
4k
views
FindFaces: how to improve the results of the face recognition feature
In Mathematica 9, the FindFaces command offers an easy way to detect faces. In some experiments, I've been getting reasonable results, but I'd like to know if there ...