Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 125

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.

5 votes
Accepted

Method for determining valid name syntax?

There is the undocumented function Internal`SymbolNameQ: Internal`SymbolNameQ /@ {"1st", "two wrds", "no_good", "al.most", "ok"} {False, False, False, False, True}
kglr's user avatar
  • 401k
3 votes

Generating list of alphabet letters

lttrsF = FromCharacterCode /@ (ToCharacterCode[#][[1]] + Range[0, #2-1]) & lttrsF["b", 4] (* {"b", "c", "d", "e"} *)
kglr's user avatar
  • 401k
3 votes
Accepted

Hold all the symbols from a huge list?

You can use the fourth argument of Array as follows: Array["X" <> ToString@# &, Num, 1, Hold[##] &] Hold["X1", "X2", "X3", "X4", "X5"] Array[Symbol["X" <> ToString@#] &, Num, 1, Hold[##] &] …
kglr's user avatar
  • 401k
15 votes
Accepted

List of Mathematica glyphs

The guide Listing of Named Characters in Mma docs: Mathematica provides systemwide support for a large number of special characters. Each character has a name and a number of shortcut aliases. The …
kglr's user avatar
  • 401k
9 votes
Accepted

need help to enter the orthogonal sign, the upside down T.

You need UpTee: UpTee[x, y] or x \[UpTee] y or, using the input alias, x ESC uT ESC y x ⊥ y
kglr's user avatar
  • 401k
11 votes
Accepted

Change nested list of symbols to nested list of numbers

symbols = {e4, {e200, {e1, {e11, e23}}}}; Map[FromDigits@StringDrop[SymbolName[#], 1] &, symbols, {-1}] {4, {200, {1, {11, 23}}}} Map[FromDigits @ StringCases[SymbolName[#], NumberString] &, symbols … #], NumberString], Listable]@symbols And, inspired by Jack LaVigne's comment, Replace and ReplaceAll: Replace[symbols, s_Symbol:> FromDigits[StringDrop[SymbolName[s], 1]],∞ ] symbols /. …
kglr's user avatar
  • 401k
4 votes
Accepted

Mirroring the graph on the negative y axis

plot = Plot[Evaluate[Piecewise[{{Clip[#[x], {0, 5}], -Pi <= x <= 3 Pi}}, #[Pi]] & /@ {Sin, 1/2 + Sin[#] &, 3/2 + Sin[#] &}], {x, -3 Pi, 6 Pi}, Filling -> 0] 1. You can use ReflectionTransfor …
kglr's user avatar
  • 401k
2 votes

How to use the Wolfram Language Symbol entity type to list all the entity types?

You can get the list of all entity types using EntityValue[]: Row[EntityValue[], "▪"]
kglr's user avatar
  • 401k
0 votes

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

You can also use Internal`LiterallyAbsentQ or Internal`LiterallyOccurringQ in combination with Replace, DeleteCases or Select: r1 = Replace[expr , _?(Internal`LiterallyAbsentQ[#, keep] &) :> 0, 1]; T …
kglr's user avatar
  • 401k
7 votes
Accepted

Name of patterns cast as expressions from strings

StringCases["223", a : DigitCharacter ~~ b : DigitCharacter /; Evaluate[Unequal @@ (ToExpression /@ Characters["ab"])]] {23} Compare the evaluation of the three forms using Trace: Trace[Str …
kglr's user avatar
  • 401k