powered by
This function creates the duplication matrix of size \(p^2 \times p(p+1)/2\)
duplication_matrix(p)
Integer which specifies the dimension of the duplication matrix.
a matrix of size \(p^2 \times p(p+1)/2\)