Mathematica symbols are the ultimate atoms of symbolic data. Every symbol has a unique name, exists in a certain Mathematica context or namespace, and can have a variety of types of values and attributes.

learn more… | top users | synonyms (2)

0
votes
1answer
65 views

what do those signs #1, #1^2, #1^3, & mean here? [duplicate]

I have read common pitfalls page and the documentation page but I still don't understand what do those signs mean here? ...
3
votes
1answer
43 views

Shared variable can not be distributed again after UnsetShared

I see a weired behavior in my MM 10.3 version. Can someone reproduce it or explain what is going on? The code is easy: ...
4
votes
2answers
71 views

List all LocalSymbols

I was working with a LocalSymbol, but after I deleted the cell I came back to the notebook hours later only to forget the name of the variable! Is there anyway to see a full list of the named ...
6
votes
2answers
133 views

Naming convention for symbols exported from package

I know this is a little opinion based, but so is Mathematica style guide and similar topics. The issue is important so I think this topic will be beneficial for future visitors. Q: So ...
3
votes
0answers
49 views

FindInstance of Matrices

I'm trying to use FindInstance to find examples of matrices that complete an expression. However, it seems like I need to specify atomics as my variables to the function. So, here's a really simple ...
4
votes
1answer
49 views

How to adapt MSPToExpression function in $PrePrint?

I am introducing the mathematica Security (MSP module) to our system. The Document suggests use MSPToExpression as followed: ...
3
votes
0answers
59 views

How to get “BasicFunctions” from WolframLanguageData with implicit entity

I am trying to get a list of the functions that have property "FunctionalityAreas" -> "BasicFunctions". The following does not work: ...
6
votes
2answers
135 views

Ignore some values at return

Is there Mathematica analogue of Python _ (underscore) or Matlab ~, a special variable, that can be used when a function returns ...
0
votes
0answers
35 views

Manipulating a symbol via its name [duplicate]

I'm trying to change the entries of a list. The problem here is that I only know the symbolname of the list for example name="x" , where x is defined as ...
4
votes
2answers
109 views

Get value of symbol

ab := {{a, 10, 100}, {b, 0, 10}} Manipulate[a*b, Evaluate[Delete[ab, 0]], Button["SHow", Print[Evaluate[Symbol[ToString[ab[[1]][[1]]]]]]; Print[a, "---", b]]] In ...
2
votes
1answer
56 views

how to change Symbol to other symbol?

I have Input =a**b**c I want to have output such as {a,b,c} So I want to change **->, but replace code does not work. How ...
1
vote
0answers
42 views

Location of a double cap symbol

I've been searching for this symbol in a variety of palettes, but have been unable to find it. Anyone know where I can find it?
0
votes
0answers
54 views

Can I use a variable name based on the results of a calculation? [duplicate]

How can I use the notebook filename as a variable? e.g. I have a notebook named notebook1.nb so I want the output of this: ...
6
votes
1answer
105 views

Relevant help page for: Sum`?

When I type Sum into Mathematica, it also offers Sum` in the autocomplete dropdown, but when I click the little menu button next ...
4
votes
2answers
178 views

How do Reap and Sow work in this context

I have a list of points in 3D and I need to count how many times each point is repeated. For a similar problem with a list of characters many different solutions have been proposed in this post: ...
12
votes
1answer
115 views

How to remove a LocalSymbol (or CloudSymbol)?

In version 10.2 LocalSymbol can be used to create a persistent store of a variable. Once this is created I don't see a method to remove it. How are are they ...
1
vote
2answers
92 views
1
vote
1answer
186 views

How can we accommodate arbitrary Unicode characters in symbol names?

I understand why Mathematica doesn't the support the [ character in symbol names, but it should be escapable in some way, like non-printable characters are in ...
18
votes
3answers
408 views

What are the requirements for a well behaved indexed variable? Subscript, ToExpression, Downvalue?

On writing this answer I needed to call a function, (NonlinearModelFit) with an unknown number of parameters. We have learned that we should not use ...
6
votes
1answer
104 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
1answer
165 views

Invalid Symbol Characters

What unicode characters are invalid as a Symbol name? Ideally I'm looking for a complete list. Here is the current list ...
3
votes
0answers
52 views

“Undo” not working for script, gothic, and double-struck letter forms?

Has anyone else experienced anomalous behavior using "Undo" (Ctrl-z) with notational alphabet letter forms? Since Mathematica's built-in functions are capitalized, one generally avoids beginning ...
0
votes
1answer
83 views

How to get the meaning of a Mathematica symbol you don't know ? [closed]

I would like to know how can I get help on a Mathematica symbol that I don't know ? There is often this case when I read some codes from forum or collegues. Thank you for your help.
13
votes
1answer
148 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 ...
3
votes
3answers
255 views

