Navigation

Operators and Keywords

Function List:

C++ API

poly.m File Reference


Functions

 if (m==0) y
 elseif (m==1) v = eig (x)
else print_usage ()
 y (1)
 y (2:(j+1))
endfor if (all(all(imag(x)==0))) y
endif endfunction !assert (all(all(poly([1, 2, 3])==[1,-6, 11,-6])))
 !assert (all(all(abs(poly([1, 2;3, 4])-[1,-5,-2])< sqrt(eps))))
!error poly ([1, 2, 3;4, 5, 6])
 !assert (poly([]), 1)

Variables

function y
endif m = min (size (x))
 n = max (size (x))
 return
for j = 1:n

Function Documentation

!assert ( poly([])  ,
 
)

!assert ( all(all(abs(poly([1, 2;3, 4])-[1,-5,-2])< sqrt(eps)))   ) 

endif endfunction !assert ( all(all(poly([1, 2, 3])==[1,-6, 11,-6]))   ) 

elseif ( = =1  )  = eig (x)

endfor if ( all(all(imag(x)==0))   ) 

if ( = =0  ) 

!error poly (  ) 

else print_usage (  ) 

y ( 2:  j+1  ) 

y (  ) 


Variable Documentation

for j = 1:n

endif m = min (size (x))

n = max (size (x))

return

endif y

Initial value:

 poly (x)

  if (nargin != 1)
    print_usage ()