This file is indexed.

/usr/share/freemat/toolbox/sparse/spy.m is in freemat-data 4.0-5.

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
20
21
22
23
24
25
% SPY SPY Visualize Sparsity Pattern of a Sparse Matrix
% 
% Usage
% 
% Plots the sparsity pattern of a sparse matrix.  The syntax for its use is
% 
%    spy(x)
% 
% which uses a default color and symbol.  Alternately, you can use
% 
%    spy(x,colspec)
% 
% where colspec is any valid color and symbol spec accepted by plot.

% Copyright (c) 2002-2006 Samit Basu
% Licensed under the GPL

function spy(A,colspec)
if (nargin==1)
  colspec = 'r.';
end
[i,j] = find(A);
plot(i,j,colspec)
xlabel(sprintf('nz = %d',int32(nnz(A))));
set(gca,'ydir','reverse');