Skip to main content

amf_order

Function amf_order 

Source
pub fn amf_order(pattern: &CscPattern<'_>) -> Result<Vec<i32>, OrderingError>
Expand description

Compute a fill-reducing AMF ordering.

Returns a permutation perm (new-to-old) such that factoring P·A·Pᵀ with P[k] = perm[k] produces less fill than the natural ordering. The input must be the full symmetric pattern (both halves present).