pub struct SimplexFilteredPy { /* private fields */ }
Implementations§
source§impl SimplexFilteredPy
impl SimplexFilteredPy
pub fn simplex(&self) -> &SimplexFiltered<OrderedFloat<f64>>
pub fn new(simplex: SimplexFiltered<OrderedFloat<f64>>) -> SimplexFilteredPy
Trait Implementations§
source§impl Clone for SimplexFilteredPy
impl Clone for SimplexFilteredPy
source§fn clone(&self) -> SimplexFilteredPy
fn clone(&self) -> SimplexFilteredPy
Returns a copy 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 PyClass for SimplexFilteredPy
impl PyClass for SimplexFilteredPy
source§impl PyClassImpl for SimplexFilteredPy
impl PyClassImpl for SimplexFilteredPy
source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]
source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
#[pyclass(mapping)]
source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
#[pyclass(sequence)]
source§type Layout = PyCell<SimplexFilteredPy>
type Layout = PyCell<SimplexFilteredPy>
Layout
source§type ThreadChecker = ThreadCheckerStub<SimplexFilteredPy>
type ThreadChecker = ThreadCheckerStub<SimplexFilteredPy>
This handles following two situations: Read more
source§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable
source§type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is
PyAny
by default, and when you declare
#[pyclass(extends=PyDict)]
, it’s PyDict
.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SimplexFilteredPy
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SimplexFilteredPy
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SimplexFilteredPy
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SimplexFilteredPy
source§impl PyMethods<SimplexFilteredPy> for PyClassImplCollector<SimplexFilteredPy>
impl PyMethods<SimplexFilteredPy> for PyClassImplCollector<SimplexFilteredPy>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SimplexFilteredPy
impl PyTypeInfo for SimplexFilteredPy
source§type AsRefTarget = PyCell<SimplexFilteredPy>
type AsRefTarget = PyCell<SimplexFilteredPy>
Utility type to make Py::as_ref work.
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
source§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.
source§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
Checks if
object
is an instance of this type or a subclass of this type.source§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
Checks if
object
is an instance of this type.Auto Trait Implementations§
impl Freeze for SimplexFilteredPy
impl RefUnwindSafe for SimplexFilteredPy
impl Send for SimplexFilteredPy
impl Sync for SimplexFilteredPy
impl Unpin for SimplexFilteredPy
impl UnwindSafe for SimplexFilteredPy
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<'a, T> FromPyObject<'a> for T
impl<'a, T> FromPyObject<'a> for T
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 moresource§impl<T> IntoReverseOrder for T
impl<T> IntoReverseOrder for T
source§fn into_reverse_order(self) -> ReverseOrder<T>
fn into_reverse_order(self) -> ReverseOrder<T>
Returns an inverted order operator, consuming self
source§impl<Matrix> MatrixOperations for Matrix
impl<Matrix> MatrixOperations for Matrix
source§fn multiply_left<Othr, RingOperator, OrderOperator>(
self,
other: Othr,
ring_operator: RingOperator,
order_operator: OrderOperator,
) -> ProductMatrix<Self, Othr, RingOperator, OrderOperator>where
Self: Sized + ViewRowAscend + IndicesAndCoefficients,
Othr: ViewRowAscend<Coefficient = Self::Coefficient, RowIndex = Self::ColIndex> + IndicesAndCoefficients,
Self::ViewMajorAscend: IntoIterator,
<Othr as ViewRowAscend>::ViewMajorAscend: IntoIterator,
Self::EntryMajor: KeyValGet<Self::ColIndex, Self::Coefficient>,
<Othr as IndicesAndCoefficients>::EntryMajor: KeyValGet<<Othr as IndicesAndCoefficients>::ColIndex, <Othr as IndicesAndCoefficients>::Coefficient>,
<Othr as IndicesAndCoefficients>::ColIndex: Clone,
<Othr as IndicesAndCoefficients>::Coefficient: Clone,
RingOperator: Clone + Semiring<Self::Coefficient>,
OrderOperator: Clone + JudgePartialOrder<<Othr as IndicesAndCoefficients>::EntryMajor>,
fn multiply_left<Othr, RingOperator, OrderOperator>(
self,
other: Othr,
ring_operator: RingOperator,
order_operator: OrderOperator,
) -> ProductMatrix<Self, Othr, RingOperator, OrderOperator>where
Self: Sized + ViewRowAscend + IndicesAndCoefficients,
Othr: ViewRowAscend<Coefficient = Self::Coefficient, RowIndex = Self::ColIndex> + IndicesAndCoefficients,
Self::ViewMajorAscend: IntoIterator,
<Othr as ViewRowAscend>::ViewMajorAscend: IntoIterator,
Self::EntryMajor: KeyValGet<Self::ColIndex, Self::Coefficient>,
<Othr as IndicesAndCoefficients>::EntryMajor: KeyValGet<<Othr as IndicesAndCoefficients>::ColIndex, <Othr as IndicesAndCoefficients>::Coefficient>,
<Othr as IndicesAndCoefficients>::ColIndex: Clone,
<Othr as IndicesAndCoefficients>::Coefficient: Clone,
RingOperator: Clone + Semiring<Self::Coefficient>,
OrderOperator: Clone + JudgePartialOrder<<Othr as IndicesAndCoefficients>::EntryMajor>,
Lefthand matrix multiplication Read more
source§fn multiply_right<Othr, RingOperator, OrderOperator>(
self,
other: Othr,
ring_operator: RingOperator,
order_operator: OrderOperator,
) -> ProductMatrix<Othr, Self, RingOperator, OrderOperator>where
Self: Sized + ViewRowAscend + IndicesAndCoefficients,
Othr: ViewRowAscend<Coefficient = Self::Coefficient, ColIndex = Self::RowIndex> + IndicesAndCoefficients,
Self::ViewMajorAscend: IntoIterator,
<Othr as ViewRowAscend>::ViewMajorAscend: IntoIterator,
Self::EntryMajor: KeyValGet<Self::ColIndex, Self::Coefficient>,
<Othr as IndicesAndCoefficients>::EntryMajor: KeyValGet<<Othr as IndicesAndCoefficients>::ColIndex, <Othr as IndicesAndCoefficients>::Coefficient>,
Self::ColIndex: Clone,
Self::Coefficient: Clone,
RingOperator: Clone + Semiring<Self::Coefficient>,
OrderOperator: Clone + JudgePartialOrder<Self::EntryMajor>,
fn multiply_right<Othr, RingOperator, OrderOperator>(
self,
other: Othr,
ring_operator: RingOperator,
order_operator: OrderOperator,
) -> ProductMatrix<Othr, Self, RingOperator, OrderOperator>where
Self: Sized + ViewRowAscend + IndicesAndCoefficients,
Othr: ViewRowAscend<Coefficient = Self::Coefficient, ColIndex = Self::RowIndex> + IndicesAndCoefficients,
Self::ViewMajorAscend: IntoIterator,
<Othr as ViewRowAscend>::ViewMajorAscend: IntoIterator,
Self::EntryMajor: KeyValGet<Self::ColIndex, Self::Coefficient>,
<Othr as IndicesAndCoefficients>::EntryMajor: KeyValGet<<Othr as IndicesAndCoefficients>::ColIndex, <Othr as IndicesAndCoefficients>::Coefficient>,
Self::ColIndex: Clone,
Self::Coefficient: Clone,
RingOperator: Clone + Semiring<Self::Coefficient>,
OrderOperator: Clone + JudgePartialOrder<Self::EntryMajor>,
Righthand matrix multiplication Read more
source§fn multiply_left_packet<Othr, RingOperator, OrderOperatorRowEntries, OrderOperatorColEntries>(
self,
other: MatrixAlgebraPacket<Othr, RingOperator, OrderOperatorRowEntries, OrderOperatorColEntries>,
) -> ProductMatrix<Self, Othr, RingOperator, OrderOperatorRowEntries>where
Self: Sized + ViewRowAscend + IndicesAndCoefficients,
Othr: ViewRowAscend<Coefficient = Self::Coefficient, RowIndex = Self::ColIndex> + IndicesAndCoefficients,
Self::ViewMajorAscend: IntoIterator,
<Othr as ViewRowAscend>::ViewMajorAscend: IntoIterator,
Self::EntryMajor: KeyValGet<Self::ColIndex, Self::Coefficient>,
<Othr as IndicesAndCoefficients>::EntryMajor: KeyValGet<<Othr as IndicesAndCoefficients>::ColIndex, <Othr as IndicesAndCoefficients>::Coefficient>,
<Othr as IndicesAndCoefficients>::ColIndex: Clone,
<Othr as IndicesAndCoefficients>::Coefficient: Clone,
RingOperator: Clone + Semiring<Self::Coefficient>,
OrderOperatorRowEntries: Clone + JudgePartialOrder<<Othr as IndicesAndCoefficients>::EntryMajor>,
fn multiply_left_packet<Othr, RingOperator, OrderOperatorRowEntries, OrderOperatorColEntries>(
self,
other: MatrixAlgebraPacket<Othr, RingOperator, OrderOperatorRowEntries, OrderOperatorColEntries>,
) -> ProductMatrix<Self, Othr, RingOperator, OrderOperatorRowEntries>where
Self: Sized + ViewRowAscend + IndicesAndCoefficients,
Othr: ViewRowAscend<Coefficient = Self::Coefficient, RowIndex = Self::ColIndex> + IndicesAndCoefficients,
Self::ViewMajorAscend: IntoIterator,
<Othr as ViewRowAscend>::ViewMajorAscend: IntoIterator,
Self::EntryMajor: KeyValGet<Self::ColIndex, Self::Coefficient>,
<Othr as IndicesAndCoefficients>::EntryMajor: KeyValGet<<Othr as IndicesAndCoefficients>::ColIndex, <Othr as IndicesAndCoefficients>::Coefficient>,
<Othr as IndicesAndCoefficients>::ColIndex: Clone,
<Othr as IndicesAndCoefficients>::Coefficient: Clone,
RingOperator: Clone + Semiring<Self::Coefficient>,
OrderOperatorRowEntries: Clone + JudgePartialOrder<<Othr as IndicesAndCoefficients>::EntryMajor>,
Lefthand matrix multiplication Read more
source§fn umatch<Other, RingOperator, OrderOperatorRowIndex, OrderOperatorColIndex, IterRowIndex>(
self,
iter_keymaj: IterRowIndex,
ring_operator: RingOperator,
order_operator_RowIndex: OrderOperatorRowIndex,
order_operator_ColIndex: OrderOperatorColIndex,
) -> Umatch<Self, RingOperator, OrderOperatorByKeyCutsom<Self::ColIndex, Self::Coefficient, Self::EntryMajor, OrderOperatorColIndex>, OrderOperatorByKeyCutsom<Self::RowIndex, Self::Coefficient, Self::EntryMinor, OrderOperatorRowIndex>>where
Self: Sized + ViewRowAscend + IndicesAndCoefficients,
IterRowIndex: Iterator<Item = Self::RowIndex>,
Self::ColIndex: Clone + Hash + Eq + Debug,
Self::RowIndex: Clone + Hash + Eq + Debug,
Self::Coefficient: Clone + Debug,
RingOperator: Clone + Semiring<Self::Coefficient> + Ring<Self::Coefficient> + DivisionRing<Self::Coefficient>,
Self::ViewMajorAscend: Clone,
Self::ViewMajorAscendIntoIter: Clone,
Self::EntryMajor: KeyValSet<Self::ColIndex, Self::Coefficient> + Debug + Clone,
OrderOperatorColIndex: Clone + JudgePartialOrder<Self::ColIndex>,
OrderOperatorRowIndex: Clone + JudgePartialOrder<Self::RowIndex>,
fn umatch<Other, RingOperator, OrderOperatorRowIndex, OrderOperatorColIndex, IterRowIndex>(
self,
iter_keymaj: IterRowIndex,
ring_operator: RingOperator,
order_operator_RowIndex: OrderOperatorRowIndex,
order_operator_ColIndex: OrderOperatorColIndex,
) -> Umatch<Self, RingOperator, OrderOperatorByKeyCutsom<Self::ColIndex, Self::Coefficient, Self::EntryMajor, OrderOperatorColIndex>, OrderOperatorByKeyCutsom<Self::RowIndex, Self::Coefficient, Self::EntryMinor, OrderOperatorRowIndex>>where
Self: Sized + ViewRowAscend + IndicesAndCoefficients,
IterRowIndex: Iterator<Item = Self::RowIndex>,
Self::ColIndex: Clone + Hash + Eq + Debug,
Self::RowIndex: Clone + Hash + Eq + Debug,
Self::Coefficient: Clone + Debug,
RingOperator: Clone + Semiring<Self::Coefficient> + Ring<Self::Coefficient> + DivisionRing<Self::Coefficient>,
Self::ViewMajorAscend: Clone,
Self::ViewMajorAscendIntoIter: Clone,
Self::EntryMajor: KeyValSet<Self::ColIndex, Self::Coefficient> + Debug + Clone,
OrderOperatorColIndex: Clone + JudgePartialOrder<Self::ColIndex>,
OrderOperatorRowIndex: Clone + JudgePartialOrder<Self::RowIndex>,
Returns a U-match factorization Read more
source§fn transpose(self) -> Transpose<Self>where
Self: Sized,
fn transpose(self) -> Transpose<Self>where
Self: Sized,
Wraps
self
in a crate::algebra::matrices::types::transpose::Transpose struct.source§fn transpose_ref(&self) -> Transpose<&Self>
fn transpose_ref(&self) -> Transpose<&Self>
Wraps
& self
in a crate::algebra::matrices::types::transpose::Transpose struct.source§fn antitranspose(self) -> AntiTranspose<Self>where
Self: Sized,
fn antitranspose(self) -> AntiTranspose<Self>where
Self: Sized,
source§fn antitranspose_ref(&self) -> AntiTranspose<&Self>where
Self: Sized,
fn antitranspose_ref(&self) -> AntiTranspose<&Self>where
Self: Sized,
Wraps
& self
in a crate::algebra::matrices::types::transpose::AntiTranspose struct.source§fn reverse(self) -> Reverse<Self>where
Self: Sized,
fn reverse(self) -> Reverse<Self>where
Self: Sized,
Wraps
self
in a crate::algebra::matrices::types::transpose::Transpose struct.source§fn reverse_ref(&self) -> Reverse<&Self>
fn reverse_ref(&self) -> Reverse<&Self>
Wraps
& self
in a crate::algebra::matrices::types::transpose::Transpose struct.source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> PyErrArguments for T
impl<T> PyErrArguments for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.source§impl<T> TransformIter for T
impl<T> TransformIter for T
source§fn require_strict_ascent<OrderOperator>(
self,
order_operator: OrderOperator,
) -> RequireStrictAscent<Self, OrderOperator>
fn require_strict_ascent<OrderOperator>( self, order_operator: OrderOperator, ) -> RequireStrictAscent<Self, OrderOperator>
Wraps
self
in a struct that requires items to appear in strictly sorted order. Read moresource§fn require_strict_ascent_with_panic<OrderOperator>(
self,
order_operator: OrderOperator,
) -> RequireStrictAscentWithPanic<Self, OrderOperator>
fn require_strict_ascent_with_panic<OrderOperator>( self, order_operator: OrderOperator, ) -> RequireStrictAscentWithPanic<Self, OrderOperator>
Wraps
self
in a struct that requires items to appear in strictly sorted order. Read more