oat_python::simplex_filtered

Struct SimplexFilteredPy

source
pub struct SimplexFilteredPy { /* private fields */ }

Implementations§

Trait Implementations§

source§

impl Clone for SimplexFilteredPy

source§

fn clone(&self) -> SimplexFilteredPy

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl IntoPy<Py<PyAny>> for SimplexFilteredPy

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl PyClass for SimplexFilteredPy

source§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for SimplexFilteredPy

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
source§

type Layout = PyCell<SimplexFilteredPy>

Layout
source§

type BaseType = PyAny

Base class
source§

type ThreadChecker = ThreadCheckerStub<SimplexFilteredPy>

This handles following two situations: Read more
source§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
source§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
source§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
source§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

source§

fn dict_offset() -> Option<isize>

source§

fn weaklist_offset() -> Option<isize>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SimplexFilteredPy

source§

type Holder = Option<PyRef<'py, SimplexFilteredPy>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SimplexFilteredPy

source§

type Holder = Option<PyRefMut<'py, SimplexFilteredPy>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<SimplexFilteredPy> for PyClassImplCollector<SimplexFilteredPy>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for SimplexFilteredPy

source§

const NAME: &'static str = "SimplexFilteredPy"

Class name.
source§

const MODULE: Option<&'static str> = ::core::option::Option::None

Module name, if any.
source§

type AsRefTarget = PyCell<SimplexFilteredPy>

Utility type to make Py::as_ref work.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
source§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
source§

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

Checks if object is an instance of this type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> Export for T

source§

fn export(self) -> ForExport<T>

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<'a, T> FromPyObject<'a> for T
where T: PyClass + Clone,

source§

fn extract(obj: &'a PyAny) -> Result<T, PyErr>

Extracts Self from the source PyObject.
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
source§

impl<T> IntoReverseOrder for T

source§

fn into_reverse_order(self) -> ReverseOrder<T>

Returns an inverted order operator, consuming self

source§

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>

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>

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>

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>,

Returns a U-match factorization Read more
source§

fn transpose(self) -> Transpose<Self>
where Self: Sized,

source§

fn transpose_ref(&self) -> Transpose<&Self>

source§

fn antitranspose(self) -> AntiTranspose<Self>
where Self: Sized,

source§

fn antitranspose_ref(&self) -> AntiTranspose<&Self>
where Self: Sized,

source§

fn reverse(self) -> Reverse<Self>
where Self: Sized,

source§

fn reverse_ref(&self) -> Reverse<&Self>

source§

impl<T> OkWrap<T> for T
where T: IntoPy<Py<PyAny>>,

source§

type Error = PyErr

source§

fn wrap(self, py: Python<'_>) -> Result<Py<PyAny>, PyErr>

source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
source§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> PyErrArguments for T
where T: IntoPy<Py<PyAny>> + Send + Sync,

source§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
source§

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

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> TransformIter for T

source§

fn require_strict_ascent<OrderOperator>( self, order_operator: OrderOperator, ) -> RequireStrictAscent<Self, OrderOperator>
where Self: Sized + Iterator, Self::Item: Clone, OrderOperator: JudgePartialOrder<Self::Item>,

Wraps self in a struct that requires items to appear in strictly sorted order. Read more
source§

fn require_strict_ascent_with_panic<OrderOperator>( self, order_operator: OrderOperator, ) -> RequireStrictAscentWithPanic<Self, OrderOperator>
where Self: Sized + Iterator, Self::Item: Clone, OrderOperator: JudgePartialOrder<Self::Item>,

Wraps self in a struct that requires items to appear in strictly sorted order. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> Ungil for T
where T: Send,