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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 57

How to manipulate expressions structurally, not necessarily complying with the rules of algebra.

2
votes
GetSubAndSuperscripts[expr_] := Cases[expr, Superscript[_, s__] | Subscript[_, s__] :> s, Infinity] Expr = (h*Superscript[u, g]*Superscript[Subscript[a, b, c], z])^Pi; GetSubAndSuperscripts[Exp …
answered Nov 26 '14 by Sjoerd C. de Vries
3
votes
k = 5; list = {}; For[i = 1, i <= k - 2, With[{i = i, k = k}, AppendTo[list, HoldForm[1/(1 + Cos[(i \[Pi])/k])]]]; i = i + 2]; Print[list];
answered Mar 31 '13 by Sjoerd C. de Vries
5
votes
Not an answer to your question how to test for this behaviour, but I thought you might find it useful to have a way to programatically access the internal structure of the MeshRegion you used as an ex …
answered Jun 9 '17 by Sjoerd C. de Vries
7
votes
"How do I extract the business part of such expressions in a more universal way?" Well, do you always know what the "business part" of your expression is? For instance, pw = Series[Piecewise[{{Cos[ …
answered Apr 5 '12 by Sjoerd C. de Vries