Navigation

Operators and Keywords

Function List:

C++ API

common_size.m File Reference


Functions

 if (isempty(i)) errorcode=0
 if (any(nscal &!match)) errorcode
 if (nargout > 1) scal
 varargout (scal)

Variables

 function [errorcode, varargout]
endif nscal = cellfun ("numel", varargin) != 1
 i = find (nscal, 1)
 varargout = varargin
else match = cellfun (@size_equal, varargin, varargin(i))
else errorcode = 0

Function Documentation

if ( nargout  ,
 
)

if ( any(nscal &!match  ) 

if ( isempty(i)   )  [pure virtual]

varargout ( scal   ) 


Variable Documentation

function[errorcode, varargout]

Initial value:

 common_size (varargin)

  if (nargin < 2)
    error ("common_size: only makes sense if nargin >= 2")

i = find (nscal, 1)

endif match = cellfun (@size_equal, varargin, varargin(i))

endif nscal = cellfun ("numel", varargin) != 1

varargout = varargin