All Questions
Tagged with undocumented performance-tuning
14
questions
2
votes
1
answer
81
views
Internal`MRealToString Gives Scientific Output From Large Inputs. How To Stop This?
The undocumented Internal`MRealToString works just fine for reals up to 999999. For anything over it outputs scientific notation. I don't need scientific, I need simple decimal.
...
13
votes
2
answers
305
views
Arithmetic operations on NumericArrays
Currently, NumericArrays are directly supported by the most important array-related functions, what makes them a very attractive data structure for implementing ...
6
votes
1
answer
168
views
How to vectorize this nonlinear ODE system for NDSolve?
I learned a long time ago that NDSolve can often be sped up by vectorizing systems of equations. I've got a problem now that seems ideal for this approach, but I ...
14
votes
1
answer
304
views
How is the Hessian computed using ``Experimental`NumericalFunction``?
Here and here it was explained how to use Experimental`NumericalFunction to compute the Hessian of a numerical function. I would like to know how this undocumented ...
6
votes
1
answer
135
views
Return list from FrontEndExecute
This is a question that's been bugging me for quite some time, now.
When we call the FE in a batched mode we can only get one result out. For instance, we could try to get two stylesheet files. First ...
21
votes
0
answers
411
views
Internal`Bag memory usage
1. How does Internal`Bag handle memory inside a compiled function? (examples below)
2. Is there a way to explicitly free up memory used by ...
4
votes
1
answer
304
views
Fast reading, writing of png images
One of the fastest implemented mathematica function to read png images was showed here by MarcoB
The code for reading a png he proposed is:
...
2
votes
1
answer
416
views
Where is NumericalMath`OptimizeExpression`
In one of my older Notebooks I found a reference to NumericalMath`OptimizeExpression. When I wrote it, I handed the result of some transformations to
...
15
votes
1
answer
322
views
What are the main differences between RawArray and PackedArray?
What I know:
PackedArray is documented (to some extent) in "Developer Utilities Package", RawArray is just mentioned in ...
25
votes
1
answer
683
views
Why is SatisfiabilityCount faster than SatisfiableQ?
Consider the following (large) Boolean expression, which arose in a SAT problem. (The expression is not satisfiable.)
...
7
votes
1
answer
191
views
How does Internal`PolynomialFunctionQ work?
I found that Internal`PolynomialFunctionQ performs much better than PolynomialQ.
Here is a huge random polynomial in 12 ...
4
votes
0
answers
196
views
strange timing result of LinearAlgebra`BLAS` in mathematica? [closed]
BLAS is short for "Basic Linear Algebra Subprograms". It is a famous collection of routines for doing linear algebra. I just know from Oleksandr R. that mma can directly call BLAS under the context "...
47
votes
2
answers
2k
views
How to work with Experimental`NumericalFunction?
This question is intimately connected with previous one: "How to create internally optimized expression for computing with high WorkingPrecision?"
Oleksandr R. correctly states in the comment:
A ...
85
votes
2
answers
5k
views
Internal`Bag inside Compile
Since Internal`Bag, Internal`StuffBag and Internal`BagPart can be compiled down, it is a ...