num_gens/
num_gens.rs

1//! This prints the number of generators in each $\Ext^{s, n + s}$ in the format `n,s,num_gens`.
2use ext::{
3    chain_complex::{ChainComplex, FreeChainComplex},
4    utils::query_module,
5};
6
7fn main() -> anyhow::Result<()> {
8    ext::utils::init_logging()?;
9
10    let resolution = query_module(None, false)?;
11
12    for b in resolution.iter_stem() {
13        println!(
14            "{},{},{}",
15            b.n(),
16            b.s(),
17            resolution.number_of_gens_in_bidegree(b)
18        );
19    }
20    Ok(())
21}