Previous topic

ST_set

Next topic

ST_union

This Page

ST_setiΒΆ

The ST_seti function takes an vector argument (A), sorts the data and removes duplicate elements. The function returns an index vector of the result.

C = ST_seti(A)
C = ST_seti(A, bNoSort)

Return Value

C is an index vector.

Parameters

A

A is a real or string vector.

bNoSort

bNoSort.

Example

* ST_seti([1.3, 4.2, 2.2, 4.2, 6.1, 3.1])
*    1.000  3.000 6.000 2.000 5.000
*
* ST_seti(["one", "four", "two", "four", "three"])'
4
1
5
3

History

Version Description
5.9.3 New parameter bNoSort.
5.5.2 New.

id-1858021