function p = polynom(a)
%POLYNOM Polynomial class constructor.
%  p = POLYNOM(v) creates a polynomial object from the vector v, 
%  containing the coefficients of desending powers of x.
if nargin == 0
	p.c = [];
	p.name = 'none';
	p = class(p, 'polynom');
elseif isa(a, 'polynom')
	p = a;
else
	p.c = a(:)';
	p.name = 'none';
	p = class(p,'polynom');
end