get_ylm
|
get_ylm(pts, lmax, list)
returns values of Ylm at the 3-by-anything array of unit vectors
PTS, for all l and m up to LMAX. The return value is
(lmax+1)*(lmax+2)/2-by-anything. The LIST is also returned; its
value is [1, 2,2, 3,3,3, 4,4,4,4, ..., LMAX+1,LMAX+1,...,LMAX+1]
-- i copies of each integer i up to LMAX+1. This can be useful
in conjunction with the histogram function; its values are l+1
for each element of the returned array's first index. The m
values are [0, 0,1, 0,1,2, 0,1,2,3, 0,1,2,3,4, ...]. Negative m
values are omitted, since they would be the conjugates of m>0.
llist= list-1;
mlist= (!list(dif))(cum)-(list-2)*(list-1)/2;
interpreted function, defined at i/ylmdec.i line 34
|