HLIBpro
2.5.1

Clustering describes the reorganisation of index sets, and thereby of the unknowns of the problem to solve, to make Hmatrix approximation possible. It allows the identification of admissible and therefore, approximable blocks in the matrix. Clustering itself is split into the computation of the cluster tree, i.e. the clustering of an index set , and the computation of the block cluster tree, i.e. the clustering of a product index set .
An important property of clustering is the permutation of the indices as the ordering used within an ℋmatrix will usually be different from the ordering used by the application, e.g. where it is defined by grid points or basis functions. In 𝖧𝖫𝖨𝖡𝗉𝗋𝗈 the original ordering of the indices is refered to as external ordering, whereas the ordering inside a cluster tree or an ℋmatrix is refered to as internal ordering. Mappings to convert between both orderings are computed during clustering in the form of permutations, either named i2e to map from internal to external ordering or e2i for external to internal mapping.