R/RcppExports.R
pairwise_Schur_product.Rd
Fast computation of all pairwise element-wise column products of a matrix.
pairwise_Schur_product(x, self = FALSE)
A matrix with the same number of rows as x and a number of columns corresponding to c choose 2 (+ c if self is TRUE), where c is the number of columns of x.
Note that the output order of columns corresponds to the order of the columns in x. First column 1 is multiplied with each of the other columns, then column 2 with the remaining columns etc.