Functions | |
idx (ni(intri)) | |
p (ni(intri),:) | |
ni (intri) | |
Beta (:, end+1) | |
!assert (idx, 1)%!assert(p | |
x, tri,[-1, 1] | tsearchn () |
!assert (idx, NaN)%!assert(p | |
Variables | |
function [idx, p] | |
endif | nt = size (t, 1) |
mi = size (x) size (xi, 1) | |
idx = nan (mi, 1) | |
p = nan (mi, n + 1) | |
ni = [1:mi].' | |
for | i |
intri = all (b >= -1e-12, 2) | |
endfor endfunction function | Beta |
endfunction!shared | x |
endfunction!shared tri | !x = [-1,-1 |
!tri = [1, 2, 3] | |
!test [idx, p] = tsearchn (x,tri,[-1,-1]) |
!assert | ( | idx | , | |
NaN | ||||
) |
!assert | ( | idx | , | |
1 | ||||
) |
Beta | ( | : | , | |
end+ | 1 | |||
) |
idx | ( | ni(intri) | ) |
ni | ( | intri | ) |
p | ( | ni(intri) | , | |
: | ||||
) |
x,tri,[-1,1] tsearchn | ( | ) | [virtual] |
!test[idx, p] = tsearchn (x,tri,[-1,-1]) |
!tri = [1, 2, 3] |
endfunction !shared tri !x = [-1,-1 |
idx = nan (mi, 1) |
ni = [1:mi].' |
p = nan (mi, n + 1) |
endfunction !shared x |