We’re rewarding the question askers & reputations are being recalculated! Read more.

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.

Filter by
Sorted by
Tagged with
3
votes
0answers
52 views

Obtain complete list of built-in graphical objects, and split them into groups?

I would like to obtain the complete listing of built-in graphical objects (which can be used in Graphics or Graphics3D) ...
0
votes
1answer
29 views

Testing Expression over region of values

I'd like to test whether this expression is negative when a and b are constrained to lie within (0,1) interval. Any ideas how? ...
1
vote
1answer
32 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: ...
0
votes
1answer
71 views

Matrix of functions

I want to create a matrix of functions. As explained in this question, I can create a matrix of variables: ...
13
votes
1answer
548 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. ...
1
vote
2answers
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 ...
1
vote
3answers
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[4] you will get back 4, and that's fine. ...
3
votes
2answers
112 views

What's the difference between 56 and Integer[56]? [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 ...
10
votes
2answers
564 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, ...
2
votes
1answer
103 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 ...
3
votes
1answer
42 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
2
votes
2answers
70 views

How can one eliminate results in which symbols are assigned constant values?

As an exercise (pertaining to my posting Perform a constrained integration over $[-1,1]^6--yielding a "separability probability"), I issued the command ...
1
vote
1answer
48 views

Using TeXForm for subscripted variables

I tried following the answer in TeXForm and Symobilze, however, I have trouble making it work. I loaded the Notation packages and symbolized all expressions with a subscript as in the example. I ...
2
votes
0answers
27 views

Unexpected symbol::shdw warning during NotebookEvaluate

Consider the following code: ...
8
votes
0answers
47 views

Dealing with over eager shadowing messages

...
6
votes
1answer
273 views

Symbol appears in multiple contexts when loading package

I'm building a Mathematica application "APPStestI" that contains three packages: SUBappsA.m, SUBappsB.m, SUBappsC.m and APPStestI.m. Where APPStestI.m is the main package; SUBappsA.m and SUBappsB.m ...
3
votes
1answer
93 views

Why are stored variables with symbols featuring subscripts in blue after evaluation?

When normal variables are stored in the kernel after an evaluation they change color in the notebook from blue to black. I notice that if such variables are defined with symbols having subscripts such ...
3
votes
1answer
57 views

Converting linear combinations of symbols (with numbers) to linear combinations of list elements

I have a function that generates output that is a list of linear combinations of symbols with numbers, as an example: ...
2
votes
1answer
134 views

Convert ASCII Characters to Mathematica Input Form

I have the following pure ASCII character list: ...
1
vote
2answers
94 views

Mathematical symbols appear grey/faded/opaque

I admit this is quite a strange question. The mathematical symbols in my output appear as grey and faded, instead of bold black like my input. I attach a photo. Both the curly brackets and the minus ...
1
vote
1answer
45 views

Setting to zero non defined array variables

I have a situation like this (for example): ...
7
votes
2answers
194 views

Change nested list of symbols to nested list of numbers

I have some nested lists of symbols, all of the same format, and I wish to convert them to nested lists of integers, i.e. {e1,{e1,{e1,e2}}} -> {1,{1,{1,2}}} ...
6
votes
2answers
114 views

How can I implement a listener variable in Mathematica?

I'd like to be able to listen to a variable and know when it's been changed and accept/reject the change as well as use it as an update listener for Dynamic how can ...
1
vote
1answer
47 views

Using both subscripted and non-subscripted variables in an equation

I'm getting started with Mathematica, as I have been using Maple in the past. Is it possible to define two variables $\alpha_1, \alpha_2$ and then still use $\alpha$ as a parameter of a function and, ...
1
vote
3answers
72 views

Elimination of terms not containing at least one variable from a set

I have an expression with each term therein either containing at least one $n_i \in \left\{ n_1 , n_2 \dots , n_{5} \right\}$ or no $n_i$ at all. I would like to easily eliminate all the terms that ...
3
votes
2answers
165 views

