Questions tagged [built-in-symbols]

Questions related to handling built-in symbols and functions, for example why they behave a certain (possibly unexpected) way.

Filter by
Sorted by
Tagged with
3
votes
1answer
101 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) ...
5
votes
2answers
238 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 ...
1
vote
1answer
98 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 ...
11
votes
4answers
1k 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 ...
6
votes
1answer
259 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",...
2
votes
0answers
61 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 ...
7
votes
1answer
266 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(...
9
votes
1answer
156 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 ...
7
votes
1answer
164 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 ...
1
vote
1answer
720 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?
2
votes
1answer
81 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?
5
votes
2answers
168 views

A unexpected behavior in RelationGraph

Bug introduced in 10.2 and fixed in 11.0.1 Firstly we get these idiom ...
18
votes
1answer
673 views

How to define a custom 2/3D graphic primitive like built-in?

There are lots of basic graphic-primitives in Mathematica, such as 2D- primitive: Line[], Circle[], Disk[] and 3D-primitive: ...
1
vote
1answer
66 views

How to use Composition when the functions have two parameter

There are some basic instructions about Composition on this site, but I'm still confused on how to use it when the functions I am composing have two parameter, such ...
30
votes
2answers
593 views

How to find language changes that were not included in the official change log

A change log is issued when Mathematica has an update, such as: 10.4 10.3 10.2 But for instance the PlotLabels option mentioned in this post is not in the log. ...
4
votes
2answers
162 views

How to counts the function of Mathematica have been split to some what aspects?

According to following example,we can know the Mathematica classify every function in different aspect. ...
3
votes
0answers
48 views

Custom iterable objects

I understand that to create objects with custom behavior with respect to existing code one uses upvalues. However, I'm at loss when it comes to guess what interface is expected from objects fed to ...
5
votes
1answer
231 views

Is there a method to look inside at the internal code of Built-In functions? [duplicate]

How can I look at the code of built-in functions? Is there something like this: LookInsideFunction[SubsetQ] RETURNS ...
1
vote
1answer
453 views

Implementation of Kullback–Leibler divergence in Mathematica: dealing with negative infinity?

I'm trying to implement a function to calculate Kullback-Liebler Divergence but I am running into a problem with complex infinities in my intermediate result. Here is how I have implemented it thus ...
4
votes
1answer
91 views

From built-in symbols to algebraic representation

If I have an expression with Mathematica's built-in functions like Probability[x > 0, x \[Distributed] UniformDistribution[{-1, 1}]] its algebraic ...
10
votes
2answers
219 views

How to make `D` apply chain rule on user-defined symbols as it does on `Dot` and `NonCommutativeMultiply`

I have my own version of Dot called mydot, and it behaves quite similar to the built-in version in that it represents the non-...
5
votes
1answer
88 views

Behavior of D and Derivative when acting on functions with Rules as arguments

I was (pleasantly) surprised that when a Derivative is taken of a symbolic function for which the last few arguments are Rules, ...
7
votes
1answer
151 views

How does Internal`PolynomialFunctionQ work?

I found that Internal`PolynomialFunctionQ performs much better than PolynomialQ. Here is a huge random polynomial in 12 ...
3
votes
4answers
1k views

How to obtain the gradient of a function as a function?

The Grad function allows me to get the gradient of a function like this: ...
24
votes
3answers
880 views

List of symbols marked [[EXPERIMENTAL]] in the documentation

Some of the built-in Wolfram Language symbols are marked as [[EXPERIMENTAL]] in the documentation. For example How can I get a list of all the symbols marked as <...
0
votes
1answer
154 views

How to get always Pi as a number [closed]

Since this morning I have the following command to return Pi as a symbol in the value of k. Since ...
15
votes
2answers
388 views

Pop-up documentation for “The new function of the day”

The Wolfram Language has more than 5000 built-in functions and constants. ...
6
votes
1answer
137 views

Relevant help page for: Sum`? [duplicate]

When I type Sum into Mathematica, it also offers Sum` in the autocomplete dropdown, but when I click the little menu button next ...
1
vote
0answers
252 views

Two issues about Underline(d)

From the Help Browser Style["abcd xyz", FontVariations -> {"Underline" -> True}] abcd xyz The text is NOT Underlined, contrary to the online version Also ...
1
vote
0answers
57 views

Upgrade a built-in function: Nearest (mimic the behavior of V. 10.1 in previous versions)

For versions prior to 10.1 the following returns a error message timedat = {1.1, 2, 3.3}; equalTime = {1, 2, 3}; Flatten@Nearest[timedat, equalTime] Nearest::...
1
vote
0answers
79 views

Using and extending Mathematica's built in “$” constants [closed]

I find that Mathematica's status-indication constants like $Failed, $Aborted, and $TimedOut ...
6
votes
1answer
791 views

What is the symbol set that Mathematica notebook supports?

I want to use symbols $\color{#ff0000}{\large\ltimes}$ and $\color{#ff0000}{\large\rtimes}$ in Mathematica notebook for semi-tensor product operator representation. But it seems Mathematica does not ...
7
votes
2answers
135 views

Cannot Block Plus

It is customary to use the following idiom to partially evaluate something inside a held expression: ...
15
votes
1answer
223 views

All value types for a symbol?

Robby Villegas here shows a nice way to see all the types associated with a symbol. He sets a symbol, valueTypes, to an explicit list of the values types in ...
8
votes
2answers
523 views

Generate a list of symbols for the planets

I would like to generate a list of the symbols for the planets to include in a nice table with other data. How can I programmatically generate (eg. using a pure function) the symbols from a list of ...
11
votes
2answers
399 views

Built-in symbols that support operator form [duplicate]

In version 10 some built-in symbols are updated to support operator form like the Derivative. For example, Select, ...
9
votes
0answers
321 views

Built-in symbols which are more close to the root/core of Wolfram Language

Seeing the vast scope of science covered by the Wolfram Language (WL) and the large amount of built-in symbols (functions), I am curious to know which built-in symbols are more close to the root of WL,...
1
vote
1answer
148 views

Replace symbols in output without evaluation

I found the Wolfram example for ExpandNCM but I want a more human-readable output form. I want to evaluate ExpandNCM, for example with ...
7
votes
1answer
363 views

How to define the Bernstein function like the built-in BernsteinBasis?

We know the Bernstein function defined as below: $$B_{n,i}(u)=\binom n i u^i(1-u)^{n-i}$$ And we define $B_{n,i}(u)=0$ when $i<0 $ or $i>n$ In addition, the first derivative of $B_{n,i}(u)$ ...
12
votes
2answers
764 views

How to get short definition of all built in Mathematica Functions?

The first post in "Mathematica Weekly Newsletter - Tuesday, December 30, 2014" really attracted my attention as I was always looking for a complete list of built in Mathematica functions with short ...
16
votes
3answers
767 views

How would I return a random Mathematica command?

I'm doing some metaprogramming. How would I make a Mathematica function that returns a random Mathematica command? Is there a list of command names that I could use ...
5
votes
1answer
170 views

Changing the definition of N: unexpected $RecursionLimit::reclim error

I have some objects represented as follows: Object[data, param] data is a list of numbers, ...
5
votes
0answers
281 views

Organizing Wolfram language symbols with Entity

Here's a word cloud tally of the ~5k System names split at camel humps, with the long tail cropped. What resources are available to organize these terms using the new ...
1
vote
2answers
76 views

How to get the outermost command evaluated first?

I have an expression like ToString[Stuff[...]]. I plan on having the Stuff[...] be manipulated as a string according to the output of other parts of the program. The problem is that Mathematica tries ...
7
votes
2answers
370 views

Get name of hidden inbuilt functions (like Ticks drawing)

how do I get the name and definition of a builtin Mathematica functions? For instance, I would like to see how default Tick plotting function is implemented. However, it is not clear where it is and ...
8
votes
2answers
980 views

How to unprotect a variable in a package

In Mathematica 9, I had the function(s). I apologize for the weak formatting. ...
5
votes
1answer
135 views

Strange behaviour of UpSet [duplicate]

Can anyone explain what is going on here? I want to modify TensorRank for IdentityMatrix, but it fails on its first attempt: <...
8
votes
1answer
385 views

How to convert formal symbols to standard ones in an expression?

Mathematica generates an expression sometimes using \[Formal] symbols. This is causing a problem with the TeXForm code generated ...
31
votes
2answers
1k views

List of atomic expressions

I was surprised to see Graph objects are atomic. Is there a way (through documentation or programmatically) to find all atomic heads? The ones I know of are: <...
10
votes
1answer
324 views

Defining my own invisible operator

There are some invisible operators in Mathematica (\[ImplicitPlus],\[InvisibleTimes],...