44 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?
82 views

### Implementation of ShearingMatrix

How does Mathematica implement ShearingMatrix? In other words given the parameters $\theta$, $n$ and $v$, what is the formula behind it?
90 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: ...
220 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 ...
1k views

### Poor CUDALink performance, when calling a kernel multiple times

When working on a project of mine I noticed that CUDALink shows very poor performance when calling CUDA kernels multiple times in a loop-construct. To demonstrate this I put together this little ...
518 views

### Code formatting

This question is a follow up from Formatting notebook files In Programmatic formatting for Mathematica code - possible? masterxilo proposed to use ...
258 views

### Undocumented function SumOfSquaresReps

There is an interesting (and documented) number-theoretic function in MMA called PowersRepresentations[$n$, $k$, $p$]. It gives the distinct representations of the integer $n$ as a sum of $k$ non-...
188 views

### DownValues for Built-in Functions

N.B. I have bitten the bullet, and I am going through Leonid Shifrin's "Mathematica Programming: An Advanced Introduction." (Which needs no introduction in this forum) One question I have: could one ...
191 views

### Why is my parallel version of DensityPlot slow?

I am exploiting the possibility to parallelize DensityPlot. This is my naive implementation ...
121 views

### Variational derivative of a functional depending on multiple functions

I wanted to use the VariationalD command to calculate a list of variational derivatives. A simple example is the following and it works perfectly fine. ...
63 views

### Where is documentation for ControlPoleZeroPlot? [duplicate]

An earlier question here mentioned ControlPoleZeroPlot, which I've found useful. Typing Names["*`PoleZeroPlot] returns ...
172 views

### Gradient Filter Function

I am trying to understand EXACTLY what the GradientFilter function in Mathematica is doing. As far as I can tell, it appears to be doing a convolution of a first derivative of a Gaussian with the ...
77 views

### Is there packages can help read, analyze or understand MMA codes? [closed]

Sometimes, I think that it's difficult to learn high level codes, or even when looking back on some long lines of codes I myself had written, espectially when lots of pure-functions was used, so I'm ...