pub struct BCTholdN(/* private fields */);Expand description
n が固定値のときに有効
(n(固定値), mod, _[i] = n C i)
初期化: O(n)
1 <= n <= 10^9 && 1 <= k <= 10^7 程度
Implementations§
Trait Implementations§
Source§impl BinomialCoefficient for BCTholdN
impl BinomialCoefficient for BCTholdN
Auto Trait Implementations§
impl Freeze for BCTholdN
impl RefUnwindSafe for BCTholdN
impl Send for BCTholdN
impl Sync for BCTholdN
impl Unpin for BCTholdN
impl UnwindSafe for BCTholdN
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