Function Reference
— Function File: create_set (x)
— Function File: create_set (x, "rows")

Return a row vector containing the unique values in x, sorted in ascending order. For example,

          create_set ([ 1, 2; 3, 4; 4, 2; 1, 2 ])
                [ 1, 2, 3, 4 ]

If the optional second input argument is the string "rows" each row of the matrix x will be considered an element of set. For example,

          create_set ([ 1, 2; 3, 4; 4, 2; 1, 2 ], "rows")
                 1   2
              3   4
              4   2