Navigation

Operators and Keywords

Function List:

C++ API

isprime.m File Reference


Functions

endif if (!isscalar(n)) nel
endfor elseif (n!=fix(n)||n< 2) t=0

Variables

function t
for i
else q = n./[2, 3:2:sqrt(n)]

Function Documentation

endfor elseif (  )  [pure virtual]

endif if ( isscalarn  ) 


Variable Documentation

for i

Initial value:

 1:nel
      t(i) = isprime (t(i))

else q = n./[2, 3:2:sqrt(n)]

t

Initial value:

 isprime (n)

  if (nargin < 1)
    print_usage ()