SeparatorTree¶
- class sksparse.cholmod.SeparatorTree(cp, cmember)[source]¶
The separator tree of a sparse matrix graph.
This object is typically created by
nesdis().- cp[source]¶
The separator tree, where
Cis the number of components found. The valuecp[c]is the parent of the componentcin the separator tree, or-1ifcis the root of the tree. There is a maximum ofNcomponents, whereNis the dimension of the input matrix.- Type:
(C,) numpy.ndarray of int, optional
- cmember[source]¶
The component membership vector, where
cmember[i]is the component to which nodeibelongs.- Type:
(N,) numpy.ndarray of int, optional
Added in version 0.5.0.
Methods