Navigation

Operators and Keywords

Function List:

C++ API

polyarea.m File Reference


Functions

 elseif (size_equal(x, y)) if(nargin
endif else error ("polyarea: x and y must have the same shape")
 !assert (polyarea(x, y), 4, eps)%!assert(polyarea([x
eps !assert (polyarea([x, x],[y, y], 1),[4, 4], eps)%!assert(polyarea([x

Variables

function a
endif endfunction!shared x
endif endfunction!shared y !x = [1
 !y = [1

Function Documentation

eps !assert ( polyarea([x, x],[y, y], 1)  ,
eps   
)

Type Constraints

!assert ( polyarea(x, y)  ,
,
eps   
)

elseif ( size_equal(x, y)   ) 

endif else error ( "polyarea: x and y must have the same shape"   ) 


Variable Documentation

endif endfunction !shared y !x = [1

!y = [1

else a

Initial value:

 polyarea (x, y, dim)
  if (nargin != 2 && nargin != 3)
    print_usage ()

eps x