SPQRInfo

class sksparse.spqr.SPQRInfo[source]

A dataclass to hold SPQR info statistics.

nnzR_upper_bound[source]

Bound on the number of nonzeros in R.

Type:

int

nnzH_upper_bound[source]

Bound on the number of nonzeros in H.

Type:

int

nf[source]

Number of frontal matrices.

Type:

int

rank_A_estimate[source]

Estimated rank of A.

Type:

int

n1cols[source]

Number of singleton columns.

Type:

int

n1rows[source]

Number of singleton rows.

Type:

int

ordering[source]

Ordering method used.

Type:

str

memory[source]

Memory usage in bytes.

Type:

int

flops_upper_bound[source]

Upper bound on flop count (excluding backsolve).

Type:

int

tol[source]

Column norm tolerance used.

Type:

float

norm_E_fro[source]

Norm of dropped diagonal of R.

Type:

float

analyze_time[source]

Time taken for the symbolic analysis in seconds.

Type:

float

factorize_time[source]

Time take for the numeric factorization (including applying Q.T)

Type:

int

solve_time[source]

Time taken for the backsolve only \(R x = Q^T b\) in seconds.

Type:

int

total_time[source]

Total time in seconds.

Type:

int

flops[source]

Actual flops for the factorization and solve (including backsolve).

Type:

int

Added in version 0.5.0.

Methods