Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 6358

Questions on undocumented functionality of Mathematica. Note that such functions might be subject to change without notice in future versions.

17 votes
Accepted

Can't make more than 249 Internal`Bags in a Table

Seems to be the same underlying issue as here: by default, Table compiles its argument when the number of values is 250 or more. Evidently Internal`Bag doesn't like this! If all Internal`Bags are th …
Chris K's user avatar
  • 20.4k
2 votes
1 answer
100 views

Using TemporalData`DropTimes

I'm not able to figure out how the undocumented command TemporalData`DropTimes described here works. …
Chris K's user avatar
  • 20.4k
13 votes
1 answer
197 views

Can't make more than 249 Internal`Bags in a Table

I need a lot of Internal`Bags so I made them with Table. It works fine for 249 or fewer Bags but goes horribly wrong for 250 or more: Table[Internal`Bag[0], {i, 249}] (* {Internal`Bag["<" 1 ">"], .. …
Chris K's user avatar
  • 20.4k
3 votes
0 answers
38 views

ExtrapolationHandler near miss

I want to use the undocumented option ExtrapolationHandler of InterpolatingFunction to set the value outside the range. Here's a toy example showing my problem. …
Chris K's user avatar
  • 20.4k
8 votes
1 answer
191 views

Can we construct our own NDSolve`StateData?

NDSolve can be broken into three stages: NDSolve`ProcessEquations processes the equations and sets up an NDSolve`StateData object NDSolve`Iterate iterates the differential equations NDSolve`ProcessS …
Chris K's user avatar
  • 20.4k
6 votes
Accepted

Can we construct our own NDSolve`StateData?

This is a partial answer to the first two questions (what is inside an NDSolve`StateData object? can we create our own valid NDSolve`StateData object to bypass NDSolve`ProcessEquations?). It's only …
Chris K's user avatar
  • 20.4k
6 votes
1 answer
171 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 can't get it to work efficiently. An …
Chris K's user avatar
  • 20.4k