Expand description
This module implements the Bairstow’s method for finding the roots of a polynomial.
Structs§
- Options
- The below code defines a struct named Options with three fields: max_iters, tolerance, and tol_ind.
Functions§
- delta
- The
deltafunction calculates the adjustment vector for Bairstow’s method. - delta1
- delta 1 for ri - rj
- extract_
autocorr - The
extract_autocorrfunction extracts quadratic factors from a polynomial with auto-correlation property. - horner
- The
hornerfunction implements synthetic division by a quadratic factor $$ x^2 - r x - q $$. - initial_
autocorr - The
initial_autocorrfunction calculates the initial guesses for Bairstow’s method for finding roots of a polynomial, specifically for the auto-correlation function. - initial_
guess - The
initial_guessfunction generates initial quadratic factor estimates for Bairstow’s method. - make_
adjoint - The function
make_adjointcalculates the adjoint matrix between two vectors. - make_
inverse - The function
make_inversecalculates the inverse of a 2x2 matrix. - pbairstow_
autocorr - The
pbairstow_autocorrfunction implements the simultaneous Bairstow’s method for finding roots of a polynomial, specifically for the auto-correlation function. - pbairstow_
autocorr_ mt - The
pbairstow_autocorr_mtfunction is a multi-threaded implementation of Bairstow’s method for finding roots of a polynomial, specifically for auto-correlation functions. - pbairstow_
even - Parallel Bairstow’s method (even degree only)
- pbairstow_
even_ mt - Multi-threading Bairstow’s method (even degree only)
- poly_
from_ autocorr_ factors - Reconstruct a monic polynomial from its autocorrelation quadratic factors
- poly_
from_ quadratic_ factors - Reconstruct a monic polynomial from its quadratic factors
- suppress
- The
suppressfunction in Rust performs zero suppression on a set of vectors. - suppress_
old - The
suppress_oldfunction performs zero suppression on a set of vectors.