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 questions only not deleted user 217

Questions on the use of Mathematica in combinatorics, including the Combinatorica add-on package.

9 votes
1 answer
344 views

Generating an efficient way to compute einsum?

Given an einsum like below, how could I generate an efficient computation graph for it? $$X_{ik} M_{ij}M_{kl} X_{jl}$$ The indices range from $1$ to $d$ and the goal is to minimize computation time …
Yaroslav Bulatov's user avatar
4 votes
1 answer
73 views

Getting dataset whose cumulants match user-provided values?

I'm interested in getting list of numbers whose cumulants match user-specified list of values. Below is an example that works for list of length 2, but I'm interested in generalizing it to higher cumu …
Yaroslav Bulatov's user avatar
14 votes
2 answers
450 views

Generating set partition diagrams

I recently came across a very nice illustration of set partitions on wikipedia (Partition of a set article) I need to reproduce this diagram in order to modify some things, does anyone have a good st …
Yaroslav Bulatov's user avatar
8 votes
1 answer
407 views

Visualizing set partition lattice

There's a cool visualization of set of all partition over 4 elements ordered by refinement, which makes it a lattice. Can Mathematica be used to generate these kinds of visualizations automatically? T …
Yaroslav Bulatov's user avatar
1 vote
1 answer
114 views

Generating summation formulas for factorized 4th moments

I'm interested in getting summation formulas for the following expression, in Einstein summation notation, with indices ranging from $1$ to $d$ $$c=X_{ik}M_{ijkl}X_{jl}$$ Here $M_{ijkl}$ is specifie …
Yaroslav Bulatov's user avatar
12 votes
3 answers
460 views

Visualizing diagrams needed to compute $\operatorname{Tr}(A^3 (A^T)^3)$

I'm estimating I'm about halfway done to a nice Wolfram Community post on combinatorics of random matrices. Cross-posted to Wolfram Community, for more visibility from WRI employees …
Yaroslav Bulatov's user avatar