Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
243 views

Having trouble defining a function with head Superscript

I wish to define a function in the following form, ...
Dominic Wynter's user avatar
6 votes
1 answer
93 views

Unexpected result of Clip

A simple question. Here Clip works as documented: Clip[0.5, {0, 0}, {0,1}] (* 1 *) Values larger than 0 are replaced with ...
Fred Simons's user avatar
  • 10.2k
27 votes
2 answers
2k views

List of symbols without built-in meaning

Is there a list of all symbols with special display forms but no built-in meaning? That is, operators that are described in the tutorial Operators without Built-in Meanings?
Carl Woll's user avatar
  • 132k
4 votes
1 answer
158 views

Internal function overload when calling ReadString on a fresh kernel

Problem description: I am capturing all FE messages to redirect them to my own window while blocking them from showing in the evaluation notebook using this method by rcollyer. It works great, but I ...
Stitch's user avatar
  • 4,225
35 votes
3 answers
3k views

Why is Plus so much slower than Total?

Why is Plus so much slower than Total for summing lists? ...
Alecto's user avatar
  • 864
5 votes
0 answers
64 views

Why ReadList ignores NullRecords for Number?

When thinking on this recent question the immediately obvious solution which came to my mind was to use ReadList with options ...
Alexey Popkov's user avatar
5 votes
1 answer
242 views

Changing operator precedence

Is there a way to change operator precedence for built-in symbols? I'd like \[TensorProduct] (which I redefine to ...
Yaroslav Bulatov's user avatar
27 votes
4 answers
1k views

What's purpose of the new function BinarySerialize?

11.1 introduced a new function BinarySerialize, but I don't know what it can do better than the traditional method.Its behavior is very similar to ...
yode's user avatar
  • 27.2k
1 vote
0 answers
96 views

Controlling precision/accuracy inside built-in commands

Some functions (such as Erf) appear to use NIntegrate internally. In such cases, is there a way to control such options of ...
Iosif Pinelis's user avatar
5 votes
2 answers
353 views

NetModel's cache in which folder?

NetModel will produce a big cache file after you use it first time. ...
yode's user avatar
  • 27.2k
1 vote
0 answers
87 views

How to run the command 'Distribute' on large product of multivariable polynomials without simplifying it

I am new to Mathematica, so pardon if question is trivial. I am trying to expand (i.e multiply out the factors) an polynomial expression $d$, with many factors, obtained as a result of taking ...
Abraham Varghese's user avatar
4 votes
1 answer
105 views

What is the point of ActiveClassification?

I must be missing something here - it seems that the first argument to ActiveClassification is your target function, but if you already know that function then why ...
user5601's user avatar
  • 3,830
3 votes
1 answer
121 views

What does the return value of Internal`ArgumentCountRegistry mean?

Internal`ArgumentCountRegistry sometimes will give a value about some function.Such as ...
yode's user avatar
  • 27.2k
0 votes
0 answers
59 views

built-in functions with one argument

I want to find the (NumericFunction) built-in functions that take exactly one document. ...
Dimitris's user avatar
  • 4,894
1 vote
1 answer
109 views

Unexpected behavior of ForAll

Resolve[ForAll[n,Element[n,Integers],!IntegerQ[Sqrt[n^2-7 n-1]]]] True But as I know,when the n is $17$,...
yode's user avatar
  • 27.2k
5 votes
1 answer
91 views

Inverse of CharacterName [duplicate]

Is there an inverse function to CharacterName? For example, CharacterName["ε"] gives ...
user avatar
1 vote
0 answers
62 views

How to convert `LogTicks[0, 2][[1, 2]]` to a regular number

I want to convert the $10^i$ tick labels generated by LogTicks of the CustomTicks package to regular numbers. The first tick ...
Felix's user avatar
  • 3,891
2 votes
0 answers
118 views

Built-in functions for Homotopy group

