pyuncertainnumber.pba.mixins ============================ .. py:module:: pyuncertainnumber.pba.mixins Classes ------- .. autoapisummary:: pyuncertainnumber.pba.mixins.NominalValueMixin pyuncertainnumber.pba.mixins._PboxOpsMixin Module Contents --------------- .. py:class:: NominalValueMixin .. py:property:: nominal_value .. py:method:: _compute_nominal_value() :abstractmethod: .. py:class:: _PboxOpsMixin Mixin for classes that want to reuse Pbox's arithmetic by converting themselves (and the other operand) into Pbox first. Requires a _to_pbox(self) -> Pbox method on the subclass. .. py:attribute:: _BIN_OPS :value: ['__add__', '__sub__', '__mul__', '__truediv__', '__floordiv__', '__mod__', '__pow__',... .. py:attribute:: _REFL .. py:attribute:: _UNARY_OPS :value: ['__neg__', '__pos__', '__abs__', '__invert__'] .. py:method:: _coerce_to_pbox(x) :staticmethod: .. py:method:: __init_subclass__(**kwargs) :classmethod: .. py:method:: __getattr__(name)