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
3 votes
0 answers
72 views

Is there more complete documentation of DSolve with all hacks?

I know DSolve. I know this community and I am able to gather some hacks. There is this: ...
5 votes
3 answers
132 views

$Assumptions = _ ∈ Reals results in incorrect simplification of ConjugateTranspose[..]

The linear combination $Q$ of two Hermitian matrices $A^\dagger = A, B^\dagger = B$ with real coefficients $m,n \in \mathbb{R}$, i.e. $Q = m A + n B$ is itself a Hermitian matrix $Q^\dagger = Q$. ...
  • 53
8 votes
1 answer
135 views

Available Methods for DSolve?

I would like to know, apart from Method->Automatic what are available methods for DSolve. ...
  • 299
2 votes
1 answer
77 views

Pattern not matching BoundaryMeshRegion

Mathematica 13.1 on Windows 10. Can someone explain why the following does not match: MatchQ[BoundaryMeshRegion[Cube[]], BoundaryMeshRegion[__]] (* False *)
  • 29.4k
3 votes
1 answer
59 views

How to set minimal allowed size for a graphical element?

Starting from version 10.3 there is a documented way to specify a maximum allowed size for a graphical element via UpTo: ...
7 votes
2 answers
135 views

Context menu to graphics component

How do I add individual context menus (shown upon secondary mouse click) to various components of a graphics object without needing to go into edit mode? Consider the following example: ...
  • 18.9k
2 votes
0 answers
44 views

VandermondeSolve changes, InterpolatingFunctionToPiecewise breaks

I just notice ResourceFunction["InterpolatingFunctionToPiecewise"] is broken in v13.1. (Perhaps it's in v13.0, I'm not sure. ) Here's a sample: ...
  • 55.1k
11 votes
4 answers
174 views

How to detect errors that happen in the FrontEnd? [duplicate]

Some errors only seem to be produced at the point of typesetting, making it very difficult to detect them early. For example: ...
  • 19.2k
4 votes
0 answers
55 views

NMinimize/NMaximize: How to specify additional options to the "PostProcess"->FindMinimum option