List names of symbols with its arguments

Before Mathematica 10.0, when there was no Association, the suggested way of using datastructures map, was to abus arguments of undefined symbols: ...
7
votes
1answer
521 views

What does the syntax C[1][x][y] mean?

I am examining an integrability condition, $$u_{3,122}=u_{3,123}.$$ Typing DSolve[D[u3[x1,x2,x3],x1,x2,x2]==D[u3[x1,x2,x3],x1,x2,x3],u3,{x1,x2,x3}] it into MMA ...
1
vote
3answers
40 views

Importing table with symbolic and numerical rows

Consider generated numerical data with added symbolical row: ...
3
votes
1answer
392 views

How to list all user-defined symbols?

I create a lot of symbols, and then I move on to my next set of manipulations. I noticed that symbols from prior sessions are still around. I have no idea how many symbols are in my context, but there ...
5
votes
2answers
235 views

Where to look up information about some symbols, such as “,”, “[” and “]” (not string)?

Searching { in F1 documentation, one at least gets an item for List. But the same thing is not happening for ...
1
vote
1answer
26 views

Halt the computation when it encounters a Symbol?

Is there a way to stop the evaluation of an expression when the result of that expression would depend on the value of a Symbol? ...
12
votes
1answer
184 views

Check if symbol is in core language

How can I check if a symbol is pre-defined by Mathematica, in a way that's backwards compatible with old versions? i.e. I would like some CoreLanguageQ[x_Symbol] ...
1
vote
1answer
50 views

term derivation

I am trying to take partial derivative of sum: $$Cv_m=\sum_{i=1}^{Ns}Cv_i \frac{\rho_i}{\rho_m},$$ where $Cv_i$ are constants. I want to take derivative $$\partial{Cv_m}/\partial\rho_i=Cv_i /\rho_m$$ ...
2
votes
1answer
48 views

Replacing product of powers of subscripted symbol

I have an expression that involves subscripts, powers and products, for example: $3(m-1)^2 \alpha_{a,b}^c \alpha_{d,e} + n \alpha_{f,g}^h$ (Sorry, I had to use TeX, but read it as mathematica input ...
1
vote
1answer
59 views

any possible meaning to a “terminal” slash (/)? [closed]

I've been directed to the web page http://functions.wolfram.com/07.31.16.0001.01 The first statement in the formula is ...
0
votes
1answer
49 views

Using List of Variables to construct Control[] within Manipulate[]

How can I use a list of variable names within Symbol[] inside a Manipulate[], specifically using ...
-1
votes
1answer
104 views

meaning of variable equal dot [closed]

I came across a program which I have written in a simplified form. For[i=1,i<100, i=i+1; func = a x^i; func=. ]; What is purpose of "func=."?
4
votes
1answer
112 views

Typeset the standard “Moon” symbol

As it says on the tin, I want a way to typeset the astronomical symbol for the moon, which is a crescent. I also want this in such a way that I could integrate it into a button as a label, like the ...
3
votes
1answer
198 views

How do I write semidirect product symbol “ ⋊ ”?

I am trying to write in a *.nb file the following syntax: $G \rtimes H $ or $G \ltimes H $
13
votes
1answer
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 ...
4
votes
3answers
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. ...
1
vote
1answer
43 views

Unexpected behavior of NotebookDirectory

The following code prints a message about a symbol in multiple contexts (MMAv9). ...
2
votes
2answers
135 views

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

GreenFunction[{u''''[x] - b^4*u[x], u''[0] == 0, u'''[0] == 0, u''[1] == 0, u'''[1] == 0}, u[x], {x, 0, 1}, y] Actually, i am trying to find the green function ...
0
votes
0answers
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.
0
votes
1answer
57 views

Strange symbols obtained after the integration [closed]

Suppose the function ...
9
votes
1answer
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 ...
6
votes
2answers
174 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 ...
6
votes
2answers
190 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 ...
7
votes
2answers
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: ...
0
votes
1answer
86 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 ...