function ab=sr_cBspline_cheb(dig,nofdig,N,m)
%SR_CBSPLINE_CHEB Recurrence coefficients for polynomials
%orthogonal with respect to the mth-order B-spline weight
%function
%   AB=SR_CBSPLINE_CHEB(DIG,NOFDIG,N,M) generates in DIG-digit
%   arithmetic, using the classical Chebyshev algorithm, the 
%   first N recurrence coefficients of the polynomials orthogonal
%   with respect to the Mth-order cardinal B-spline weight function
%   w(x)=phi_M(x) on [0,M] and places them to NOFDIG digits into 
%   the Nx2 array AB.

digits(dig);
mom=smom_Bspline(dig,N,m);
ab=schebyshev(dig,N,mom');
ab=vpa(ab,nofdig);
