1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Polynomial Algorithm Implementations
//!
//! This module contains the core polynomial algorithms:
//! - GCD (pure i64 only)
//! - Factorization (square-free, pure `Poly<T>`)
//! - Zippel modular GCD (industrial-strength, pure numeric)
//!
//! Expression-based GCD operations MOVED TO ALGEBRA LAYER:
//! - polynomial_gcd, univariate_gcd → `algebra::gcd`
//! - resultant, discriminant → `algebra::polynomial_advanced::AdvancedPolynomial`
//! - content extraction, factor_numeric → `algebra::polynomial_advanced::AdvancedPolynomial`
// Re-export i64 GCD only
pub use integer_gcd;
// Expression-based GCD re-exported from algebra for backward compatibility
pub use crate;
// Re-export Zippel modular GCD (low-level access, pure numeric)
pub use modular_gcd_univariate;
// Re-export content extraction functions (pure numeric)
pub use primitive_part;
// Re-export trial division verification
pub use ;
// Re-export sparse GCD optimization
pub use ;
// Re-export factorization (pure Poly<T>)
pub use square_free_factorization_poly;
// Re-export resultant (backward compatibility - moved to algebra)
pub use AdvancedPolynomial;