This file is indexed.

/usr/share/freemat/toolbox/array/maxdim.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
% MAXDIM MAXDIM Maximum Dimension in Array
% 
% Usage
% 
% The maxdim function returns the lowest order dimension
% along which an array is largest.  The general syntax for its
% use is
% 
%   n = maxdim(x)
% 
% and is equivalent to min(find(size(x) == max(size(x)))).

function n = maxdim(x);
  n = min(find(size(x) == max(size(x))));