function ab=sr_alg(dig,nofdig,N,a,b,c)
%SR_ALG Recurrence coefficients for a weight function on [0,1]
%with algebraic singularities at one or both endpoints.
%   SR_USF(DIG,NOFDIG,N,C,MU,NU) generates the first N 
%   recurrence coefficients in DIG-digit arithmetic for the 
%   weight function W(X)=|X|^MU*EXP(-|X|^NU) on [-INF,-C]U[C,INF] 
%   and places them to NOFDIG digits into the Nx2 array AB.

digits(dig);
mom=smom_usf(dig,N,c,mu,nu);
ab=schebyshev(dig,N,mom');
ab=vpa(ab,nofdig);
