/usr/share/freemat/toolbox/numerical/mpower.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 18 19 20 21 22 23 24 25 26 27 28 | % MPOWER MPOWER Overloaded Matrix Power Operator
%
% Usage
%
% This is a method that is invoked when one variable is raised
% to another variable using the matrix power operator, and
% is invoked when you call
%
% c = mpower(a,b)
%
% or
%
% c = a^b
%
% MPOWER MPOWER Matrix Power Function
%
% Usage
%
% Computes the matrix power operator for two arrays. It is an
% M-file version of the ^ operator. The syntax for its use is
%
% y = mpower(a,b)
%
% where y=a^b. See the matrixpower documentation for more
% details on what this function actually does.
function y = mpower(a,b)
y = a^b;
|