Project

EarthSciASTDiff

Analytical sparse Jacobians for EarthSciAST (.esm) models by symbolic differentiation of the expression AST.

Contents

This is the documentation for the older version v0.7.0. For the latest release, see v0.8.0.

markowitz_ordering

Stable function · Sparsity and structure

Tier: stable · Kind: function · Topic: Sparsity and structure

JuliaPythonRust
not exportedmarkowitz_orderingmarkowitz_ordering

Julia

Julia does not export this function.

Python

markowitz_ordering(pattern: list[list[bool]]) -> list[int]

Greedy Markowitz ordering (1-based), first minimal cost wins.

Source

Rust

pub fn markowitz_ordering(pattern: &[Vec<bool>]) -> Vec<usize>

A Markowitz pivot ordering of a block pattern (1-based), minimizing fill-in greedily.

Source · Rust docs