pub struct PolynomialDeterminantBudget {
pub max_subset_transitions: usize,
pub max_term_products: usize,
}Available on crate feature
exact only.Expand description
Caller-selected work limits for one polynomial_determinant invocation.
No default policy is supplied. All limits, including zero, are valid. These count combinatorial work, not elapsed time, bytes or integer bit operations: a single rational product can be expensive for wide inputs.
Fields§
§max_subset_transitions: usizeMaximum structural subset transitions. The complete D * 2^(D-1)
envelope is checked before allocation, even for an all-zero matrix.
Order zero requires zero transitions; order eight requires 1,024.
max_term_products: usizeMaximum individual nonzero coefficient-pair multiplications. Each is charged before exponent addition or rational arithmetic; zero partials and zero entries cost no products. Cancellation does not refund work.
Trait Implementations§
Source§impl Clone for PolynomialDeterminantBudget
impl Clone for PolynomialDeterminantBudget
impl Copy for PolynomialDeterminantBudget
Source§impl Debug for PolynomialDeterminantBudget
impl Debug for PolynomialDeterminantBudget
impl Eq for PolynomialDeterminantBudget
impl StructuralPartialEq for PolynomialDeterminantBudget
Auto Trait Implementations§
impl Freeze for PolynomialDeterminantBudget
impl RefUnwindSafe for PolynomialDeterminantBudget
impl Send for PolynomialDeterminantBudget
impl Sync for PolynomialDeterminantBudget
impl Unpin for PolynomialDeterminantBudget
impl UnsafeUnpin for PolynomialDeterminantBudget
impl UnwindSafe for PolynomialDeterminantBudget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more