Fixing ROOTS for array-valued CHEBFUN objects.
Fixing ROOTS for array-valued CHEBFUN objects.

My test that this is working was:
>> f = chebfun(@(x) [sin(15*x), sign(x), x.^2-.5, 1+0*x], [-1, 0, 1], 'extrapolate', 'on')
>> f.impulses(2,4) = 0;
>> roots(f)
which seems correct.

asgeirbirkis/chebfun,ilovejs/chebfun,alshedivat/chebfun