Navigation

Operators and Keywords

Function List:

C++ API

display.m File Reference


Functions

function display (p) a
 fprintf ("%s =", inputname(1))
 if (a(i)!=0) if(first) first
 elseif (a(i) > 0) fprintf(" +")
endif if (a(i)< 0) fprintf(" -")
endif if (i==1) fprintf(" %g"
endif abs (a(i)))
 elseif (abs(a(i))!=1) fprintf(" %g *"
endif if (i > 1) fprintf(" X")
endif if (i > 2) fprintf(" ^ %d"
endif endif endfor if (first) fprintf(" 0")
endif fprintf ("\n")

Variables

 first = true
for i = 1 : length (a)

Function Documentation

abs ( a(i)   ) 

function display (  ) 

elseif ( abs(a(i))!  = 1  ) 

elseif ( a(i)  ,
 
)

endif fprintf ( "\n"   ) 

fprintf (  ) 

endif endif endfor if ( first   ) 

endif if ( ,
 
)

endif if ( ,
 
)

endif if ( = = 1  ) 

endif if (  ) 

if ( a(i)!  = 0  ) 


Variable Documentation

first = true

for i = 1 : length (a)