powered by
Compute the trace-free quadrupole tensor of a set of point masses
quadrupole(x, m = 1)
n-by-3 matrix (x[1:n,1:3]) specifying the 3D cartesian coordinates of n points
n-vector with point masses, or signle scalar giving a uniform mass for all points (defaults is unity)
Returns a 3-by-3 symmetric matrix