Navigation

Operators and Keywords

Function List:

C++ API

subsasgn.m File Reference


Functions

endif switch (s(1).type) case"
 if (numel(ind)!=1) error("polynomial
 if (strcmp(fld,"poly")) if(length(s)
endif else error ("@polynomial/subsref: invalid property \"%s\"", fld)
endif otherwise error ("invalid subscript type")

Variables

function p
 ind = s(1).subs
endif endif case fld = s(1).subs
elsepoly = subsasgn (p.poly, s(2:end), val)

Function Documentation

endif otherwise error ( "invalid subscript type  ) 

endif else error ( "@polynomial/subsref: invalid property \"%s\""  ,
fld   
)

if ( strcmp(fld,"poly")   ) 

if ( numel(ind)!  = 1  ) 

endif switch ( s(1).  type  ) 


Variable Documentation

endif endif case fld = s(1).subs

ind = s(1).subs

Initial value:

 subsasgn (p, s, val)
  if (length (s) < 1)
    error ("polynomial: needs index")

else p poly = subsasgn (p.poly, s(2:end), val)