pub struct PolyGCDLocallyReductionMap<'ring, 'data, 'local, R>where
R: 'ring + ?Sized + PolyGCDLocallyDomain,
'ring: 'data,{ /* private fields */ }Expand description
The map R -> R/m^e, where m is a maximal ideal factor of the ideal I,
as specified by PolyGCDLocallyDomain.
§Availability
This API is marked as unstable and is only available when the unstable-enable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Implementations§
Source§impl<'ring, 'data, 'local, R> PolyGCDLocallyReductionMap<'ring, 'data, 'local, R>where
R: 'ring + ?Sized + PolyGCDLocallyDomain,
'ring: 'data,
impl<'ring, 'data, 'local, R> PolyGCDLocallyReductionMap<'ring, 'data, 'local, R>where
R: 'ring + ?Sized + PolyGCDLocallyDomain,
'ring: 'data,
Sourcepub fn new(
ring: &'data R,
ideal: &'data R::SuitableIdeal<'ring>,
to: &'local R::LocalRing<'ring>,
to_e: usize,
max_ideal_idx: usize,
) -> Self
pub fn new( ring: &'data R, ideal: &'data R::SuitableIdeal<'ring>, to: &'local R::LocalRing<'ring>, to_e: usize, max_ideal_idx: usize, ) -> Self
§Availability
This API is marked as unstable and is only available when the unstable-enable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Trait Implementations§
Source§impl<'ring, 'data, 'local, R> Homomorphism<R, <R as PolyGCDLocallyDomain>::LocalRingBase<'ring>> for PolyGCDLocallyReductionMap<'ring, 'data, 'local, R>where
R: 'ring + ?Sized + PolyGCDLocallyDomain,
'ring: 'data,
impl<'ring, 'data, 'local, R> Homomorphism<R, <R as PolyGCDLocallyDomain>::LocalRingBase<'ring>> for PolyGCDLocallyReductionMap<'ring, 'data, 'local, R>where
R: 'ring + ?Sized + PolyGCDLocallyDomain,
'ring: 'data,
type CodomainStore = &'local <R as PolyGCDLocallyDomain>::LocalRing<'ring>
type DomainStore = RingRef<'data, R>
fn codomain<'b>(&'b self) -> &'b Self::CodomainStore
fn domain<'b>(&'b self) -> &'b Self::DomainStore
fn map( &self, x: <R as RingBase>::Element, ) -> <R::LocalRingBase<'ring> as RingBase>::Element
fn map_ref(&self, x: &Domain::Element) -> Codomain::Element
fn mul_assign_map(&self, lhs: &mut Codomain::Element, rhs: Domain::Element)
fn mul_assign_ref_map(&self, lhs: &mut Codomain::Element, rhs: &Domain::Element)
fn mul_map( &self, lhs: Codomain::Element, rhs: Domain::Element, ) -> Codomain::Element
fn mul_ref_fst_map( &self, lhs: &Codomain::Element, rhs: Domain::Element, ) -> Codomain::Element
fn mul_ref_snd_map( &self, lhs: Codomain::Element, rhs: &Domain::Element, ) -> Codomain::Element
fn mul_ref_map( &self, lhs: &Codomain::Element, rhs: &Domain::Element, ) -> Codomain::Element
fn compose<F, PrevDomain: ?Sized + RingBase>(
self,
prev: F,
) -> ComposedHom<PrevDomain, Domain, Codomain, F, Self>where
Self: Sized,
F: Homomorphism<PrevDomain, Domain>,
Auto Trait Implementations§
impl<'ring, 'data, 'local, R> Freeze for PolyGCDLocallyReductionMap<'ring, 'data, 'local, R>where
R: ?Sized,
impl<'ring, 'data, 'local, R> RefUnwindSafe for PolyGCDLocallyReductionMap<'ring, 'data, 'local, R>where
<R as PolyGCDLocallyDomain>::SuitableIdeal<'ring>: RefUnwindSafe,
R: RefUnwindSafe + ?Sized,
<R as PolyGCDLocallyDomain>::LocalRing<'ring>: RefUnwindSafe,
impl<'ring, 'data, 'local, R> Send for PolyGCDLocallyReductionMap<'ring, 'data, 'local, R>where
<R as PolyGCDLocallyDomain>::SuitableIdeal<'ring>: Sync,
R: Sync + ?Sized,
<R as PolyGCDLocallyDomain>::LocalRing<'ring>: Sync,
impl<'ring, 'data, 'local, R> Sync for PolyGCDLocallyReductionMap<'ring, 'data, 'local, R>where
<R as PolyGCDLocallyDomain>::SuitableIdeal<'ring>: Sync,
R: Sync + ?Sized,
<R as PolyGCDLocallyDomain>::LocalRing<'ring>: Sync,
impl<'ring, 'data, 'local, R> Unpin for PolyGCDLocallyReductionMap<'ring, 'data, 'local, R>where
R: ?Sized,
impl<'ring, 'data, 'local, R> UnwindSafe for PolyGCDLocallyReductionMap<'ring, 'data, 'local, R>where
<R as PolyGCDLocallyDomain>::SuitableIdeal<'ring>: RefUnwindSafe,
R: RefUnwindSafe + ?Sized,
<R as PolyGCDLocallyDomain>::LocalRing<'ring>: RefUnwindSafe,
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> 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