Search Results
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 |
Questions about using or composing operators--functional mappings from one state or vector space to another.
10
votes
Accepted
Associativity of upvalue
f[a x + b y] + c f[z]
is not the same as
1 * f[a x + b y] + c f[z]
so the pattern
a_ f[x] + b_ f[y]
does not match it. But if you use a_. then it's replaced with the default value (1, for Time …
10
votes
Accepted
Change Operator Precedence of --> operator
2
Chip Hurst was quicker than I to show the generalization
LongRightArrow[obj_, head_[f_, args__]] := head[LongRightArrow[obj, f], args]
So I'll just take one more step to handle unary postfix operators …
5
votes
Defining quantum-mechanical Bra and Ket operations
The relevant topics here are "Operators without built-in meanings" and solving your problem is a matter of assigning meanings to them. … VerticalSeparator[a,b] *)
You unfortunately cannot have the notation you proposed:
<a|*|b>
mathematica is expecting expressions to the left and right of the infix operator of multiplication, not other operators …