How to identify all rules that match pattern type? [duplicate]

I would like to be extend the below solution to be able to find get all rules from the list step[2] that match the generic pattern k_Digit_p. Where k and p are not ...
13
votes
2answers
346 views

Why does leaving and re-entering a context lose values defined in that context?

I'm getting unexpected behavior when beginning a new context, leaving it, and then re-entering it. Specifically, when re-entering the context, symbols that had been previously defined in that context ...
1
vote
1answer
59 views

Finding parameters for which a function/symbol is defined

Suppose I have a symbol/function defined pointwise like in f[1, 5] = 3 f[3] = 7 f[2, 3.4] = 8 By executing ?f I can see the ...
0
votes
0answers
45 views

in the part assignment is not a symbol, create different matrices with a “Do” loop [duplicate]

Im trying to assemble new matrices from some previous matrices I have created, but I can´t. What Im trying to do is the following: 1) I have different matrices: ...
5
votes
1answer
83 views

How to get all the symbols `x` for which `f[x]` is defined?

Assume that definitions like the following are in place: ...
2
votes
0answers
51 views

Import names into notebook namespace [duplicate]

I have function that at some point has list of strings (e.g. {"apple","pear"}) and I want to declare (initialize) those variables in notebook namespace to default ...
1
vote
1answer
76 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 ...
0
votes
0answers
38 views

Symbol-handling, force-replace instanced variables within functions! [duplicate]

Currently I am stuck with the issue of renaming an instanced variable like r1$23314 to a global one. This issue arises as I need to use a "localizeAll" Module in ...
4
votes
1answer
70 views

? (Definition) versus ?? (Information)

What is the difference between ? Definition and ?? ...
0
votes
2answers
67 views

in the part assignment is not a symbol, create different matrices with a loop

Im trying to assemble new matrices from some previous matrices I have created, but I can´t. What Im trying to do is the following: 1) I have different matrices: ...
3
votes
1answer
95 views

Using packages with symbols that have the same name

Let us suppose we have two packages: A and B. ...
3
votes
4answers
217 views

How can I make a summary of all the commands of Mathematica?

I would like to have a simple way to get summary information about all the many commands built into Mathematica. How could I do this? Is there a site I may refer to?
9
votes
1answer
398 views

How can I replace the Greek symbols in an expression with their plain text names?

Suppose I have an expression with Greek symbols in it. How would I convert that expression to another expression where the Greek symbols have been replaces with their names in plain text? I've ...
1
vote
0answers
76 views

Can I get a symbol cross-reference of a Mathematica Notebook?

Is there a way to get a cross reference listing for a notebook or set of notebooks?
5
votes
1answer
478 views

Why Mathematica chooses bracket for function arguments over parenthesis?

This is a non-technical question. I'm just curious that why Mathematica breaks the convention that parenthesis are widely used for function arguments. What's the advantage for ...
6
votes
1answer
217 views

TeXForm and Symbolize

I would like to use TeXForm to generate LaTeX output as usual. However, I use subscripted variables such as c_t. Unfortunately, ...
1
vote
0answers
109 views

Piecewise functions Integration with symbol

I want to integrate one piecewise functions as following, ...
4
votes
0answers
192 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 ...
13
votes
2answers
2k views

Which Mathematica function has the longest name (by character length?)

I came across DamerauLevenshteinDistance[u,v] in the documentation center so that got me thinking: Which documented Mathematica function has the longest name? ...
0
votes
0answers
61 views

Usage of @ symbol in Mathematica [duplicate]

What is the purpose of @ symbol? Also, I would appreciate if somebody could provide a webpage where such functional special symbols are documented
0
votes
1answer
27 views

Numeric-type attributes for symbols (analog of NumericFunction)

Is there an attribute for symbols that makes NumericQ give True? For example Pi and ...
2
votes
1answer
130 views

Equivalent command to the Maple indets command

This carries on the discussion here and here. I had mistaken Variable[] to give you ALL variables in an expression, but apparently, it is not meant for that. ...
0
votes
1answer
120 views

About Symbolize and Variables

I do believe this sort of similar questions had been asked many times, so I have read a LOT. For example this and this as well as many other related posts. But a glance at what my main question is ...
1
vote
1answer
171 views

Symbolize Subscript doesn't work

I want Mathematica to interpret subscripted variables as symbols. I found documentation suggesting the Notation package could do this, but if I do: ...
4
votes
1answer
116 views

Is undocumented \.bd = ½ bad to use?

I want to use \.bd which leads to ½ as part of the name of a symbol in the front end (e.g. ...
3
votes
0answers
67 views

How to get Symbol[“x”]=3 to work [duplicate]

This is probably a really simple one, but I'm stumped. I want Symbol["x"]=3 to work just like x=3. However I can't figure out ...