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 not deleted user 39507

Questions about using or composing operators--functional mappings from one state or vector space to another.

0 votes
2 answers
287 views

Sum over integer partition with variable function argument

Define $$\hat{X}(Y) = [X,Y] $$ I have known matrices $S_i$ and $V$. I am trying to use Mathematica to define a function which calculates $$ \sum_{\substack{n_1, \ldots, n_k>1\\ n_1+\ldots n_k = m}} …
Jagerber48's user avatar
0 votes

Sum over integer partition with variable function argument

Here's an answer based on that of march above. ad[X_, Y_] = X.Y - Y.X; SS[k0_, m0_] := Module[{k = k0, m = m0, inds}, inds = Flatten[Permutations /@ IntegerPartitions[m, {k}], 1]; ss = Map[S, i …
Jagerber48's user avatar