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
6
votes
1answer
141 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
353 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
58 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
84 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
905 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 ...
8
votes
2answers
138 views

Cannot Block Plus

It is customary to use the following idiom to partially evaluate something inside a held expression: ...
15
votes
1answer
239 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
557 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
412 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
331 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
159 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
385 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
828 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
781 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
204 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
300 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
81 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
376 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
1k 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
143 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
416 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
2k 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
334 views

Defining my own invisible operator

There are some invisible operators in Mathematica (\[ImplicitPlus],\[InvisibleTimes],...
1
vote
0answers
104 views

Define an operator without Built-in Meanings containing a Power function [duplicate]

I would like to define the following operator: $$ \left[T^{(j_{1})}\otimes U^{(j_{2})}\right]_{m}^{(j)}=\sum_{m_{1},m_{2}}\left\langle j_{1},m_{1};j_{2},m_{2}\big|j,m\right\rangle T_{m_{1}}^{j_{1}}U_{...
11
votes
4answers
538 views

When should I use Apply (or Function) and when @@ (or &)?

This is a rather general question, which I fail to answer myself. I guess it is mainly due to my insufficient knowledge of the precise terms. If I understand correctly, the following are equivalent: ...
2
votes
2answers
378 views

How to unprotect GeneratingFunction

I'm trying to add custom downvalues for GeneratingFunction, and to do so I thought I just had to Unprotect it. However, that ...
8
votes
1answer
266 views

Builder pattern for complex objects construction

Intro I was watching "UnRisk-Q Instrument Builder" talk (https://www.youtube.com/watch?v=Xx3goIBpOdE) and those guys use builder pattern to build complex objects like this: ...
20
votes
1answer
386 views

Why are some option values symbols, other strings?

Is there a rationale, beyond historical accident, why some Mathematica option values are strings, while others are symbols? It seems natural that some value spaces, e.g. named color schemes, are so ...
24
votes
4answers
2k views

ReadList problem related to Record type

A simple file reading issue is baffling me here. I am reading a around 200 MB textual file in .dat format. Now the file contains many lines but to phrase my problem ...
6
votes
1answer
820 views

Using the symbol I for electrical current [duplicate]

I would like to use the I as a symbol for the electrical current. How can I redefine it, so it is not interpreted as the imaginary unity?
8
votes
2answers
685 views

Replacing product expressions - named vs. unnamed pattern?

Suppose I have an expression of the form a b c d + x y z The FullForm of this is ...

1 2 3
4