Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. Sum[c[n]r^(2-n/2)+d[n]r^(-n/2),{n,Infinity}]
  2.  
  3. (* your exclusion conditions *)
  4. conds={2-n/2<0, (* possibly more *) };
  5.  
  6. filter[c_]:=Piecewise[{{1,And@@c}},0]
  7.  
  8. Sum[filter[conds] c[n]r^(2-n/2) + filter[conds] d[n]r^(-n/2),{n,Infinity}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement