Navigation

Operators and Keywords

Function List:

C++ API

sylvester_matrix.m File Reference


Functions

endif if (isscalar(k)) if(k< 1) retval
id tmp ()
endif else error ("sylvester_matrix: expecting scalar argument")
endif endfunction !assert ((sylvester_matrix(1)==[1, 1;1,-1]%!&&(sylvester_matrix(2)%!==[1, 1, 1, 1;1,-1, 1,-1;1, 1,-1,-1;1,-1,-1, 1])))
!error sylvester_matrix ([1, 2;3, 4])
!error sylvester_matrix (1, 2)

Variables

function retval
else tmp = sylvester_matrix (k-1)

Function Documentation

endif endfunction !assert ( (sylvester_matrix(1)==[1, 1;1,-1]%!&&(sylvester_matrix(2)%!==[1, 1, 1, 1;1,-1, 1,-1;1, 1,-1,-1;1,-1,-1, 1]))   ) 

endif else error ( "sylvester_matrix: expecting scalar argument"   ) 

endif if ( isscalar(k  ) 

!error sylvester_matrix ( ,
 
)

error sylvester_matrix (  ) 

id tmp (  )  [virtual]

Type Constraints


Variable Documentation

retval

Initial value:

tmp = sylvester_matrix (k-1)