# Tagged Questions

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.

18 views

### Using Mathematica to batch-produce text files

I need to make a bunch of plaintext files, all of which differ only in a single parameter. I was thinking in doing something like this: ...
59 views

I'm wondering how to input a therefore sign in Mathematica? For example, I want to input / output something like: ∴ a == 2 + 1 // TraditionalForm ∴ a = 3 ...
61 views

### How to extract all necessarily code for a function?

Many times when someone pastes a piece of code into SE there are missing values and symbols that the user left out. To prevent this I'm looking for a function that uproots other functions (extract ...
515 views

### Character to replace _ in symbol names?

In C, _ comes in handy when naming variables and functions, as a replacement for space. For example: ...
263 views

### The introduction for Context in Wagner's book is out of date? [duplicate]

In Section 8.1.1 (P230 of the book, P249 of the PDF) of Wagner's book, the following example is shown: x = 5; tempx = 6; Begin["temp"]; {x, Globalx} The ...
440 views

### Result about Context is inconsistent with the description of “Power Programming with Mathematica”

x = 5; tempx = 6; Begin["temp"] {x, Globalx, tempx} The result in my Mathematica session is {5,5,6}, but it's ...
146 views

### Free symbols in an expression

I am starting to learn the basic MMA grammar these days. I hope I do not ask too much stupid questions. Here is one of them: Getting free symbols in an expression can be done by following codes: ...
109 views

### Differentiating between zero and “empty” in lists, and adding them?

(Edit: I mean 'differentiate' as in telling the difference between two things, not as in f'(x) ) I have n series of numbers, let's say two for example, with some "empty" spaces between the numbers, ...
238 views

### How to find the package file that stores a certain symbol?

Is it possible to figure out in what file a certain packaged symbol lives in (assuming there is no shadowing between multiple identical symbol names)? I would like to have a function that if, given a ...
132 views

### Selecting all the elements of different length that contain only numbers

If I have a list of lists with different lengths: {{1, 2, 3}, {1}, {1, 2, 3, 4}, {x}, {1, x}, {2}, {2, 3}} How can I extract all the sub-lists with no symbols: ...
92 views

### How to store symbols in a package without being parsed?

I have a package file myPackage.m with the following content: BeginPackage["myPackage"]; load[] := {a, b, c}; EndPackage[]; ...
57 views

### $CellContext issue while trying to export the current output of a Manipulate Having just read this question Getting variables out of Dynamic Modules after restoring the program and the Kuba's answer I'm trying to optimize my workflow. I'm writing a Mathematica notebook to ... 1answer 41 views ### A problem related to a self-defined function ... 1answer 71 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? ... 1answer 48 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: ... 2answers 72 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 ... 2answers 150 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 ... 0answers 50 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 ... 3answers 827 views ### List of Mathematica glyphs Context I am using Mathematica to create live documents - documents that are both interactive and show mathematical derivations. Now, I'm aware that there are certain symbols that are available via: ... 5answers 20k views ### How do I clear all user defined symbols? Is there some way to do this other than going to Evaluation -> Quit kernel and firing a new one up? 0answers 52 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 ... 1answer 50 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: ...
67 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: ...
144 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 ...
225 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, ...
273 views

### How can one type a box with “x” marked?

In some text portion of my notebook, I would like to be write check boxes which are empty, check marked or "x" marked. The following commands work for the first two: ...
36 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 ...
114 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 ...
71 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 ...
44 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?
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: ...
106 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 ...
1k views

So I've downloaded the latest FeynCalc from this site and put the extracted folder in user/me/library/Mathematica/application, but when I write the command ...
226 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: ...
198 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 ...
210 views

### How to make a defined symbol stay in symbol form?

How to make a defined symbol stay in symbol form? w = 3; g = 4; {w, g}[[2]] 3 I want the output to be ...
119 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 ...
95 views

### How to instruct mathematica that $\delta^*$ is the conjugate of $\delta$

I have this code: ...
389 views

### How to set a TraditionalForm output for a symbol

How do I set a TraditionalForm output for a particular symbol/function? In particular I would like my user-defined symbol ...
55 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 ...
484 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 ...
115 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 ...
171 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 ...
225 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?
118 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.
154 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 ...
272 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 ...
360 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 ...