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
4
votes
0answers
32 views

Get all built-in image files for styling buttons and panels

Mathematica makes use of nine-patch images in styling its resizable interfaces like Panel and Button. Nicer than remaking new ...
18
votes
1answer
475 views

What are Package` context symbols for?

The Package` context contains the following: What is the use of these undocumented functions? I am looking for a concise description of the syntax and purpose of ...
7
votes
0answers
60 views

Special forms for autocompletion strings

Szabolcs has previously dug up a very useful tool to make custom autocompletions. Here's that in action: ...
8
votes
1answer
116 views

Exclude inactived functions from DifferentiationOptions

The list of functions provided in SystemOptions["DifferentiationOptions" -> "ExcludedFunctions"] show which symbols will not be touched by ...
3
votes
1answer
75 views

Using OAuthClient to extend ServiceConnect service that requires authentication and POST

I want to extend the functionality of a service available via ServiceConnect, particularly Google Calendar to insert a new event. That action requieres ...
0
votes
0answers
90 views

Implementing jacknife method

I need to use a jacknife method in order to find the standard deviation of my data. Howvere, I realise there's no built-in fuction (or maybe I couldn't find it), not even a general bootstrap method. ...
9
votes
1answer
169 views

How to defer creating/displaying boxes in front end until requested?

If the size of an output expression is larger than threshold ByteCount, the front end will display an abbreviated version of it by producing an ...
2
votes
1answer
51 views

How can I find all the plot themes for a given function?

Plot themes are useful little things that ease the pain of manually styling Mathematica graphics. I have a few favorites, "Web", ...
13
votes
1answer
161 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 ...
11
votes
3answers
234 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 ...
18
votes
2answers
226 views

Would it be a good idea to use Failure and FailureQ in own code

Since version 10 (at least 10.0.2 but I think 10.0.0) there is Failure and since version 10.2 there is also FailureQ. As often ...
28
votes
1answer
2k views

How to export an MXNet?

I was hoping there was some way to generate the .params and .json file needed to define an MXNet model, from a network trained using NetTrain[] in Mathematica. I ...
5
votes
0answers
58 views

Testing for membership with Bags?

Is there a faster way to test for membership in an Internal`Bag other than unpacking the whole thing like this? ...
10
votes
1answer
194 views

Second argument of Internal`DoubleToString

Does anybody have an idea what the meaning of the second argument of Internal`DoubleToString might be? It accepts also a third argument which seems to be related to ...
6
votes
0answers
176 views

Undocumented TableView function

Seeking information on undocumented function TableView. Exempli gratia, tab=Table[Table[If[Mod[i,Prime[j]]==1,1,0],{i,1,10}],{j,1,2}] tab//TableView $ $ ...
19
votes
1answer
454 views

Using DocumentationBuild and Transmogrify to generate web docs

I build my docs in Mathematica, rather than using Workbench and the DocumentationTools. But now I want to be able to build HTML versions of my docs. I knew Workbench (partially) supported this and ...
7
votes
1answer
146 views

Internal`WithTimeStamps usage

I was digging inside the Iconize implementation a little bit and saw that there's a function BoxForm`BoxFormAutoLoad which loads ...
6
votes
1answer
110 views

Getting all system-level icons

Dispatch and InterpolatingFunction have these fun little icons on their summary boxes. How can I find the list of those?
7
votes
1answer
142 views

System`Private`HasSubCodeQ broken in 11.2

In 11.2 I was spelunking with GeneralUtilities`PrintDefinitionsLocal and noticed that everything seemed to have a SubValues ...
12
votes
2answers
759 views

What are some useful (or hidden) properties of MeshRegion?

There is quite a bit of powerful functionality built in to MeshRegion, but it seems to be lacking in some areas. For example: extracting a list of edges that live ...
1
vote
1answer
52 views

How can I determine how an Import/Export format works?

Questions abound on the MSE about how to get a certain import / export feature to work as desired. For instance, here's one that popped up recently: How can I standardize the coordinate origin for ...
5
votes
0answers
81 views

Find Import/Export format data

Often Import related questions come up, for which I'm always wanting to inspect the proper import function used to see what ...
2
votes
0answers
312 views

What are the default parameters for ADAM optimizer?

ADAM Optimizer (used for optimizing the loss function for neural networks) consists of 3 free parameters: $\eta$, stepsize/learning rate $\beta_1$, forgetting factor for gradients $\beta_2$, ...
26
votes
2answers
716 views

Graphics`Mesh`FindIntersections[ ] fails to detect intersections

Graphics`Mesh`FindIntersections[ ] is an undocumented function for, well, detecting intersections very efficiently. Take a look: ...
2
votes
1answer
177 views

How to understand a family of functions containing Option in System`Utilities`?

For completing this answer,I'm digging function WarpingCorrespondence with GeneralUtilities`PrintDefinitions.I found a piece ...
6
votes
1answer
87 views

