|
|
| SchurTree () |
| | Default constructor, just 0x0 system.
|
| |
|
| SchurTree (const AssemblyTree &A, const PatternRange &B, Options options=Options::create()) |
| | Constructing from a PatternRange B.
|
| |
|
| SchurTree (const AssemblyTree &A, const intCRange &B, int J, Options options=Options::create()) |
| | Constructing from a row restriction B and number of columns J.
|
| |
|
| SchurTree (const SchurTree &that) |
| | Copy constructor (deep).
|
| |
|
| SchurTree (InputStream &in) |
| | InputStream constructor.
|
| |
|
void | write (OutputStream &out) const |
| | Writes to OutputStream.
|
| |
|
void | swap (SchurTree &that) |
| | Member swap, O(1)
|
| |
|
| SchurTree (SchurTree &&that) |
| | Move constructor, default construct and swap idiom.
|
| |
|
SchurTree & | operator= (SchurTree that) |
| | Assignment operator, copy construct and swap idiom.
|
| |
|
std::pair< int, int > | size () const |
| | Size inspector.
|
| |
|
int | n_nodes () const |
| | Returns number of nodes.
|
| |
|
const Node & | node (int n) const |
| | Accesses node n.
|
| |
|
std::vector< int > | roots () const |
| | Returns the ids for all roots (i.e. Node's which lack a parent)
|
| |
|
std::vector< int > | leaves () const |
| | Returns the ids for all leafs (i.e. Node's which lack any children)
|
| |
|
std::vector< int > | postorder () const |
| | Returns an ordered traversal of the Node's.
|
| |
|
std::vector< int > | preorder () const |
| |
|
const std::vector< int > & | s2a () const |
| | Returns schur2assembly map.
|
| |
|
std::map< int, int > | a2s () const |
| | Returns assembly2schur map.
|
| |
|
WriteMap | writemap () const |
| | Returns a WriteMap, an oracle struct that maps Column's (j) into the Node's (n) that write to it.
|
| |
|
WriteMap2 | writemap2 () const |
| |
|
std::pair< uint64_t, uint64_t > | n_words () const |
| | Returns storage requirements (solve L*X=B in .first, addition workspace W in .second)
|
| |
|
uint64_t | n_work_solve () const |
| | Returns number of flops for L*X=B.
|
| |
|
uint64_t | n_work_rankk () const |
| | Returns number of flops for S=X'X.
|
| |
|
Array2< int > | rankk_j_intersects () const |
| | Tracks j-intersections for rankk accumulation.
|
| |
|
Array2< int > | rankk_j_intersects_old () const |
| |
|
void | inspect (std::ostream &out) const |
| | Inspection routine, prints debugging information on out.
|
| |
|
| ~SchurTree () |
| | Frees internal resources.
|
| |
Symbolic analysis data structure for multifrontal schur complement.