www.gusucode.com > nnet 工具箱 matlab 源码程序 > nnet/nnweight/+scalprod/size.m

    function dim = size(s,r,param)

% Copyright 2012 The MathWorks, Inc.

if (s ~= r),  error(message('nnet:scalprod:Dimensions')); end
dim = [1 1];