I would like to pass FindMinimum Options to the PostProcess Option of NMinimize. Here is minimal working example of using NMinimize from the documentation at (see tutorial/...
  • 2,779
8 votes
4 answers
193 views

How to determine the current width of the output cell area?

When answering this question, I suddenly realized that it is surprisingly difficult to determine the current width of the output cell contents. I tried to employ the ...
2 votes
2 answers
315 views

Why does System`Private`ConstructNoEntry[Quantity, 1, "kg"] enter a Recursion?

System`Private`ConstructNoEntry[BesselJ, 0, x] works fine, and outputs BesselJ[0, x] However, ...
  • 16.4k
11 votes
2 answers
449 views

How can I create an atomic head or treat some head as atomic during Map?

For example, Map[g, {0, {h[1, 2, 3]}}, {-1}] gives {g[0], {h[g[1], g[2], g[3]]}} I want a ...
  • 16.4k
7 votes
1 answer
128 views

Charting`ScaledTicks not working anymore in Mathematica 13

Charting`ScaledTicks was a convenient way to organize Ticks or Frameticks in Mathematica without needing to define a tick-function. Basically most tick-related questions here were answered with this ...
6 votes
1 answer
112 views

User plug-in methods for SumConvergence

@Валерий Заподовников remarks: BTW, it is also quite bad that Mathematica does not have Bertrand test. Is there a way to extend the convergence tests in ...
  • 222k
9 votes
1 answer
124 views

Arithmetic operations on NumericArrays

Currently, NumericArrays are directly supported by the most important array-related functions, what makes them a very attractive data structure for implementing ...
10 votes
1 answer
288 views

What is idiomatic way to extract NumericArray from Image?

It is easy to see that NumericArray is a construct underlying Image: ...
10 votes
1 answer
103 views

How to list all possible string arguments of a specific function?

For example, to learn the function Alphabet, we can read its document. But it's rather ambiguous, like "Some languages have extra properties". How to find ...
2 votes
1 answer
47 views

How to use System`Private`AssumptionAccess and Assumptions`*?

I see this function is used by some symbols in Assumptions`*, and it HasDownCode and does not ...
  • 2,168
1 vote
1 answer
245 views

Internal`CopyListStructure makes fatal error sometimes

Warning : At least in my PC (windows 10, mathematica V12.2), some of the codes here led to fatal error. Fatal means mathematica will freeze + 'Abort Evaluation' will not work. I had to quit the kernel ...
  • 3,221
6 votes
1 answer
115 views

What is the purpose of StrokeForm?

Symbol System`StrokeForm is present already in Mathematica version 8 (but not in version 5.2). Currently, it is used in built-in themes, for example: ...
14 votes
1 answer
354 views

Wrong Graphics coordinate system after Image to Graphics conversion

Bug introduced in 12.3 or earlier and persisting through 13.1.0 [CASE:4896512] If I upload this image (originally this img was generated by ...
  • 24.6k
3 votes
1 answer
135 views

How to explicitly open or close cell group?

There is a "OpenCloseGroup" in FrontEndTokenExecute. It act like toggle. If the selected cell group is open, ...
  • 16.4k
3 votes
0 answers
77 views

How to convert Graph atomic object back into unevaluated expression? [duplicate]

For the purposes of further development of my shortInputForm function, I wish to convert Atomic objects such as Graph into non-...
4 votes
1 answer
134 views

Resolve absolute path to Documentation Notebook

We can easily create clickable hyperlinks for Documentation pages like the following: {URL["paclet:ref/Set"], Hyperlink["paclet:ref/Set"]} But ...
7 votes
1 answer
130 views

What Does Compile`SetIterate Do?

The list of compilable functions (given by Compile`CompilerFunctions[] // Sort) shows one of the more interesting- and core-sounding functions: ...
4 votes
0 answers
51 views

What are the valid options for the "ParametricCaching" option in ParametricNDSolve?

I am using ParametricNDSolve as part of the calculation of an objective function for an optimization, so I am trying to strike a balance between memory usage and ...
3 votes
0 answers
28 views

Modern equivalent of $InternetProxyRules

The undocumented symbol $InternetProxyRules was useful for debugging network connectivity issues. In Mathematica 12.0 it returns a list with keys "UseProxy&...
21 votes
1 answer
834 views

Is Internal`StringToDouble broken in 12.3?

I believe Internal`StringToDouble was the only way to fast convert string into numbers. Now in V12.3 it was removed: Internal`StringToDouble["1"] ...
  • 25.6k
2 votes
1 answer
91 views

How to set MaxStepSize for the case of two variables

The option MaxStepSize permits to manually set the step size of the integration in NDSolve and similar functions. How do I set ...
  • 6,214
0 votes
1 answer
79 views

TemplateEvaluate, TemplateUnevaluated, and TemplateVerbatim [Undocumented] - What do you know?

Let's discuss some undocumented Template-related functionality. Specifically, what do you know about TemplateEvaluate, ...
  • 565
5 votes
1 answer
242 views

NDSolveValue and pdepe of MATLAB disagree under spherical coordinates

Assuming there is a spherical activated carbon particle, the concentration outside the grain is 200 (C[t,ri] == 200), that ...
  • 53
6 votes
1 answer
92 views

Turning off automatic hyperlinks

Recently (I only noticed in V12.2), website URLs, such as https://www.wolfram.com, became active in text cells in notebooks. The "hot" nature makes the links hard to edit, since any click ...
  • 222k
6 votes
0 answers
59 views

How to revert behavior of SeriesData to pre 12.1

In Mathematica 12.0 and earlier, SeriesData[x, 0, {1/u + Log[x/y]}, 0, 3, 1] used to preserve its list of expressions in the form it was given. Now, in ...
  • 18.9k
5 votes
1 answer
148 views

Property "Centroid" of result from ConvexHullMesh[] can not be extracted

As the title describes, specifically, simple code below ConvexHullMesh[RandomReal[1, {10, 2}]]["Centroid"] returns an error in V. 12.2, but it worked in ...
0 votes
1 answer
134 views

Log scale for ListContourPlot when the axes have different orders of magnitude

I am trying to plot a data set (download here) in Mathematica (it's 3.9 MB and I wasn't sure how to best share it) which I then want to visualize with ...
  • 952
8 votes
1 answer
384 views

Please explain this syntax: GaborWavelet[6]["FourierFactor"]

I've been using Mathematica for some years, yet I'm befuddled by this statement: GaborWavelet[6]["FourierFactor"] It appears to give the center frequency ...
  • 285
9 votes
2 answers
285 views

BarLegend ticks distorted in MatrixPlot

As shown in many threads here (this, this, ...), Ticks is a valid option of BarLegend. But it doesn't seem to work well in this ...
  • 4,370
2 votes
1 answer
210 views

Experimental`CreateNumericalFunction

When working with a Compile function I can specify if a given argument is a matrix, a vector or a scalar. For instance, something like: ...
  • 525
6 votes
0 answers
141 views

A Curiosity: What is DispatchQ?

As shown below, my autofill in Mathematica showed an interesting function: DispatchQ. Yet, it does not appear in the Mathematica Documentation Center, a search for ...
3 votes
0 answers
90 views

Why are some symbols recognized by Mathematica but nowhere in the documentation? [duplicate]

I was trying to calculate a Groebner basis for a given set of polynomials, and I did it successfully. But I wanted to calculate the conversion matrix between the original basis and the Groebner basis....
  • 131
6 votes
1 answer
151 views

Implicit Riccati Equation Solver (to find the anti-stabilizing solution)

I've found that the latest MATLAB icare() solver includes the possibility to find also the anti-stabilizing solution of the Riccati equation. I haven't found a ...
  • 2,078
5 votes
0 answers
64 views

What does the PerformanceGoal option of FindMinimum do?

FindFit and FindMinimum both have a PerformanceGoal option. It is not documented. What does ...
  • 228k
5 votes
1 answer
188 views

In search of lost time: Mathematica keyboard shortcuts

I am wondering about all the shortcuts that there are in Mma, besides the documented ones in https://reference.wolfram.com/language/tutorial/KeyboardShortcutListing.html. Are there any undocumented ...
  • 763
3 votes
1 answer
127 views

Control page width when using ExportPacket[..., "InputText"]

Suppose we have a cell like this: ...
  • 228k
7 votes
1 answer
127 views

Is AlgebraicRulesData magical?

I am trying to understand what AlgebraicRules is all about in the answer to this question. It apparently returns an ...
  • 18.9k
15 votes
1 answer
251 views

What does Reduce`FreeVariables really do? And can we rely on it?

Very frequently, in answers on this site, the undocumented function Reduce`FreeVariables comes up in the context of generating a list of variables inside an ...
  • 18.9k
1 vote
0 answers
102 views

How to make my custom neural layer only apply noise during training (similar to how DropoutLayer behaves)?

Utilizing some undocumented Mathematica functionality, I implemented it like this: ...
  • 609
5 votes
1 answer
184 views

How to author a workflow?

I find the workflow refpages in the doc center very helpful, and I'd like to make some of my own: Workflows seem to be notebooks of "Text" and ...
  • 30.8k
5 votes
1 answer
121 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, ...
19 votes
1 answer
165 views

Why does setting SyntaxInformation add a definition to DefaultValues

Before setting any definitions to the symbol f, the DefaultValues of f is empty: ...
  • 18.9k

1
2 3 4 5
7