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 delta value for the Bairstow’s method - delta1
- delta 1 for ri - rj
- extract_
autocorr - The
extract_autocorrfunction extracts the quadratic function where its roots are within a unit circle. - horner
- The
hornerfunction implements Horner’s evaluation for Bairstow’s method in Rust. - 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 in Rust calculates the initial guesses for the roots of a polynomial using 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)
- 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.