/usr/share/octave/site/m/vlfeat/toolbox/misc/vl_binsearch.m is in octave-vlfeat 0.9.17+dfsg0-6build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | % VL_BINSEARCH Maps data to bins
% IDX = VL_BINSEARCH(B, X) maps the elements of X to the bins
% defined by B. B is a non-decreasing vector of M real numbers
% defining bins [-inf, B(1)), [B(1), B(2)), ... [B(M) +inf] (note
% that the last bin contains +inf). The bins are numbered from 0 to
% M. X is a real (plain) array and IDX is an array with the same
% dimensions of X, specifying the bin correpsonding to each element
% of X.
%
% If B(1) = -inf the bin number 0 is removed and the bin number 1 is
% [-inf B(2)). If B(M) = +inf, the last bin M is the singleton +inf.
%
% See also: VL_BINSUM(), VL_HELP().
% Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson.
% All rights reserved.
%
% This file is part of the VLFeat library and is made available under
% the terms of the BSD license (see the COPYING file).
|