Navigation

Operators and Keywords

Function List:

C++ API

intersection.m File Reference


Functions

 if (!warned) warned
 warning ("Octave:deprecated-function","intersection is obsolete and will be removed from a future version of Octave; please use intersect instead")
endfunction !assert (all(all(intersection([1, 2, 3],[2, 3, 5])==[2, 3])))
 !assert (all(all(intersection([1;2;3],[2, 3, 5])==[2, 3])))
 !assert (isempty(intersection([1, 2, 3],[4;5;6])))
!error intersection (1)
!error intersection (1, 2, 5)

Variables

function y

Function Documentation

!assert ( isempty(intersection([1, 2, 3],[4;5;6]))   ) 

!assert ( all(all(intersection([1;2;3],[2, 3, 5])==[2, 3]))   ) 

endfunction !assert ( all(all(intersection([1, 2, 3],[2, 3, 5])==[2, 3]))   ) 

if ( warned  ) 

!error intersection ( ,
,
 
)

!error intersection (  ) 

warning ( "Octave:deprecated-function ,
"intersection is obsolete and will be removed from a future version of Octave; please use intersect instead"   
)


Variable Documentation

endif y

Initial value: