Skip to main content

cantor_add

Function cantor_add 

Source
pub fn cantor_add(
    d1: &Mumford,
    d2: &Mumford,
    f: &[BigInt],
    p: &BigInt,
) -> Mumford
Expand description

Cantor’s algorithm: add two divisor classes on C: y² = f(x) (genus 2, char ≠ 2).