/usr/share/freemat/toolbox/array/test.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 15 16 17 | % TEST TEST Test Function
%
% Usage
%
% Tests for the argument array to be all logical 1s. It is
% completely equivalent to the all function applied to
% a vectorized form of the input. The syntax for the test
% function is
%
% y = test(x)
%
% and the result is equivalent to all(x(:)).
% Copyright (c) 2002-2007 Samit Basu
% Licensed under the GPL
function y = test(x)
y=all(x(:));
|