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
1
vote
0answers
23 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
61 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 ...
2
votes
1answer
48 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(...
8
votes
1answer
74 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
145 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...
8
votes
0answers
93 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
53 views

MatrixConditionNumber does not work in version 12.0

A = {{1., 0.}, {0., 2.}}; LinearAlgebra`MatrixConditionNumber[A]
3
votes
1answer
201 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 ...
4
votes
0answers
85 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 ...
6
votes
1answer
38 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 ...
5
votes
1answer
62 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 ...
0
votes
0answers
60 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: ...
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
111 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
38 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
25 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 ...
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
44 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: ...
3
votes
1answer
61 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 ...
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
162 views

Others problems with Graphics`PolygonUtils`PolygonCombine

As a continuation of this question, writing: ...
8
votes
2answers
223 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: ...
6
votes
1answer
112 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 ...
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 ...
15
votes
1answer
261 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 ...
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 ...
7
votes
0answers
59 views

Special forms for autocompletion strings

Szabolcs has previously dug up a very useful tool to make custom autocompletions. Here's that in action: ...
0
votes
0answers
77 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. ...
3
votes
1answer
69 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 ...
9
votes
1answer
162 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
44 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", ...
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 ...
13
votes
1answer
155 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 ...
5
votes
0answers
57 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
188 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 ...
9
votes
0answers
201 views

How to use Charting`ScaledTicks?

I found several topics about undocumented ScaledTicks function and tried to use this. Here is the first example: ...
6
votes
0answers
149 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 $ $ ...
7
votes
1answer
142 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
107 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?
16
votes
3answers
497 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
72 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 ...
1
vote
1answer
51 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
1answer
64 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 ...
2
votes
0answers
249 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$, ...
2
votes
1answer
238 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 ...
11
votes
1answer
114 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 ...
5
votes
0answers
77 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 ...
6
votes
1answer
87 views

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

I randomly found that Depth has a boolean option called Heads: ...
1
vote
1answer
88 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 ...