skoro v0.0.0

Crates

skoro-elimination

Elimination in square-root form: factored least squares on the host.

skoro-elimination is the note elimination in square-root form as code, and nothing else: it depends on no other crate of skoro, and nothing in it knows where the rows came from. A Structure says which blocks of variables each factor involves; a Problem holds one set of numbers over it, each factor’s rows and right-hand side, a linear term that is absent by structure or present, and a constant; and a Schedule, computed from the structure alone, orders the blocks by COLAMD on the block pattern and groups them into the cliques of a junction tree, to eliminate every block, all but some kept ones, or only some from the factors joined to them.

Problem::eliminate reduces each clique’s front by faer’s unpivoted Householder QR, on the host in double precision, into a conditional with a positive diagonal and a new factor on its separator, pushing the linear terms by forward substitution, appending damping rows where they are asked for, and refusing a block its rows do not determine at a threshold set by the precision the rows were computed at. The Elimination answers the minimizer, the minimum, the integral, R⁻¹ z for draws and the log-determinant, the Marginal on the kept blocks as a lower-triangular whitening, and the Reduced factor a replacement leaves, with no decision of rank. No faer type is public: the crate has a Matrix of its own.

Reading order

The modules in an order that uses as little as possible before it is read, computed from the sources when the site was built. A dashed arc marks a module's use of one that comes later, with what it uses named beside it.

uses an earlier module uses a later module
The order in which to read skoro-eliminationanswers uses error: Erroreliminate uses error: Erroranswers uses matrix: Matrixeliminate uses structure: Scheduleproblem uses error: Erroreliminate uses matrix: Matrixproblem uses structure: Structureanswers uses eliminate: Eliminationeliminate uses problem: Damping, Problem, Rowsproblem uses matrix: Matrixstructure uses error: Error1error2structure3matrix4problem5eliminate6answers

Hover over or tap a module to see everything it uses and everything that uses it.

0 uses of a later module, naming 0 items: as few as any order allows.