pub struct MultivariateGcdStats {
pub max_depth: usize,
pub primitive_decompositions: u64,
pub content_gcds: u64,
pub pseudo_divisions: u64,
pub incomplete: bool,
}Expand description
Statistics for multivariate GCD.
Fields§
§max_depth: usizeRecursion depth reached.
primitive_decompositions: u64Primitive part decompositions.
content_gcds: u64Content GCD computations.
pseudo_divisions: u64Pseudo-divisions performed.
incomplete: boolSet when the engine could not compute the greatest common divisor
and fell back to the trivial common divisor 1.
This happens when the recursion-depth ceiling
(MultivariateGcdConfig::max_recursion_depth) is reached, i.e. the
inputs have more distinct variables than the budget allows.
The returned polynomial is still a sound common divisor – 1
divides everything – but it is not necessarily the greatest one,
so callers lose simplification rather than getting a wrong answer.
The return type of MultivariateGcdEngine::gcd is Polynomial,
which has no channel to say “I gave up”; this flag is that channel,
mirroring IsolationStats::incomplete elsewhere in this crate.
Trait Implementations§
Source§impl Clone for MultivariateGcdStats
impl Clone for MultivariateGcdStats
Source§fn clone(&self) -> MultivariateGcdStats
fn clone(&self) -> MultivariateGcdStats
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more