Navigation

Operators and Keywords

Function List:

C++ API

test_for.m File Reference


Functions

"%d", i printf_assert ()
!end !printf_assert ("\n")
 !assert (prog_output_assert("1"))
id i: ("%d", i printf_assert)
 !assert (prog_output_assert("1234"))
id i ()
 !printf_assert ("%d", i(1, 1))
 !printf_assert ("%d", i(2, 1))
 !assert (prog_output_assert("1324"))
*I !printf_assert ("%d", imag(i(1, 1)))
 !printf_assert ("%d", imag(i(2, 1)))
i > 2 break ()
!endif !printf_assert ("%d", i)
 !assert (prog_output_assert("12"))
i< 3 continue ()
 !assert (prog_output_assert("34"))

Variables

!test !a = [1,3
 !j = 0
!for i

Function Documentation

!assert ( prog_output_assert("34")   ) 

!assert ( prog_output_assert("12")   ) 

!assert ( prog_output_assert("1324")   ) 

!assert ( prog_output_assert("1234")   ) 

!assert ( prog_output_assert("1")   ) 

! endif !printf_assert ( "%d"  ,
 
)

!printf_assert ( "%d"  ,
imag(i(2, 1))   
)

* I !printf_assert ( "%d"  ,
imag(i(1, 1))   
)

!printf_assert ( "%d"  ,
i(2, 1)   
)

!printf_assert ( "%d"  ,
i(1, 1)   
)

! end !printf_assert ( "\n"   ) 

i > 2 break (  )  [virtual]

i < 3 continue (  )  [virtual]

id i (  )  [virtual]

id i: ( "%d"  ,
printf_assert 
) [virtual]

d i printf_assert (  )  [virtual]


Variable Documentation

!test !a = [1,3

!j = 0

! for i

Initial value:

 cat (3, a, 4 + a)
%!   assert (i, [1;2] + 2*j++)
%! endfor

%!test
%! a = {1,3;2,4}