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
5
votes
1answer
56 views

Custom Property interface on my own objects

I know I can use the Property interface for things like Graph but I want to use it for all of my objects. This includes: ...
170
votes
20answers
12k views

What are some useful, undocumented Mathematica functions?

There have already been some questions about some undocumented functionality in Mathematica. Such as (please add to these lists!) How can one find undocumented options or option values in Mathematica?...
4
votes
1answer
78 views

Is it possible to get current thickness for every Line, Polygon, Circle object in a plot?

When exporting Mathematica graphics to raster formats with high resolution the common problem is that thickness for such objects as Line, ...
14
votes
1answer
112 views

Why does setting SyntaxInformation add a definition to DefaultValues

Before setting any definitions to the symbol f, the DefaultValues of f is empty: ...
5
votes
1answer
39 views

How to extend the DefaultDuration of Manipulate[] when it has Bookmarks?

How to extend the DefaultDuration of Manipulate[x,{x,0,1},Bookmarks->{"beginning":>(x=0),"end":>(x=1)}] to 20 ...
6
votes
1answer
90 views

Is it possible to make listable Experimental`NumericalFunction?

I have been playing a bit with the undocumented function Experimental`CreateNumericalFunction and I wanted to know if somebody found a way to make generated ...
3
votes
1answer
96 views

Implementing the Peano-Baker Series with Mathematica

