Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. 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.

Filter by
Sorted by
Tagged with
3
votes
0answers
54 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: ...
5
votes
4answers
762 views

Replace every Minus to Plus in Expression

Thought this is a rather simple thing, but I was not able to find a solution. I have a polynomial expression like: ...
1
vote
3answers
102 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. ...
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
70 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 ...
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 ...
3
votes
1answer
140 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: ...
10
votes
2answers
565 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
435 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.
2
votes
1answer
106 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
43 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
1answer
134 views

Convert ASCII Characters to Mathematica Input Form

I have the following pure ASCII character list: ...
7
votes
2answers
484 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, ...
2
votes
0answers
28 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
280 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
95 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 ...
32
votes
3answers
13k views

Guidelines on giving readable names to variables [closed]

I know that one cannot use underscore to a variable name, like degree_of_The_First_Polynomial. But for a long variable name, it ...
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 ...
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: ...
73
votes
2answers
7k views

Is there a way to separate variables between multiple notebooks?

I often correct homework by checking the calculations in Mathematica. Sometimes you would like to have two solutions open at once. However often defined symbols such as ...
19
votes
2answers
840 views

Automated testing for compatibility with older Mathematica versions

I have several packages which I actively develop and maintain. I try to stay up to date with new releases of Mathematica and usually update within a couple of months of a new version coming out. As a ...
1
vote
1answer
45 views

Setting to zero non defined array variables

I have a situation like this (for example): ...
7
votes
2answers
195 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
116 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
49 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
544 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
41 views

Importing table with symbolic and numerical rows

Consider generated numerical data with added symbolical row: ...
3
votes
1answer
401 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
186 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] ...
13
votes
1answer
141 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 ...
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 ...
4
votes
1answer
113 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
101 views

How to replace the symbol n in DifferenceRoot

I'd like to employ another symbol (say alpha or k) instead of n in the following (type of) ...
-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=."?
11
votes
2answers
2k views

Why did Mathematica choose brackets for function arguments over parentheses?

This is a non-technical question. I'm just curious why Mathematica breaks the convention that parentheses are widely used for function arguments. What's the advantage of ...
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 $
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. ...