STK_ISDOMINATED returns true for dominated rows CALL: ISDOM = stk_isdominated (A, B) returns a vector ISDOM of logicals, where ISDOM(i) is true if A(i, :) is dominated by one of the rows of B. A row B(j, :) is said to dominate A(i, :) if B(j, k) <= A(i, k) for all k in {1, 2, ..., d} and B(j, k) < A(i, k) for at least one such k, where d is the number of columns. In other words: smaller is better. CALL: ISDOM = stk_isdominated (A, B, DO_SORTROWS) does the same but, if DO_SORTROWS == false, assumes that the rows of B are already sorted in ascending lexical order. CALL: [ISDOM, DPOS] = stk_isdominated (A, B, DO_SORTROWS) also returns a vector DPOS such that DPOS(i) = 0 if A(i, :) is non- dominated, and DPOS(i) gives the index of a row in B that dominates A(i, :) otherwise. See also: sortrows, stk_paretofind, stk_dominatedhv
Package: stk