function f = clearPointValues(f)
%   F = CLEARPOINTVALS(F) sets the .POINTVALS(j) to the average of the right and
%   left limits of its neighbouring funs for interior breaks and the limits from
%   the left and right for the POINTVALS(1) and VALS(end), respectively.
for k = 1:numel(f)
    f(k).pointValues = chebfun.getValuesAtBreakpoints(f(k).funs);
end

end



chebfun
github-repos/MATLAB/chebfun-chebfun/chebfun-8c49396a55e46ddd57a1d108c6a8f32e37536d54/@chebfun/resetPointValues.m
chebfun
github-repos/MATLAB/chebfun-chebfun
8c49396a55e46ddd57a1d108c6a8f32e37536d54