function lip = laintpol(uzly,ff)
% function lip = laintpol(uzly,ff)
% Lagrangeuv interpolacni polynom

n=length(uzly)-1;
lip=zeros(1,n+1);
for k=0:n
    li=lafunpol(uzly,k);
    lip=lip+ff(k+1)*li;
end

end

