function d = double(p)
% polynom/double - konverze polynomu na vektor koeficientu
% d = double(p)

d = p.koeficienty; % vratime vektor koeficientu