Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [symbols]

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.

235 questions
Filter by
Sorted by
Tagged with
31 views

InputField with a symbol’s name [duplicate]

Suppose I have an InputField of type String wherein I want to enter a symbol name that I want a later Button to assign values to. That button would then do something like: ...
70 views

Matrix of functions

I want to create a matrix of functions. As explained in this question, I can create a matrix of variables: ...
545 views

How can I obtain a complete list of the kinds of atomic expressions in the Wolfram Language using only the language itself?

I mean, Wolfram is a language--it's words are infinitely combinable. According to answers to my last question, the only way I can find out if an expression is atomic is actually use the expression. ...
69 views

How can I ask the Wolfram Language to tell me if a hypothetical expression with a particular head would be atomic or not?

Integers in the Wolfram Language are atomic expressions, while uses of the Map function are not atomic. But if you didn't know this, how could you find out using only the Wolfram Language? The best I ...
101 views

Why do atomic objects like 56 have a head if they're supposed to be, well, atomic?

This question follows from this one I made earlier. If you ask for FullForm you will get back 4, and that's fine. ...
111 views

What's the difference between 56 and Integer? [duplicate]

I'm trying to grasp how to Wolfram Language uses symbolic expressions for everything. The concept of doing so makes sense to me, but the language doesn't behave how I predict. I understand how ...
559 views

Make symbols atomic, without losing their type

So, I'd like to define a matrix M, that does not decompose into it's constituents when I do things like Tr[M], but I also want it's type to be retained. (By type, ...
102 views

Automated (lazy) method to make custom (key-input) shortcuts (not menu items) for letter-like symbols? [duplicate]

The Problem: I don't know about you, but every time I am trying to do analytical work in Mma, it is rather difficult/cumbersome for me to type the following, here specifically for ...
41 views

How to customize a double integral symbol?

I use Mathematica as a notebook,but there is no double integral symbol,there is also no triple integral symbol and so on If there is any way to customize a symbol
69 views

140 views

SetDelayed::wrsym on first use of \[FormalX] in Plot & ContourPlot

Bug introduced in 11.1 or earlier and persisting through 11.3.0 or later CASE:4024964 Here's a weird one. Starting with a fresh kernel, the first time I plot a function of ...
122 views

Apply Clear puzzle

This is OK foo=1; bar=2; Clear[foo,bar] But this is not foo=1; bar=2; Clear@@{foo,bar} Clear::ssym: 1 is not a symbol. ...
43 views

Unexpected behavior of NotebookDirectory

The following code prints a message about a symbol in multiple contexts (MMAv9). ...
133 views

unable to find the solution using mathematica function ''GreenFunction"

GreenFunction[{u''''[x] - b^4*u[x], u'' == 0, u''' == 0, u'' == 0, u''' == 0}, u[x], {x, 0, 1}, y] Actually, i am trying to find the green function ...
40 views

changing variables to other symbols through the code

How can i change variables symbols throughout the entire code without having to change it one by one. So for example A=20 and then 2*A=40; should change to B=20 and 2*B=40.
56 views

Strange symbols obtained after the integration [closed]

Suppose the function ...
197 views

1 is not the SameQ as Null, but why might 1 be Equal to Null?

The command SameQ[1, Null] returns False which is what I would expect, but the command ...
171 views

Should I Protect function's options

I'm trying to figure out what is the best way to protect symbols within a package (a function's options in particular) so that no other value can be assigned to it. Consider a function ...
189 views

How to convert a list of variable names into a list of formal symbols?

I have a lists of variable names that include greek letters. names = {"a", "b", "μ", "Σ"} I would like to construct a lists of formal symbols from these such the ...
200 views

Efficient Search for specific Terms in symbolic Expression

I have a large symbolic expression with six variables a,b,c,d,e,f per term, roughly like this: ...
85 views

ToString get local name of the symbol

I am using ToString to convert symbols to a string. So my entire code is written assuming ToString[a] will return ...