Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

3
votes
1answer
37 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
60 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 ...
0
votes
1answer
38 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
24 views

Unexpected symbol::shdw warning during NotebookEvaluate

Consider the following code: ...
7
votes
0answers
40 views
6
votes
1answer
112 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 ...
2
votes
1answer
73 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
56 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
100 views

Convert ASCII Characters to Mathematica Input Form

I have the following pure ASCII character list: ...
1
vote
2answers
88 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
186 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}}} ...
5
votes
2answers
105 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
42 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
65 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
129 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
377 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
38 views

Importing table with symbolic and numerical rows

Consider generated numerical data with added symbolical row: ...
3
votes
1answer
220 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
224 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
160 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
48 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
45 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
54 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
0answers
22 views

prompting for defined symbols and functions lost

I wanted to use same symbols in two different notebooks, so I changed the cellcontext option to notebook as given here. But ...
0
votes
1answer
46 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
82 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=."?
3
votes
1answer
101 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
170 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
131 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
121 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
41 views

Unexpected behavior of NotebookDirectory

The following code prints a message about a symbol in multiple contexts (MMAv9). ...
2
votes
2answers
123 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
39 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
56 views
9
votes
1answer
185 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
143 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
162 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
195 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
74 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 ...
1
vote
0answers
16 views

Substitute variable inside manipulate [duplicate]

Consider the following piece of code ...
0
votes
1answer
55 views

Assign a value to the protected string [duplicate]

How can I assign a value for a symbol composed of a string plus and another string converted from integer? n=3; Symbol["as"<>ToString[n]]=4; So I want to ...
3
votes
1answer
311 views

Defining a symbol e that represents plus-minus-one, so that e^2 == 1 and e^3 == e

I have a variable (say, e) that can assume only the values $1$ or $-1$. My calculations are extensive and if I introduce the symbol ...
5
votes
1answer
216 views

How to create new custom symbols like \[Wolf]?

In Mathematica, we can often get very special symbols by typing esc ... esc or \[...], such as the Wolf or Mathematica's logo. ...
2
votes
1answer
114 views

Why is my variable Lambda defined but not the others?

I would like to understand why in the following code, my variable Λ is recognized by the system but not n. In fact for me ...
5
votes
2answers
339 views

Symbolize Does Not Work in `.m` Files or What?

I have a .nb (notebook) file which I should convert to a .m (mathematica package) file to run it remotely from command line of a ...
2
votes
2answers
122 views

Halting Symbol Transformations for Function Arguments

I think the simplest way to state my question is to give an example: x=2; f[x_]:= x; (* Is this possible? *) f[x] (* x *) In other words, is it possible to stop ...
11
votes
1answer
207 views

How can I define symbols but not have them show up in the front end?

I have a huge set of packages with, arguably, far too many functions. Paring down the number of functions, while a good thing to do eventually, is something I just don't want to spend the time on ...
5
votes
1answer
113 views

Unique[] and special handling of symbols ending with a single dollar sign

Example Unique[x] generates a new symbol, with a name of the form x$nnn. If so then this is not correct: ...