Does Mathematica have built-in functions for Homotopy group, for example for computing $$\pi_n(S^m)=?$$ or more generally $n$-th homotopy group, $$\pi_n(X)=?$$ for some $X$. (I search, but I could ...
wonderich's user avatar
  • 923
2 votes
1 answer
386 views

Tag protected error for Grad despite using Unprotect[Grad]? [duplicate]

I've defined an upvalue grade[k,m], where k is an integer and m is a matrix, and have defined a number of overrides for this type in the normal Mathematica namespace (...
Peeter Joot's user avatar
  • 6,488
4 votes
0 answers
102 views

Use of ContainsAny in EntityClass

The documentation page for EntityClass states that Property values in implicitly defined entity classes may make use of Quantity (and intervals of Quantity) for ...
Grayscale's user avatar
  • 518
9 votes
1 answer
263 views

What's the purpose of the GeneralUtilities`UnpackOptions?

?? GeneralUtilities`UnpackOptions ...
yode's user avatar
  • 27.2k
4 votes
1 answer
188 views

Question about WaitUntil

I have a such function: ...
yode's user avatar
  • 27.2k
5 votes
1 answer
145 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. ...
yode's user avatar
  • 27.2k
5 votes
2 answers
288 views

How to find all function which cannot be ToExpression?

If you use ToExpression directly like this ToExpression /@ Names["*`*"] You will get a chunk error information.I try to ...
yode's user avatar
  • 27.2k
7 votes
2 answers
311 views

Timeline overview of implemented Mathematica functions

With WolframLanguageData[{"ListLogPlot", "Plot", "ColorNegate"}, "Timeline"] one gets information at what time and version a certain function was implemented: ...
mrz's user avatar
  • 11.8k
5 votes
1 answer
199 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 ...
yode's user avatar
  • 27.2k
5 votes
1 answer
107 views

Unexpected behavior of ComplexityFunction

As far as I know, the complexity must be a positive value. But I get such example: ...
yode's user avatar
  • 27.2k
0 votes
0 answers
75 views

Is it possible to define a new built-in function in Mathematica? [duplicate]

Say I want to define a function to do integration by part, is it possible to define it as a new built-in function in Mathematica, so that I don't need to define it every time I want to use it?
Nahc's user avatar
  • 455
-1 votes
2 answers
71 views

Unexpected behaviour of ColorFunction

...
yode's user avatar
  • 27.2k
4 votes
3 answers
228 views

How do I type the independence symbol in Mathematica?

I know this seems to be a really stupid question, but I can't find a way to type the independent symbol. I found how to write the \[UpTee] but it isn't the same. ...
Rby's user avatar
  • 159
2 votes
1 answer
638 views

Define Tilde as a postfix operator

I have read a lot of posts in this forum on defining infix symbols like CircleDot and Tilde. The Help pages say ...
matrixbud's user avatar
  • 445
6 votes
1 answer
267 views

How to judge the function is kernel function or not in program method?

I found the behavoir have changed. All symbol in System` is kernel funtion(include those your custom funtion) ...
yode's user avatar
  • 27.2k
12 votes
1 answer
300 views

Why isn't Orderless an Attribute of And?

In standard logic And is a commutative operator. Still, in Mathematica, And doesn't have the ...
Soldalma's user avatar
  • 1,289
2 votes
1 answer
59 views

Understanding the behaviour of CrossingDetect on lists

Consider the first example in the documentation of CrossingDetect: CrossingDetect[{4, 0, 1, -2, 1, -2, -3, -1, 3}] // Normal ...
anderstood's user avatar
  • 14.5k
2 votes
0 answers
68 views

How would you rewrite these procedurally coded internal routines in functional form?

I came across the following two internal functions SimplifyDump`AbsToSign and SimplifyDump`SignToAbs that have been written ...
QuantumDot's user avatar
  • 19.8k
1 vote
1 answer
152 views

`Plus` wrongly applies `OneIdentity` to eradicate itself in `Plus[Power[_, 2] ..]`, unreproducible

I was trying to match some polynomials, but this is weird: ...
masterxilo's user avatar
  • 5,779
6 votes
2 answers
231 views

How do I make Conjugate behave more consistently?

Sometimes Conjugate distributes. Sometimes it doesn't. Look: ...
QuantumDot's user avatar
  • 19.8k
12 votes
3 answers
610 views

How to create a Graph of Mathematica Commands of the installed version

I always wonder how many inbuilt functions does Mathematica have (of course you can google for it) and how they are connected with each other! So I tried this (v10.1). ...
Sumit's user avatar
  • 16k
3 votes
1 answer
120 views

How to replace the symbol n in DifferenceRoot

I'd like to employ another symbol (say alpha or k) instead of n in the following (type of) ...
Paul B. Slater's user avatar
5 votes
2 answers
287 views

How to get a list of all the image processing functions in Mathematica 10.4

Could someone kindly guide me as to how to get all the image processing functions (segmentation, analysis, morphological operations etc... ) for 2D and 3D images in Mathematica including ones that do ...
Ali Hashmi's user avatar
  • 9,060
1 vote
1 answer
110 views

Unexpected behavior of DiscretizeGraphics

As this code,we can visualize the "Test text" Graphics[Text[Style["Test text",20],{0,0}],Axes->True,AxesOrigin->{0,0}] I try to use <...
yode's user avatar
  • 27.2k
13 votes
4 answers
3k views

Capital Letters that are built-in symbols

I'm trying to search for an answer to "What is the complete list of single capital letters that represent built-in Mathematica commands, symbols, or uses?" For example: C, D, E, I, N, O Is this ...
David's user avatar
  • 15k
6 votes
1 answer
388 views

How to use the built-in function GraphElementData

Very surprise to me.I found this is a built-in function but it is undocumented.Such as this answer's "CurvedArc" and "Curvature",...
yode's user avatar
  • 27.2k
3 votes
0 answers
68 views

How to understand the LocalClusteringCoefficient use in directed graph? [duplicate]

When this function use in undirected graphs,its action is normally and can be explained by this formula $$CC_v=\frac{n}{C_{k}^{2}}=\frac{2n}{k(k-1)}$$ n is adjacent nodes of $v$'s number of ...
yode's user avatar
  • 27.2k
9 votes
1 answer
326 views

A unexpected behaviour of RelationGraph

$Version "10.4.1 for Microsoft Windows (64-bit) (April 11, 2016)" I want to match the based point of VoronoiMesh(...
yode's user avatar
  • 27.2k
10 votes
1 answer
205 views

What is ExpectationE and what does it do?

I just found the symbol ExpectationE with autocomplete. Rendered the symbol is Searching the documentation and the internet leads to nothing. Does somebody know ...
Henrik Hansen's user avatar
8 votes
2 answers
265 views

Can I put Association brackets <| … |> in an autocompletion template?

I have a function f which takes as one of its arguments an Association object, and I would like to produce a nice usage message ...
Emilio Pisanty's user avatar
2 votes
1 answer
2k views

How to list all functions in a package? [duplicate]

I got a package which can be loaded in MMA. The manual for the package does not give demonstrations of all functions/commands. Hoe can i find all the commands in the package?
user39818's user avatar
2 votes
1 answer
88 views

Mathematica built-in function that translates number strings to numbers

I recently ran across a function in mathematica that translates "twenty-two" to 22, but I can not remember what it is and my searching through the help functions has yielded nothing. Can anybody help?
Michael Stern's user avatar
5 votes
2 answers
179 views

A unexpected behavior in RelationGraph

Bug introduced in 10.2 and fixed in 11.0.1 Firstly we get these idiom ...
yode's user avatar
  • 27.2k