Function Reference
— Function File: duplication_matrix (n)

Return the duplication matrix which is the unique matrix such that for all symmetric matrices

See Magnus and Neudecker (1988), Matrix differential calculus with applications in statistics and econometrics.