Is Depth[x, Heads->True] historical?

I randomly found that Depth has a boolean option called Heads: ...
4
votes
1answer
105 views

How to find all methods available to SumConvergence?

Looking into this question made me suspect that SumConvergence might have more Methods available than the four listed in its ...
1
vote
1answer
90 views

Quadratic LineElement. How does it differ from linear LineElement?

This is a general question about quadratic LineElement. It does not appear to be documented or have examples of its use. What is it ? Does it have 1 or 2 dimensions ? Are there any examples of its ...
36
votes
2answers
1k views

How do I find all the possible events that work with EventHandler?

The EventHandler documentation, More Information section, lists 5 mouse events: ...
2
votes
1answer
65 views

How can I find all of the current stylesheet notebooks?

I want to find all of the stylesheet notebooks currently open. Is there a modestly fast way to get at this?
1
vote
1answer
36 views

Second return value of StyleDefinitions in NotebookInformation

I recently found the wonderful "StyleDefinitions" return value from NotebookInformation which I've been using to edit style ...
14
votes
2answers
533 views

Does Mathematica support deep links?

So GitHub sent me on quite the journey, after it opened its desktop app from my browser. Copying the link I found something looking like: "github-mac://...". I ...
11
votes
1answer
444 views

Boundary cells of a mesh?

This is an offspring of answering another question. Consider ...
3
votes
1answer
78 views

Limiting window width of Summary Box

I am creating objects in Mathematica, which I'd like to compactly display in the front end notebook as a SummaryBox. However, in many cases, the items that I wish ...
2
votes
1answer
46 views

Making a header-body-footer interface without Grid and Column

I want to make a nice little interface with a header-bar, a main-body, and a footer. Grid and Column based constructs can get ...
4
votes
1answer
74 views

Difference between ParentList and Inherited

In this answer Carl Woll uses the ParentList symbol to inherit old input aliases when adding a new one: ...
4
votes
1answer
309 views

A more appropriate way to use RuntimeTools`Profile

There's a powerful tool call RuntimeTools`Profile, but it's hard to use. I must turn on Debug mode, then use ...
16
votes
4answers
503 views

In InputField, how to prevent Shift-Return from generating a new cell?

When running the following in a notebook (not a deployed CDF file), it can sometimes be annoying that accidentally pressing Shift-Return breaks out of the user ...
4
votes
1answer
66 views

What does $UseTextSearchQ do?

Mathematica 11.2 features a new built-in symbol in the Global` context: Global`$UseTextSearchQ What does it do, and how do I ...
4
votes
1answer
70 views

Extract RawArray from Audio

Audio objects backed by in-memory data (not files) seem to contain a RawArray. Is there a way to get the ...
33
votes
1answer
1k views

How can I work with RawArray?

RawArray seems to be able to efficiently hold integer and floating point data of various sizes. What is RawArray good for? How ...
22
votes
2answers
460 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 ...
5
votes
0answers
324 views

Documentation for LinearAlgebra`LAPACK`?

Does anybody use the functions provided in the context LinearAlgebra`LAPACK directly? Is there any documentation out there? Guessing the argument patterns for these function by trial and error is ...
5
votes
0answers
251 views

Undocumented function SumOfSquaresReps

There is an interesting (and documented) number-theoretic function in MMA called PowersRepresentations[$n$, $k$, $p$]. It gives the distinct representations of the integer $n$ as a sum of $k$ non-...
2
votes
1answer
67 views

Can we control packing layouts with parameters in GraphLayout?

GraphLayout takes a complex specification including vertex, edge and packing layouts. These often have sub-options to control the details of the layout. It is ...
7
votes
0answers
49 views

Is it possible to extend the graph layout framework with our own methods?

The GraphLayout specification can take complex forms, where we can specify separate vertex layouts, edge layout and packing layouts. Often each of these takes more ...
19
votes
2answers
783 views

How can I determine the type of a packed array?

Packed arrays can be of type Integer, Real or Complex. Knowing that an array ...
5
votes
0answers
146 views

A lot of undocumented libraries? [closed]

Maybe I'm quite naive but I just realized that Mathematica is shipped with a lot of undocumented libraries. On my Linux, with MMA 11, there are more than 1200 *.mx files located in ...
20
votes
1answer
386 views

How to use Handler functions

It seems that Internal`AddHandler or other functions related to it can be quite helpful sometimes, especially when dealing with messages and such. But the ...
2
votes
0answers
132 views

What does System`Private`GetContentCode do? [closed]

I just came across this strange function. It is next to GetRefCount and functions like HasDownCodeQ, so it may be something ...