[]Struct conshomfold::SsFreeEnergyMats

pub struct SsFreeEnergyMats<T> where
    T: Hash
{ pub hl_fe_mat: HashMap<(T, T), f32, BuildHasherDefault<FxHasher>>, pub twoloop_fe_4d_mat: HashMap<(T, T, T, T), f32, BuildHasherDefault<FxHasher>>, }

Fields

hl_fe_mat: HashMap<(T, T), f32, BuildHasherDefault<FxHasher>>twoloop_fe_4d_mat: HashMap<(T, T, T, T), f32, BuildHasherDefault<FxHasher>>

Implementations

impl<T> SsFreeEnergyMats<T> where
    T: Hash + One + PrimInt + Unsigned

pub fn new() -> SsFreeEnergyMats<T>

pub fn sparsify(
    &mut self,
    bpp_mat: &HashMap<(T, T), f32, BuildHasherDefault<FxHasher>>,
    min_bpp: f32
)

Trait Implementations

impl<T> Clone for SsFreeEnergyMats<T> where
    T: Clone + Hash

Auto Trait Implementations

impl<T> RefUnwindSafe for SsFreeEnergyMats<T> where
    T: RefUnwindSafe

impl<T> Send for SsFreeEnergyMats<T> where
    T: Send

impl<T> Sync for SsFreeEnergyMats<T> where
    T: Sync

impl<T> Unpin for SsFreeEnergyMats<T> where
    T: Unpin

impl<T> UnwindSafe for SsFreeEnergyMats<T> where
    T: RefUnwindSafe + UnwindSafe

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.