pub struct SylowStreamBuilder<S, const L: usize, C: SylowDecomposable<S>, T> { /* private fields */ }
Expand description

A builder for a stream yielding elements of particular orders, as their Sylow decompositions.

Implementations§

source§

impl<S, const L: usize, C: SylowDecomposable<S>> SylowStreamBuilder<S, L, C, ()>

source

pub fn new() -> SylowStreamBuilder<S, L, C, ()>

Returns a new SylowStreamBuilder.

source§

impl<S, const L: usize, C: SylowDecomposable<S>> SylowStreamBuilder<S, L, C, [u128; L]>

source

pub fn new_with_orders() -> SylowStreamBuilder<S, L, C, [usize; L]>

Returns a new SylowStreamBuilder, which will return both elements and their orders.

source§

impl<'a, S, const L: usize, C: SylowDecomposable<S>, T> SylowStreamBuilder<S, L, C, &'a T>

source

pub fn new_with_trie( trie: &'a FactorTrie<S, L, C, T> ) -> SylowStreamBuilder<S, L, C, &'a T>

Creates a new SylowStreamBuilder with a “parallel” trie to that given here.

source§

impl<S, const L: usize, C: SylowDecomposable<S>, T> SylowStreamBuilder<S, L, C, T>

source

pub fn add_flag(self, mode: u8) -> SylowStreamBuilder<S, L, C, T>

Adds a flag to the SylowStreamBuilder, modifying its yields.

source

pub fn add_target(self, t: &[usize; L]) -> SylowStreamBuilder<S, L, C, T>

Adds a target order to this SylowStreamBuilder. The SylowStream built from this builder will only yield elements of the orders of targets, or elements of order dividing target if `target

source

pub fn add_targets_leq(self, limit: u128) -> Self

Adds the maximal divisors beneath limit to the FactorTrie and sets the LEQ flag.

source

pub fn remove_target(self, t: &[usize; L]) -> Self

Remove the target, so elements of that order will not be generated.

source

pub fn set_quotient(self, q: Option<[usize; L]>) -> Self

Guarantees that this stream will only ever yield one representative of the cosets of the quotient.

source

pub fn add_targets_from_factors(self, stream: DivisorStream<'_>) -> Self

Add all the targets yielded by this DivisorStream.

Trait Implementations§

source§

impl<S, const L: usize, C: SylowDecomposable<S>, T: Clone> Clone for SylowStreamBuilder<S, L, C, T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<S, const L: usize, C, T> IntoIterator for SylowStreamBuilder<S, L, C, T>where C: SylowDecomposable<S>, T: Clone,

§

type Item = (SylowElem<S, L, C>, T)

The type of the elements being iterated over.
§

type IntoIter = SylowStream<S, L, C, T>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> SylowStream<S, L, C, T>

Creates an iterator from a value. Read more
source§

impl<S, const L: usize, C, T> IntoParallelIterator for SylowStreamBuilder<S, L, C, T>where S: Send + Sync, C: SylowDecomposable<S> + Send + Sync, T: Clone + Send + Sync,

§

type Item = (SylowElem<S, L, C>, T)

The type of item that the parallel iterator will produce.
§

type Iter = SylowParStream<S, L, C, T>

The parallel iterator type that will be created.
source§

fn into_par_iter(self) -> Self::Iter

Converts self into a parallel iterator. Read more

Auto Trait Implementations§

§

impl<S, const L: usize, C, T> RefUnwindSafe for SylowStreamBuilder<S, L, C, T>where C: RefUnwindSafe, S: RefUnwindSafe, T: RefUnwindSafe,

§

impl<S, const L: usize, C, T> Send for SylowStreamBuilder<S, L, C, T>where C: Send, S: Send, T: Send,

§

impl<S, const L: usize, C, T> Sync for SylowStreamBuilder<S, L, C, T>where C: Sync, S: Sync, T: Sync,

§

impl<S, const L: usize, C, T> Unpin for SylowStreamBuilder<S, L, C, T>where C: Unpin, S: Unpin,

§

impl<S, const L: usize, C, T> UnwindSafe for SylowStreamBuilder<S, L, C, T>where C: UnwindSafe, S: UnwindSafe, T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.