This file is indexed.

/usr/share/freemat/toolbox/array/nnz.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
% NNZ NNZ Number of Nonzeros
% 
% Usage
% 
% Returns the number of nonzero elements in a matrix.
% The general format for its use is
% 
%    y = nnz(x)
% 
% This function returns the number of nonzero elements
% in a matrix or array.  This function works for both
% sparse and non-sparse arrays.  For 
function y = nnz(x)
   p = find(x);
   y = numel(p);