Description Usage Arguments Value Examples
Find intervals containing a set of points
1 | find_matching_intervals(pos, start, end)
|
pos |
Double vector of positions |
start |
Double vector with left endpoints of intervals |
end |
Double vector with right endpoints of intervals |
A list with elements "position" and "interval". Both are
integer vectors containing indexes. The "position" vector
indexes the pos
vector and the "interval" vector the
start
and end
vectors. The kth index in the
"position" vector forms a pair with the kth index in the
"interval" vector. A pair of indexes (i,j) means that
pos[i]
belongs to the interval defined by
start[j]
and end[j]
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.