Functions | |
!assert (dsearch(x, y, tri, 1, 1/3), 3) | |
!assert (dsearch(x, y, tri, 1/3, 1), 2) | |
Variables | |
function | idx |
endfunction!shared | x |
endfunction!shared | y |
endfunction!shared tri | !x = [-1 |
!y = [-1 | |
!tri = [1,2,3] |
!assert | ( | dsearch(x, y, tri, 1/3, 1) | , | |
2 | ||||
) |
!assert | ( | dsearch(x, y, tri, 1, 1/3) | , | |
3 | ||||
) |
!tri = [1,2,3] |
endfunction !shared tri !x = [-1 |
!y = [-1 |
endfunction !shared x |
endfunction !shared y |