only dct and dst left in chebfun class.