gusucode.com > bigdata 工具箱 matlab源码程序 > bigdata/@tall/mrdivide.m

    function Z = mrdivide(X,Y)
%/   Slash or right matrix divide.
%   Z = X/Y
%   
%   Y must be a scalar.
%
%   See also: mldivide, tall.

%   Copyright 2016 The MathWorks, Inc.

narginchk(2,2);

opts = [];
opts.DivideFcn = @rdivide; % If Y is scalar this is just rdivide
opts.TallIndex = 1;
opts.ScalarIndex = 2;
opts.MessageSuffix = 'MrdivideYNotScalar';

Z = matrixDivideTemplate(X, Y, opts);

end