Navigation

Operators and Keywords

Function List:

C++ API

create_set.m File Reference


Functions

 if (!warned) warned
 warning ("Octave:deprecated-function","create_set is obsolete and will be removed from a future version of Octave, please use unique instead")
endif if (nargin< 1||nargin > 2) print_usage()
endif if (nargin==1) y
 elseif (strcmpi(rows_opt,"rows")) y
else error ("create_set: expecting \"rows\" as second argument")
endif endfunction !assert (all(all(create_set([1, 2, 3, 4, 2, 4])==[1, 2, 3, 4])))
 !assert (all(all(create_set([1, 2;3, 4;2, 4])==[1, 2, 3, 4])))
 !assert (all(all(create_set([1;2;3;4;2;4])==[1, 2, 3, 4])))
 !assert (isempty(create_set([])))
!error create_set (1, 2)

Variables

function y

Function Documentation

!assert ( isempty(create_set([]))   ) 

!assert ( all(all(create_set([1;2;3;4;2;4])==[1, 2, 3, 4]))   ) 

!assert ( all(all(create_set([1, 2;3, 4;2, 4])==[1, 2, 3, 4]))   ) 

endif endfunction !assert ( all(all(create_set([1, 2, 3, 4, 2, 4])==[1, 2, 3, 4]))   ) 

!error create_set ( ,
 
)

elseif ( strcmpi(rows_opt,"rows")   ) 

else error ( "create_set: expecting \"rows\" as second argument"   ) 

endif if ( nargin  = =1  ) 

endif if ( nargin< 1||nargin 2  ) 

if ( warned  ) 

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


Variable Documentation

Initial value:

 create_set (x, rows_opt)

  persistent warned = false