Navigation

Operators and Keywords

Function List:

C++ API

var.m File Reference


Functions

endif if (nargin< 3) dim
 if (isempty(dim)) dim
 if (isempty(x)) if(ndims(x)
else sz (dim)
 if (n==0) if(prod(sz)
endif endif elseif (n==1) retval
endif endfunction !assert (var(13), 0)%!assert(var([])
endif endfunction NaN !assert (var(ones(0, 0, 0), 0, 1), zeros(1, 0, 0))%!assert(var(ones(0
endif endfunction NaN zeros (0, 1, 0))%!assert(var(ones(0
endif endfunction NaN zeros (0, 0))%!assert(var(ones(1
endif endfunction NaN zeros (1, 1, 0))%!assert(var(ones(1
endif endfunction NaN zeros (1, 2, 0, 0))%!assert(var(ones(1
endif endfunction NaN zeros (1, 1, 0, 0))%!assert(var(ones(1

Variables

function retval
endif sz = size (x)
 n = sz(dim)

Function Documentation

endif endfunction NaN !assert ( var(ones(0, 0, 0), 0, 1)  ,
zeros(1, 0, 0)   
)

endif endfunction !assert ( var(13)  ,
 
)

endif endif elseif ( = =1  ) 

if ( = =0  ) 

if ( isempty(x)   ) 

if ( isempty(dim  ) 

endif if (  ) 

else sz ( dim   ) 

endif endfunction NaN zeros ( ,
,
,
 
)

endif endfunction NaN zeros ( ,
,
,
 
)

endif endfunction NaN zeros ( ,
,
 
)

endif endfunction NaN zeros ( ,
 
)

endif endfunction NaN zeros ( ,
,
 
)


Variable Documentation

n = sz(dim)

else retval

Initial value:

 var (x, opt, dim)

  if (nargin < 1 || nargin > 3)
    print_usage ()

endif sz = size (x)