/usr/share/freemat/toolbox/numerical/idiv.m is in freemat-data 4.0-5build1.
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 | % IDIV IDIV Integer Division Operation
%
% Usage
%
% Computes the integer division of two arrays. The syntax for its use is
%
% y = idiv(a,b)
%
% where a and b are arrays or scalars. The effect of the idiv
% is to compute the integer division of b into a.
% Copyright (c) 2005 Samit Basu
% Licensed under the GPL
function y = idiv(a,b)
y = fix(a./b);
|