Questions tagged [undocumented]

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

Filter by
Sorted by
Tagged with
22
votes
2answers
739 views

How to know the usage of undocumented function like LinearAlgebra`BLAS?

BLAS is not documented in mathematica. Using ?LinearAlgebra`BLAS`* gives But None of the function has a detailed usage information Click any of the function ...
18
votes
1answer
258 views

DynamicLocation usage

Background DynamicLocation can be very useful: ...
14
votes
2answers
938 views

The only usage for the option InterpolationOrder in NDSolve is to be set to All?

We know that changing the option InterpolationOrder in ListLinePlotListPlot3D、...
11
votes
1answer
219 views

How can I define symbols but not have them show up in the front end?

I have a huge set of packages with, arguably, far too many functions. Paring down the number of functions, while a good thing to do eventually, is something I just don't want to spend the time on ...
1
vote
1answer
116 views

What does Charting`$MajorTickLength do?

I know I can specify tick lengths using the Ticks option in Plot and related functions, and I also know about the CustomTicks ...
39
votes
1answer
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 ...
13
votes
2answers
384 views

What does IndexBy do and how exactly does it work?

I just saw the function IndexBy in the autocomplete suggestions and I was curious to know exactly how it works. Unfortunately, there's no trace of it in the ...
5
votes
0answers
96 views

What objects other than Button can take rules for their Appearance options?

So I was messing with the ServiceConnect dialog and I stumbled upon this hidden in a ButtonBox in its code: ...
3
votes
1answer
72 views

What does the “AutomaticDelete” option for LibraryFunctionLoad do?

Apparently, LibraryFunctionLoad has an option "AutomaticDelete" with default setting ...
10
votes
0answers
120 views

Is “MaxMessageCount” broken or is its function counter-intuitive?

Behavior remains unchanged through Mathematica version 11.1 As noted by kguler the Front End option: MessageOptions -> "MaxMessageCount" does not appear to have ...
8
votes
0answers
105 views

What do the Internal`Compare* functions do?

As part of looking at this question I dug into Names["Internal`*Compare*"] and ended up with: ...
4
votes
0answers
75 views

What can the *MutationHandler* functions do? [duplicate]

So in this answer we see the only use I know of of the function Language`SetMutationHandler. And just to see what it could do I tried it on one version of my OOP ...
8
votes
1answer
175 views

Can anyone guess what Internal`RadicalMemberQ does?

There is an undocumented function Internal`RadicalMemberQ which takes two arguments. But whatever input I try for the two arguments, it seems to crash the kernel (...
2
votes
1answer
68 views

Get an Attached Cell

I want to dig into what this cell is doing: It's clearly an attached cell but I can't get at it. Here's what I've tried: Cells (pretty obviously not gonna work, ...
13
votes
2answers
520 views

What is FrontEnd`AttachedCell?

Perhaps it's not accessible from the front end, but what is this so-called attached cell? ...
5
votes
1answer
69 views

What is the list of all Heads that Collect threads over?

