pub struct kComodule<G: Grading, F: Field, M: Matrix<F>> {
pub coalgebra: Arc<kCoalgebra<G, F, M>>,
pub space: GradedVectorSpace<G, kBasisElement>,
pub coaction: GradedLinearMap<G, F, M>,
pub tensor: kTensor<G>,
}Fields§
§coalgebra: Arc<kCoalgebra<G, F, M>>§space: GradedVectorSpace<G, kBasisElement>§coaction: GradedLinearMap<G, F, M>§tensor: kTensor<G>Implementations§
Source§impl<G: Grading, F: Field, M: Matrix<F>> kComodule<G, F, M>
impl<G: Grading, F: Field, M: Matrix<F>> kComodule<G, F, M>
pub fn verify(&self) -> bool
pub fn new( coalgebra: Arc<kCoalgebra<G, F, M>>, space: GradedVectorSpace<G, kBasisElement>, coaction: GradedLinearMap<G, F, M>, tensor: kTensor<G>, ) -> Self
pub fn find_cogens(&self, limit: G) -> usize
Trait Implementations§
Source§impl<G: Clone + Grading, F: Clone + Field, M: Clone + Matrix<F>> Clone for kComodule<G, F, M>
impl<G: Clone + Grading, F: Clone + Field, M: Clone + Matrix<F>> Clone for kComodule<G, F, M>
Source§impl<G: Grading, F: Field, M: Matrix<F>> Comodule<G> for kComodule<G, F, M>
impl<G: Grading, F: Field, M: Matrix<F>> Comodule<G> for kComodule<G, F, M>
type Element = kBasisElement
type Coalgebra = kCoalgebra<G, F, M>
type Morphism = kComoduleMorphism<G, F, M>
fn get_generators(&self) -> Vec<(usize, G, Option<String>)>
fn zero_comodule(coalgebra: Arc<Self::Coalgebra>) -> Self
fn fp_comodule(coalgebra: Arc<Self::Coalgebra>) -> Self
fn direct_sum(&mut self, other: &mut Self)
fn cofree_comodule( coalgebra: Arc<Self::Coalgebra>, index: usize, grade: G, limit: G, ) -> Self
Source§impl<G: Grading, F: Field, M: Matrix<F>> ComoduleMorphism<G, kComodule<G, F, M>> for kComoduleMorphism<G, F, M>
impl<G: Grading, F: Field, M: Matrix<F>> ComoduleMorphism<G, kComodule<G, F, M>> for kComoduleMorphism<G, F, M>
fn cokernel(&self) -> Self
fn inject_codomain_to_cofree(&self, limit: G) -> Self
fn zero_morphism(comodule: Arc<kComodule<G, F, M>>) -> Self
fn compose(l: Self, r: Self) -> Self
Source§fn get_structure_lines(&self) -> Vec<(usize, usize, usize, String)>
fn get_structure_lines(&self) -> Vec<(usize, usize, usize, String)>
(s, gen_index) uniquely defines a generator of Ext
in a specific morphism we only need to know its gen_index
in the resolution we add the s
(from_dot, to_dot, value, line_type)
fn get_codomain(&self) -> Arc<kComodule<G, F, M>>
Source§impl<G: PartialEq + Grading, F: PartialEq + Field, M: PartialEq + Matrix<F>> PartialEq for kComodule<G, F, M>
impl<G: PartialEq + Grading, F: PartialEq + Field, M: PartialEq + Matrix<F>> PartialEq for kComodule<G, F, M>
impl<G: Grading, F: Field, M: Matrix<F>> StructuralPartialEq for kComodule<G, F, M>
Auto Trait Implementations§
impl<G, F, M> Freeze for kComodule<G, F, M>
impl<G, F, M> RefUnwindSafe for kComodule<G, F, M>
impl<G, F, M> Send for kComodule<G, F, M>
impl<G, F, M> Sync for kComodule<G, F, M>
impl<G, F, M> Unpin for kComodule<G, F, M>
impl<G, F, M> UnwindSafe for kComodule<G, F, M>
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<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