pub struct AStarBase;Expand description
“Method A*” for selecting the base given in Baillie & Wagstaff1.
Same as SelfridgeBase, but returns (P = 5, Q = 5) if the Selfridge base set Q = -1.
R. Baillie, S. S. Wagstaff, “Lucas pseudoprimes”, Math. Comp. 35 1391-1417 (1980), DOI: 10.2307/2006406, http://mpqs.free.fr/LucasPseudoprimes.pdf
Trait Implementations§
impl Copy for AStarBase
impl Eq for AStarBase
impl StructuralPartialEq for AStarBase
Auto Trait Implementations§
impl Freeze for AStarBase
impl RefUnwindSafe for AStarBase
impl Send for AStarBase
impl Sync for AStarBase
impl Unpin for AStarBase
impl UnwindSafe for AStarBase
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