function c = mpower(a,b)
% c = mpower(a,b) : computes the matrix-power of iData objects
%
%   @iData/mpower function to compute the power of data sets
%
% input:  a: object or array (iData or numeric)
%         b: object or array (iData or numeric)
% output: c: object or array (iData)
% ex:     c=a^2;
%
% Version: Aug. 22, 2017
% See also iData, iData/times, iData/rdivide, iData/power

if nargin == 1,
  b = a;
end
c = iData_private_binary(a, b, 'mpower');

