pub struct LabelledPartialSimplicialComplex<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync> { /* private fields */ }Implementations§
Source§impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync> LabelledPartialSimplicialComplex<'f, FS, T>
impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync> LabelledPartialSimplicialComplex<'f, FS, T>
pub fn try_into_simplicial_complex( self, ) -> Result<LabelledSimplicialComplex<'f, FS, T>, &'static str>
pub fn into_labelled_simplicial_complex( &self, ) -> LabelledSimplicialComplex<'f, FS, Option<T>>
pub fn simplify(&self) -> Self
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> LabelledPartialSimplicialComplex<'f, FS, ()>
impl<'f, FS: OrderedRingSignature + FieldSignature> LabelledPartialSimplicialComplex<'f, FS, ()>
pub fn closure(&self) -> SimplicialComplex<'f, FS>
Trait Implementations§
Source§impl<'f, FS: Clone + OrderedRingSignature + FieldSignature, T: Clone + Eq + Clone + Send + Sync> Clone for LabelledPartialSimplicialComplex<'f, FS, T>
impl<'f, FS: Clone + OrderedRingSignature + FieldSignature, T: Clone + Eq + Clone + Send + Sync> Clone for LabelledPartialSimplicialComplex<'f, FS, T>
Source§fn clone(&self) -> LabelledPartialSimplicialComplex<'f, FS, T>
fn clone(&self) -> LabelledPartialSimplicialComplex<'f, FS, T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync, S: Eq + Clone + Send + Sync> Difference<LabelledPartialSimplicialComplex<'f, FS, S>> for LabelledPartialSimplicialComplex<'f, FS, T>
impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync, S: Eq + Clone + Send + Sync> Difference<LabelledPartialSimplicialComplex<'f, FS, S>> for LabelledPartialSimplicialComplex<'f, FS, T>
type Output = LabelledPartialSimplicialComplex<'f, FS, T>
fn difference( &self, other: &LabelledPartialSimplicialComplex<'f, FS, S>, ) -> Self::Output
Source§impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync, S: Eq + Clone + Send + Sync> Difference<LabelledPartialSimplicialComplex<'f, FS, S>> for LabelledSimplicialComplex<'f, FS, T>
impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync, S: Eq + Clone + Send + Sync> Difference<LabelledPartialSimplicialComplex<'f, FS, S>> for LabelledSimplicialComplex<'f, FS, T>
type Output = LabelledPartialSimplicialComplex<'f, FS, T>
fn difference( &self, other: &LabelledPartialSimplicialComplex<'f, FS, S>, ) -> Self::Output
Source§impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync, S: Eq + Clone + Send + Sync> Difference<LabelledPartialSimplicialComplex<'f, FS, S>> for LabelledSimplicialDisjointUnion<'f, FS, T>
impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync, S: Eq + Clone + Send + Sync> Difference<LabelledPartialSimplicialComplex<'f, FS, S>> for LabelledSimplicialDisjointUnion<'f, FS, T>
type Output = LabelledPartialSimplicialComplex<'f, FS, T>
fn difference( &self, other: &LabelledPartialSimplicialComplex<'f, FS, S>, ) -> Self::Output
Source§impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync, S: Eq + Clone + Send + Sync> Difference<LabelledSimplicialComplex<'f, FS, S>> for LabelledPartialSimplicialComplex<'f, FS, T>
impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync, S: Eq + Clone + Send + Sync> Difference<LabelledSimplicialComplex<'f, FS, S>> for LabelledPartialSimplicialComplex<'f, FS, T>
type Output = LabelledPartialSimplicialComplex<'f, FS, T>
fn difference( &self, other: &LabelledSimplicialComplex<'f, FS, S>, ) -> Self::Output
Source§impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync, S: Eq + Clone + Send + Sync> Difference<LabelledSimplicialDisjointUnion<'f, FS, S>> for LabelledPartialSimplicialComplex<'f, FS, T>
impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync, S: Eq + Clone + Send + Sync> Difference<LabelledSimplicialDisjointUnion<'f, FS, S>> for LabelledPartialSimplicialComplex<'f, FS, T>
type Output = LabelledPartialSimplicialComplex<'f, FS, T>
fn difference( &self, other: &LabelledSimplicialDisjointUnion<'f, FS, S>, ) -> Self::Output
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> Intersect<LabelledPartialSimplicialComplex<'f, FS, ()>> for PartialSimplicialComplex<'f, FS>
impl<'f, FS: OrderedRingSignature + FieldSignature> Intersect<LabelledPartialSimplicialComplex<'f, FS, ()>> for PartialSimplicialComplex<'f, FS>
type Output = LabelledPartialSimplicialComplex<'f, FS, ()>
fn intersect(&self, other: &PartialSimplicialComplex<'f, FS>) -> Self::Output
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> Intersect<LabelledPartialSimplicialComplex<'f, FS, ()>> for SimplicialComplex<'f, FS>
impl<'f, FS: OrderedRingSignature + FieldSignature> Intersect<LabelledPartialSimplicialComplex<'f, FS, ()>> for SimplicialComplex<'f, FS>
type Output = LabelledPartialSimplicialComplex<'f, FS, ()>
fn intersect(&self, other: &PartialSimplicialComplex<'f, FS>) -> Self::Output
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> Intersect<LabelledPartialSimplicialComplex<'f, FS, ()>> for SimplicialDisjointUnion<'f, FS>
impl<'f, FS: OrderedRingSignature + FieldSignature> Intersect<LabelledPartialSimplicialComplex<'f, FS, ()>> for SimplicialDisjointUnion<'f, FS>
type Output = LabelledPartialSimplicialComplex<'f, FS, ()>
fn intersect(&self, other: &PartialSimplicialComplex<'f, FS>) -> Self::Output
Source§impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync> LabelledSimplexCollection<'f, FS, T> for LabelledPartialSimplicialComplex<'f, FS, T>
impl<'f, FS: OrderedRingSignature + FieldSignature, T: Eq + Clone + Send + Sync> LabelledSimplexCollection<'f, FS, T> for LabelledPartialSimplicialComplex<'f, FS, T>
type WithLabel<S: Eq + Clone + Send + Sync> = LabelledPartialSimplicialComplex<'f, FS, S>
type SubsetType = LabelledPartialSimplicialComplex<'f, FS, T>
fn try_new_labelled( ambient_space: AffineSpace<'f, FS>, simplexes: HashMap<Simplex<'f, FS>, T>, ) -> Result<Self, &'static str>
fn new_labelled_unchecked( ambient_space: AffineSpace<'f, FS>, simplexes: HashMap<Simplex<'f, FS>, T>, ) -> Self
fn ambient_space(&self) -> AffineSpace<'f, FS>
fn labelled_simplexes(&self) -> HashMap<&Simplex<'f, FS>, &T>
fn into_labelled_simplexes(self) -> HashMap<Simplex<'f, FS>, T>
fn into_partial_simplicial_complex( self, ) -> LabelledPartialSimplicialComplex<'f, FS, T>
fn to_partial_simplicial_complex( &self, ) -> LabelledPartialSimplicialComplex<'f, FS, T>
fn into_simplicial_disjoint_union( self, ) -> LabelledSimplicialDisjointUnion<'f, FS, T>
fn to_simplicial_disjoint_union( &self, ) -> LabelledSimplicialDisjointUnion<'f, FS, T>
fn try_new( ambient_space: AffineSpace<'f, FS>, simplexes: HashSet<Simplex<'f, FS>>, ) -> Result<Self::WithLabel<()>, &'static str>
fn new_unchecked( ambient_space: AffineSpace<'f, FS>, simplexes: HashSet<Simplex<'f, FS>>, ) -> Self::WithLabel<()>
fn simplexes<'a>(&'a self) -> HashSet<&'a Simplex<'f, FS>>where
T: 'a,
fn into_simplexes(self) -> HashSet<Simplex<'f, FS>>
fn subset_by_label( &self, label: &T, ) -> <Self::SubsetType as LabelledSimplexCollection<'f, FS, T>>::WithLabel<()>
fn into_subset_by_label( self, label: &T, ) -> <Self::SubsetType as LabelledSimplexCollection<'f, FS, T>>::WithLabel<()>
fn subset_by_filter(&self, f: impl Fn(&T) -> bool) -> Self::SubsetType
fn into_subset_by_filter(self, f: impl Fn(&T) -> bool) -> Self::SubsetType
fn apply_label_function<S: Eq + Clone + Send + Sync>( &self, f: impl Fn(&T) -> S, ) -> Self::WithLabel<S>
fn into_apply_label_function<S: Eq + Clone + Send + Sync>( self, f: impl Fn(T) -> S, ) -> Self::WithLabel<S>
fn forget_labels(&self) -> Self::WithLabel<()>
fn into_forget_labels(self) -> Self::WithLabel<()>
fn common_label<'a>(
&'a self,
simplexes: impl Iterator<Item = &'a Simplex<'f, FS>>,
) -> Option<&'a T>where
FS: 'a,
AffineSpace<'f, FS>: 'a,
'f: 'a,
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> MinkowskiSum<LabelledPartialSimplicialComplex<'f, FS, ()>> for PartialSimplicialComplex<'f, FS>
impl<'f, FS: OrderedRingSignature + FieldSignature> MinkowskiSum<LabelledPartialSimplicialComplex<'f, FS, ()>> for PartialSimplicialComplex<'f, FS>
type Output = LabelledPartialSimplicialComplex<'f, FS, ()>
fn minkowski_sum( &self, other: &PartialSimplicialComplex<'f, FS>, ) -> Self::Output
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> MinkowskiSumRaw<LabelledPartialSimplicialComplex<'f, FS, ()>> for PartialSimplicialComplex<'f, FS>
impl<'f, FS: OrderedRingSignature + FieldSignature> MinkowskiSumRaw<LabelledPartialSimplicialComplex<'f, FS, ()>> for PartialSimplicialComplex<'f, FS>
type Output = LabelledSimplicialDisjointUnion<'f, FS, ()>
fn minkowski_sum_raw( &self, other: &PartialSimplicialComplex<'f, FS>, ) -> Self::Output
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> Union<LabelledPartialSimplicialComplex<'f, FS, ()>> for PartialSimplicialComplex<'f, FS>
impl<'f, FS: OrderedRingSignature + FieldSignature> Union<LabelledPartialSimplicialComplex<'f, FS, ()>> for PartialSimplicialComplex<'f, FS>
type Output = LabelledPartialSimplicialComplex<'f, FS, ()>
fn union(&self, other: &PartialSimplicialComplex<'f, FS>) -> Self::Output
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> Union<LabelledPartialSimplicialComplex<'f, FS, ()>> for SimplicialComplex<'f, FS>
impl<'f, FS: OrderedRingSignature + FieldSignature> Union<LabelledPartialSimplicialComplex<'f, FS, ()>> for SimplicialComplex<'f, FS>
type Output = LabelledPartialSimplicialComplex<'f, FS, ()>
fn union(&self, other: &PartialSimplicialComplex<'f, FS>) -> Self::Output
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> Union<LabelledPartialSimplicialComplex<'f, FS, ()>> for SimplicialDisjointUnion<'f, FS>
impl<'f, FS: OrderedRingSignature + FieldSignature> Union<LabelledPartialSimplicialComplex<'f, FS, ()>> for SimplicialDisjointUnion<'f, FS>
type Output = LabelledPartialSimplicialComplex<'f, FS, ()>
fn union(&self, other: &PartialSimplicialComplex<'f, FS>) -> Self::Output
Auto Trait Implementations§
impl<'f, FS, T> Freeze for LabelledPartialSimplicialComplex<'f, FS, T>
impl<'f, FS, T> RefUnwindSafe for LabelledPartialSimplicialComplex<'f, FS, T>
impl<'f, FS, T> Send for LabelledPartialSimplicialComplex<'f, FS, T>
impl<'f, FS, T> Sync for LabelledPartialSimplicialComplex<'f, FS, T>
impl<'f, FS, T> Unpin for LabelledPartialSimplicialComplex<'f, FS, T>
impl<'f, FS, T> UnsafeUnpin for LabelledPartialSimplicialComplex<'f, FS, T>
impl<'f, FS, T> UnwindSafe for LabelledPartialSimplicialComplex<'f, FS, T>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'f, FS, S> InteriorOrBoundarySimplexCollection<'f, FS> for Swhere
FS: OrderedRingSignature + FieldSignature + 'f,
S: LabelledSimplexCollection<'f, FS, InteriorOrBoundary>,
<FS as SetSignature>::Set: Hash,
impl<'f, FS, S> InteriorOrBoundarySimplexCollection<'f, FS> for Swhere
FS: OrderedRingSignature + FieldSignature + 'f,
S: LabelledSimplexCollection<'f, FS, InteriorOrBoundary>,
<FS as SetSignature>::Set: Hash,
fn interior( &self, ) -> <Self::SubsetType as LabelledSimplexCollection<'f, FS, InteriorOrBoundary>>::WithLabel<()>
fn boundary( &self, ) -> <Self::SubsetType as LabelledSimplexCollection<'f, FS, InteriorOrBoundary>>::WithLabel<()>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more