I would like to calculate the Peano-Baker series with mathematica, namely an integral expansion to approximate the state transition matrix: Say I have a matrix $A(t)$ and I want to calculate: $\Phi(...
17
votes
1answer
257 views

What are the possible Method option values for plotting functions?

Many plotting functions have a Method options with descriptions like this: Plot: "the method to use for refining curves" ...
5
votes
0answers
111 views

Status of Streaming package

I see the Streaming package mentioned in this question How to use Streaming package in v11.1? with advice on getting it working in V11.1. I've failed to get either the built-in version or the patch ...
18
votes
1answer
308 views

How to use Streaming package in v11.1?

I am trying to use the streaming package for lazy list operations demonstrated in this post. But I found that the package was significantly changed in version 11. After some observations, I found that ...
1
vote
1answer
84 views

Problem with “MediaTools`” in Mathematica 12

I asked here for a solution how single video images can be extracted very fast from avi files. Piotr Wendykier gave a solution for Mathematica 11.3. Now I'm using Mathematica 12 and his solution ...
2
votes
1answer
46 views

TemporalDiscretization in MethodOfLines

When solving ODE's one can use options like MaxStepFraction to control the number of grid points. When solving PDE's ...
1
vote
0answers
53 views

Understanding how ComponentMeasurements finds neighbors

I am trying to understand how the module ComponentMeasurements in Mathematica works when the property Neighbors is called in ...
6
votes
1answer
67 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 ...
6
votes
1answer
119 views

Undocumented GraphComputation`GraphProduct usage

According to Mathworld there is an undocumented function GraphComputation`GraphProduct[G1, G2, "Cartesian"] To compute the cartesian graph product. Now in ...
8
votes
1answer
82 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 ...
13
votes
1answer
150 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...
10
votes
3answers
201 views

Lists for built-in functions that can work without brackets

I just noticed that Exit and Quit can work without brackets i.e. a single Exit or ...
10
votes
0answers
228 views

How to use Charting`ScaledTicks?

I found several topics about undocumented ScaledTicks function and tried to use this. Here is the first example: ...
8
votes
0answers
101 views

How to modify NDSolve`StateData without crashing the kernel?

Probably a hard question, but it's better to cry out loud. Reminded by Chris K, I noticed my fix function has been broken since v11.3. After some checking, I ...
5
votes
1answer
60 views

MatrixConditionNumber does not work in version 12.0

A = {{1., 0.}, {0., 2.}}; LinearAlgebra`MatrixConditionNumber[A]
11
votes
1answer
116 views

What are valid settings for the TreatRepeatedEntries sparse array option?

There is a system option that controls how to build sparse arrays when a position is assigned more than one value. The default setting is First, meaning that all ...
3
votes
1answer
205 views

What is the most reliable way to find a particular function?

I learned there're built-in functions which is not documented from this question. After this , I tried looking for something which is usable for me,then noticed that with ...
5
votes
0answers
91 views

Reverse Engineering of MMA `Classify[]` Output?

Update: as @AntonAntoniv rightly noticed in his comment the case of DecisionTree is already discussed. Now it would be great to also have an equivalent answer for LogisticRegression. MMA is really ...
3
votes
0answers
86 views

Language`ExpressionStore and ParallelMap

Is there a way to access NewExpressionStore from within a parallelized calculation? I have tried variations of ...
5
votes
1answer
66 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 ...
16
votes
3answers
517 views

Language`* documentation project

Language` context is around for a long time. It is also heavily used (APIFunctions / FormFunctions dependencies deployment rely on it). It is undocumented and ...
3
votes
0answers
82 views

What is the complete list of ExportPacket formats?

ExportPacket is the most fundamental way we can turn Box forms into string data in other formats via the FE. For example, a ...
6
votes
2answers
203 views

How to convert a RawArray of bytes to ByteArray?

A ByteArray can be converted to a RawArray: ...
6
votes
1answer
42 views

Can I reimplement something like TogglerBox?

As a purely academic exercise can I make a box structure that'll toggle between two views when clicked and that doesn't ever depend on Dynamic or ...
0
votes
0answers
65 views

Evaluating Internal`$VideoEncodings gives a strange message

When calling Internal`$VideoEncodings to check available video codecs on my pc, Mathematica_11.3 gives a message: ...
27
votes
2answers
1k views

What is the complete list of valid FrontEnd Packet types?

In response to my question How can I get the unchanged Box form of an arbitrary expression? John Fultz answered with a method using the hilariously named ...
5
votes
1answer
67 views

How to not show line mesh elements

Let's say I make a mesh from a collection of random points: SeedRandom[1234] points = RandomReal[1, {20, 2}]; mesh = VoronoiMesh[points] For the purposes of my ...
2
votes
0answers
43 views

Why does the kernel strip \< and \> from strings [duplicate]

The FE always passes strings to the kernel that look like: "\"\<asdasd\>\"" And the \< and > get pruned out. We can simulate this for ourselves with: <...
4
votes
1answer
115 views

How can I see all FE nine-patch bitmaps?

The FE stores a bunch of little nine-patch images in the layout that govern the appearance of much of Mathematica. These things are incredibly useful to have as they may be used to give a clean ...
0
votes
0answers
39 views

Second argument Run[]

Run officially takes only one argument. I encountered code with Run[command, "Text"], is this a mistake or is the second argument meaningful? If so what does it do? ...
0
votes
0answers
28 views

Method option of function MatrixRank

By running ??MatrixRank, I see that it has an optional argument named Method. However, this argument is not in the ...
18
votes
0answers
305 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 ...
5
votes
1answer
78 views

Making an Association-like interface for HashTable

System`Utilities`HashTable is conceptually a lot like an Association but it has the pretty phenomenal (for Mathematica) property ...
3
votes
1answer
64 views

Custom conversion rules in UnitConvert

I want to make UnitConvert operate on custom units with special rules. For instance, I would like to be able to convert between ...
6
votes
1answer
101 views

What's up with PauliMatrix with a string argument?

Looking at the definition of PauliMatrix (not the documentation), I realized that it is defined for arguments 0, ...
8
votes
1answer
313 views

What are the arguments supplied to ColorFunction in MandelbrotSetPlot?

On the document of MandelbrotSetPlot, it said: With ColorFunction->f, where f is a function, the argument of f is a real number in proportional to the number of ...
2
votes
1answer
285 views

Normal of a triangular mesh

I know the function Region`Mesh`MeshCellNormals[], which evaluates the knot normal. I couldn't find documentation to this function which probably averages the ...
15
votes
1answer
275 views

What happened to SequenceLimit?

In older versions of Mathematica, there was a function called SequenceLimit that allowed taking the limit of a numerical sequence. It is useful for speeding up the ...
2
votes
0answers
33 views

Create a ProcessObject for a process not made with StartProcess

I am launching and linking to Mathematica from an external process and would like to be able to create a ProcessObject for the launching process that will support <...
3
votes
0answers
43 views

How to make custom attached menubars? [duplicate]

I would like to understand how to build an attached menubar. For example, Image has the following bar - an attached cell that arises when clicked on: ...
4
votes
1answer
163 views

Others problems with Graphics`PolygonUtils`PolygonCombine

As a continuation of this question, writing: ...
9
votes
2answers
252 views

Which operators are missing from the official precedence table?

I often use the Operator Input Forms page as a reference for operator precedence as well as which (used or unused) operators exist. However, I just noticed that at least one operator is missing from ...
8
votes
2answers
226 views

Problem with Graphics`PolygonUtils`PolygonCombine

Writing: Normal@ParametricPlot[{x, x^2 t}, {x, 0, 2}, {t, 0, 1}] /. p : {__Polygon} :> Graphics`PolygonUtils`PolygonCombine[p] I get: but if I write: ...
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 ...