[][src]Struct flag_algebra::operator::SubflagCount

pub struct SubflagCount<F> { /* fields omitted */ }

.get() gives a matrix M where M[i,j] is the number of copies of i in j

Methods

impl<F: Flag> SubflagCount<F>
[src]

pub fn make(k: usize, n: usize, type_: Type) -> Self
[src]

pub fn from_to(inner: Basis<F>, outer: Basis<F>) -> Self
[src]

pub fn inner_basis(&self) -> Basis<F>
[src]

pub fn denom(&self) -> u64
[src]

Trait Implementations

impl<F: Flag> Savable<CsMatBase<u64, usize, Vec<usize>, Vec<usize>, Vec<u64>>, F> for SubflagCount<F>
[src]

fn file_path(&self) -> PathBuf
[src]

Path to the corresponding file.

fn create_and_save(&self, path: &Path) -> A
[src]

(Re)create the object, save it in the corresponding file and return it.

fn load(&self, path: &Path) -> Result<A, Box<dyn Error>>
[src]

Load the object if the file exists and is valid.

fn get(&self) -> A
[src]

Function to automatically load the object if the file exists and is valid, or create and save it otherwise. Read more

impl<F: Clone> Clone for SubflagCount<F>
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: Copy> Copy for SubflagCount<F>
[src]

impl<F: Debug> Debug for SubflagCount<F>
[src]

Auto Trait Implementations

impl<F> Send for SubflagCount<F> where
    F: Send

impl<F> Sync for SubflagCount<F> where
    F: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>,