After spending hours of debugging my program, I found that Collect threads over Rule. While the documentation (under Details ...
9
votes
1answer
222 views

What's purpose of the Internal`ToEquivalenceClass [closed]

There is a kernel function Internal`ToEquivalenceClass.I don't know how to use it.There are some right example right to run ...
29
votes
1answer
792 views

How to use the iterator in Mathematica

I find the Mathematica has the iterator data structure. We can build some iterators like this: Constant iterator GeneralUtilities`ConstantIterator[5] Key ...
21
votes
2answers
787 views

Pure function with attributes of arbitrary number of arguments: Is it possible?

Mathematica allows to define pure function, like Function[{a, b},Length[Unevaluated@a]{b}][1+2,2+3] (* ==> {0} *) Pure functions in Mathematica can take an ...
5
votes
1answer
234 views

What's purpose of function System`Private`LookupCodeByName and System`Private`LookupNameByCode [closed]

These are useful function from their name.And they are kernel function since: ...
4
votes
1answer
129 views

Extracting data from Data paclet

In the $UserBasePacletsDirectory there are lots of paclets that have only Data as an element. These are loaded via the ...
8
votes
1answer
196 views

What's the purpose of the GeneralUtilities`UnpackOptions?

?? GeneralUtilities`UnpackOptions ...
50
votes
9answers
2k views

Items known by CurrentValue

CurrentValue can be used to poll the state of numerous system values such as the mouse position. Its help page doesn't list all possible items, though. An item like ...
3
votes
1answer
53 views

How do I prepare images to be used as Appearance arguments?

So this is really in many ways a follow up to this question: Complete list of FrontEndResources For a while now I've been using FrontEndResource specified ...
2
votes
0answers
101 views

Where is URLExistsQ in version 11?

Searching this function in the doc,it found nothing. Is this function be removed? I want to check weather the url can access from my country. ...
25
votes
4answers
695 views

How does Internal`CompareNumeric work?

In this answer, Oleksandr R. mentioned an undocumented function Internal`CompareNumeric and briefly explained its usage as follows: ...
2
votes
0answers
85 views

Internal`LocalizedBlock doesn't support Protected symbols and emits weird messages

Protect[x]; Internal`LocalizedBlock[{x[0]}, x[0] = 1; x[0]] ...
24
votes
1answer
287 views

How to get old message formatting in version 11?

Version 11 uses a new-style message formatting. The new style has useful features, and it is usually desirable. However, when saved in a notebook, it doesn't display correctly in older versions of ...
1
vote
1answer
94 views

What does the return value of Internal`ArgumentCountRegistry mean?

Internal`ArgumentCountRegistry sometimes will give a value about some function.Such as ...
11
votes
0answers
339 views

Setting non-standard ImageResolution for EMF export as default

Mathematica has a bug in that BarCharts and ListPlots with Filling will export as a ...
5
votes
1answer
184 views

What is the purpose of GraphComputation`MeshGraph?

When I use GeneralUtilities`PrintDefinitions to print its definition,I will get this information: So I think this function can convert a ...
3
votes
1answer
209 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: ...
8
votes
1answer
182 views

Complete list of FrontEndResources

tl;dr I'm interested in finding a complete list of the strings that can be passed to FrontEndResource (I only need the first string, in the cases where two strings ...
10
votes
1answer
260 views

LibraryLink: Asynchronous Examples

Inside the directory structure of LibraryLink there are several example files. Basically, they are divided in two types: Synchronous: demo.c, demo_error.c, ...
14
votes
2answers
1k views

Changing the `ExtrapolationHandler` Function in Any Interpolation

This is a related question to What's inside InterpolatingFunction[{{1., 4.}}, <>]? and Suppress extrapolation of interpolating function in a ContourPlot. When interpolating a set of points,...
8
votes
0answers
173 views

Regarding Evaluated True

Done a bit of reading: Normal[Series[ ]] does not give a normal expression Regarding the Evaluated->True, consider: ...
4
votes
0answers
68 views

Optimization`FindFit`ObjectiveFunction and PenaltyFunction

Consider the following toy example: model = a Cos[w t]; data = Table[{t, Cos[2.1 t]}, {t, 0, 10, .25}] + RandomReal[.1, 41]; as both an unconstrained problem: <...
12
votes
2answers
339 views

Classify / Predict: ensemble of classifiers / predictors

Mathematica has undocumented functionality of combination classifiers / predictors in ensemble. How to get access to this functionality? SeedRandom[1]; X = Table[ Join[ ToString /@ RandomReal[{...
6
votes
1answer
2k views

Parsing a caffe prototxt file?

Caffe has its own visualization tools, for instance you and draw all the layers in a network easily like so: But I wanted to analyze a network structure myself in mathematica, so I started to write a ...
11
votes
1answer
229 views

InlinePart. What is it and what happened to it?

So a while back I was searching for an unused high-application order symbol I could use for an OOP framework and I ran across InlinePart (esc @> esc) in my ...
4
votes
1answer
75 views

WriteRawJSONString vs ExportString?

What's the difference between Developer`WriteRawJSONString[] and ExportString[]? I see it used a lot but don't see a difference:
1
vote
0answers
62 views

What can we do with the Dump contexts? [closed]

So we know from here what the *Dump contexts signify and here Rojo found a very useful goody that involves them: ...
15
votes
1answer
233 views

Is there a way to control which special forms Normal converts?

Normal documentation reads: Normal[expr] converts expr to a normal expression, from a variety of special forms. But is there a way to control which special ...
4
votes
1answer
137 views
5
votes
1answer
136 views

What is the purpose of MatchLocalNameQ?

I found a kernel function which is undocument MatchLocalNameQ.But I don't know the purpose of it. ...
27
votes
2answers
659 views

What is the purpose of Internal`LocalizedBlock?

I have come across the (internal) use of the function: Internal`LocalizedBlock I am trying to determine its purpose. It seem to behave like ...
1
vote
0answers
51 views

What are all the returns from FrontEnd`NeedCurrentFrontEndSymbolsPacket

So Mr. Wizard points out here that we can get all the FE packets via FrontEndExecute[FrontEnd`NeedCurrentFrontEndSymbolsPacket[]][[1,1,4]] I was wondering what all ...
34
votes
6answers
2k views

What is the complete list of valid Front End Tokens?

What is the complete list of valid Front End Tokens? Preferably, by version number. Keywords: FrontEndToken, ...
8
votes
3answers
339 views

Reduce ODE into 1st order

I have an explicit set of differential equations: $ \ddot{x}=f(x,\dot{x})$ I would like to reduce it in the following way: $ \dot{y} = g(y)$ by substitutions as shown here: wikipedia. I have done ...
11
votes
0answers
412 views

How to read and write data to open socket?

I am trying to open connection with socket. I am using this: ...