Unanswered Questions
394 questions with no upvoted or accepted answers
43
votes
0
answers
1k
views
Performance problems in new Sequence functions
The new-in-10.1 Sequence* family of functions should provide newly optimized methods for handling sequence problems. Happily in some cases they do! For example ...
10
votes
0
answers
230
views
Is there a documentation generator for Mathematica?
I'm looking for a way to document the functions of my packages inline, preferably inside comments. There should be a Doxygen type tool for this that takes comments and that generates html from markup ...
8
votes
0
answers
338
views
Performance of pure function - Best way to define a function?
In general, to define a function, we often use f[x_]. Another way is to use pure function (full form and shorthand). I want to test the performance of these ...
7
votes
0
answers
273
views
Exceeding recursion limit with no obvious recursion: Optional pattern-matching causing nonlocal behavior
So, I've come across something strange, and wanted to get a deeper understanding of what was going on. Consider the following code:
...
7
votes
0
answers
275
views
What is the difference between GenerateDocument and TemplateApply[NotebookTemplate[
Bug introduced in V10.0 and persisting through V10.4
Since V10.3 the bug still remains but additionally the Genarate and ...
6
votes
0
answers
310
views
How to perform feature selection for machine learning applications?
Feature selection is fairly easy in e.g. Python's scikit-learn which sports a module and tutorials or MATLAB.
Mathematica even touts that it uses feature selection ...
6
votes
0
answers
348
views
Finding periodic cycles of a function
Given a function f[{x,y}] it is rather simple to use, for example, NSolve to find periodic points of period $n$. We simply take ...
6
votes
0
answers
202
views
A Curiosity: What is DispatchQ?
As shown below, my autofill in Mathematica showed an interesting function: DispatchQ. Yet, it does not appear in the Mathematica Documentation Center, a search for ...
6
votes
0
answers
800
views
Totally Antisymmetric Function
My current implementation for a totally antisymmetric function is like this:
...
6
votes
0
answers
145
views
When does Root have a third argument
In Mathematica "11.0.1 for Microsoft Windows (64-bit) (September 20, 2016)",
Root[#^4 + 1 &, 2];
actually has three arguments, as can be seen from
...
6
votes
0
answers
142
views
Different behavior of Power between versions 9 and 10
Rather by accident I've noticed that the following trivial code produces different output in Mathematica 9 and 10:
-((-1)^n)
Mathematica 9:
$-(-1)^n$
...
6
votes
0
answers
302
views
Strange Integrate behavior (a bug!)
The following two calculations should give the same result. After all, integration is a linear operation.
I have pasted the code below in case you want to play with it.
...
5
votes
0
answers
249
views
Hypergeometric Function Integration Using Mellin-Barnes Representation
I have the following integral:
$$
I=\int_0^1 d \alpha d \beta d \gamma r(\gamma) s(\alpha, \beta) T(\alpha, \beta, \gamma)
$$
where I define
$$r(\gamma)=(\gamma(1-\gamma))^{ -1 / 2+\epsilon / 2}$$
and,...
5
votes
0
answers
173
views
Create custom definition for chain rule of partial derivative of a vector-valued function
I'm trying to calculate derivatives of expressions involving an unknown function $F: \mathbb{R}\times\mathbb{R}^n\times\mathbb{R}^n \rightarrow \mathbb{R}^n$, with respect to a parameter $h \in \...
5
votes
0
answers
279
views
FindGeometricTransform not working properly for a simple problem
I am surprised why FindGeometricTransform is failing to automatically register or align two sets of points that are drawn from a ...