Skip to main content

All Questions

5 votes
2 answers
289 views

What do the arguments of a generated BSplineFunction mean?

For example, if we evaluate this: BSplineFunction@{{0,100},{200,50},{200,0}} we'll get ...
rnotlnglgq's user avatar
  • 3,740
5 votes
0 answers
65 views

What are the valid options for the "ParametricCaching" option in ParametricNDSolve?

I am using ParametricNDSolve as part of the calculation of an objective function for an optimization, so I am trying to strike a balance between memory usage and ...
Michael Seifert's user avatar
11 votes
1 answer
258 views

What's the solver behind Method -> {“EquationSimplification” -> “MassMatrix”}

Related: What's behind Method -> {“EquationSimplification” -> “Residual”} By reading the document carefully, I've learnt that there are 3 possible options in "EquationSimplification" ...
407PZ's user avatar
  • 1,461
19 votes
1 answer
181 views

Why does setting SyntaxInformation add a definition to DefaultValues

Before setting any definitions to the symbol f, the DefaultValues of f is empty: ...
QuantumDot's user avatar
  • 19.7k
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 ...
Valerio's user avatar
  • 1,982
24 votes
2 answers
592 views

What can be inlined by "InlineExternalDefinitions" -> True?

This not-well-documented option of Compile has been used quite a bit in this site, and based on these examples, I used to think ...
xzczd's user avatar
  • 67.1k
12 votes
3 answers
378 views

What is the equivalent of $ModuleNumber for DynamicModule

Mathematica provides access to $ModuleNumber which can be enormously useful. Unfortunately I can't find the equivalent for ...
b3m2a1's user avatar
  • 47k
13 votes
1 answer
2k views

Possible Method for MatrixExp

Well, probably a hard question, but I think it's better to cry out loud :). I noticed that MatrixExp has a Method option when ...
xzczd's user avatar
  • 67.1k
9 votes
0 answers
235 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 ...
bobthechemist's user avatar
60 votes
1 answer
3k views

What's inside InterpolatingFunction[{{1., 4.}}, <>]?

I'm curious what's inside the InterpolationFunction object? For example: ...
xslittlegrass's user avatar