Sums of pairs of elements in a vector

PCMPairSums(lambda)

Arguments

lambda

a numeric vector

Value

a squared symmetric matrix with elem_ij=lambda_i+lambda_j.