# 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.

27 views

### Pass list title as argument? [duplicate]

I have a function that works with a list and outputs it. Is it possible to also get the name of the list as an argument? Right now my code is ...
45 views

### How to declare variables with plus/minus sign as subscript/superscript?

I am pretty new to mathematica, so please forgive me if I ask any stupid questions. I want to create a vector $a^{+}=[a^+_{k-2},a^+_{k-1},a^+_{k},a^+_{k+1},a^+_{k+2}]$ and then do some symbolic ...
41 views

### Define return values for a function that is not of type Boolean

I have a function with more than two possible return values. A simplified example is the following function that classifies vertices of a graph according to their degrees: ...
34 views

### Protected Variable Error with Workbench 3.0

I have Wolfram Workbench 3.0, build 78, with Mathematica 10.4 as the front end. I am using Windows 10. I am trying to run a simple test source code test.m: ...
91 views

### Make a glyph using the BezierCurve function

There are a lot of applications that you make a glyph from a scanned image. Mathematica does have fine tools to interpolate curves like the BezierCurve[] function. ...
61 views

### Special characters in mathematica

I'm currently making a plot and want to demarcate a couple of points. I would like to label them $\widetilde\alpha$ and $\hat\alpha$. How can I do this?
32 views

### RGtensor undefines some symbol

I am using the package RGTC for differential geometry. Firstly I define a symbol \[Sigma] = Array[PauliMatrix, {3}];, then a metric and other stuff (as required by ...
111 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 ...
21 views

### How to make an expression in this case evaluated one step and stop there? [duplicate]

I wonder how to make Symbol@"m" evaluated once so that it becomes a symbol m which is ready to be assigned again. ...
70 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. The text I want to "copy" or "batch produce" is a little bit complex, since it contains quoted areas and ...
69 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 ...
68 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 ...
535 views

### Character to replace _ in symbol names?

In C, _ comes in handy when naming variables and functions, as a replacement for space. For example: ...
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: <...
111 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, ...
133 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: <...
96 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[]; ...
62 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 83 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 62 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 74 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 163 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 52 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 ... 1answer 53 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: ...
71 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: ...
151 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 ...
39 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 ...
121 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 ...
83 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?
55 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: ...
107 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 ...
271 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: ...
121 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 ...
104 views

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

I have this code: ...
204 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 ...
599 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 ...
132 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 ...
179 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 ...
56 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 user-...
165 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.
160 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 ...
298 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 ...
371 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 ...
76 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 ...
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: ...
86 views

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

Assume that definitions like the following are in place: ...