|
|
__init__(self,
*xs,
**name_RESIDUAL)
New Fsum
for running precision floating point summation. |
|
|
|
|
__abs__(self)
Return this instance' absolute value as an Fsum. |
|
|
|
|
|
|
|
__bool__(self)
Return True if this instance is exactly non-zero. |
|
|
|
|
__ceil__(self)
Return this instance' math.ceil as int or
float. |
|
|
|
|
__cmp__(self,
other)
Compare this with an other instance or scalar, Python
2-. |
|
|
|
|
__divmod__(self,
other,
**raiser_RESIDUAL)
Return divmod(self, other) as a DivMod2Tuple with quotient div an
int in Python 3+ or float in Python 2- and
remainder mod an Fsum
instance. |
|
|
|
|
__eq__(self,
other)
Compare this with an other instance or scalar. |
|
|
|
|
__float__(self)
Return this instance' current, precision running sum as
float. |
|
|
|
|
__floor__(self)
Return this instance' math.floor as int or
float. |
|
|
|
|
|
|
|
|
|
|
__ge__(self,
other)
Compare this with an other instance or scalar. |
|
|
|
|
__gt__(self,
other)
Compare this with an other instance or scalar. |
|
|
|
|
__hash__(self)
Return this instance' hash. |
|
|
|
|
__iadd__(self,
other)
Apply self += other to this instance. |
|
|
|
|
__ifloordiv__(self,
other)
Apply self //= other to this instance. |
|
|
|
|
|
|
|
__imod__(self,
other)
Apply self %= other to this instance. |
|
|
|
|
__imul__(self,
other)
Apply self *= other to this instance. |
|
|
|
|
__int__(self)
Return this instance as an int. |
|
|
|
|
__invert__(self)
Not implemented. |
|
|
|
|
__ipow__(self,
other,
*mod,
**raiser_RESIDUAL)
Apply self **= other to this instance. |
|
|
|
|
__isub__(self,
other)
Apply self -= other to this instance. |
|
|
|
|
__iter__(self)
Return an iterator over a partials
duplicate. |
|
|
|
|
__itruediv__(self,
other,
**raiser_RESIDUAL)
Apply self /= other to this instance. |
|
|
|
|
__le__(self,
other)
Compare this with an other instance or scalar. |
|
|
|
|
__len__(self)
Return the number of values accumulated (int). |
|
|
|
|
__lt__(self,
other)
Compare this with an other instance or scalar. |
|
|
|
|
|
|
|
|
|
|
|
|
|
__ne__(self,
other)
Compare this with an other instance or scalar. |
|
|
|
|
__neg__(self)
Return a copy of this instance, negated. |
|
|
|
|
__pos__(self)
Return this instance as-is, like float.__pos__(). |
|
|
|
|
__pow__(self,
other,
*mod)
Return self**other as an Fsum. |
|
|
|
|
|
|
|
__rdivmod__(self,
other)
Return divmod(other, self) as 2-tuple
(quotient, remainder). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__round__(self,
*ndigits)
Return round(self, *ndigits as an Fsum. |
|
|
|
|
|
|
|
|
|
|
|
|
|
__str__(self)
Return the default str(self). |
|
|
|
|
|
|
|
__truediv__(self,
other,
**raiser_RESIDUAL)
Return self / other as an Fsum. |
|
|
|
|
__trunc__(self)
Return this instance as an int. |
|
|
|
|
__div__(self,
other,
**raiser_RESIDUAL)
Return self / other as an Fsum. |
|
|
|
|
__idiv__(self,
other,
**raiser_RESIDUAL)
Apply self /= other to this instance. |
|
|
|
|
__long__(self)
Return this instance as an int. |
|
|
|
|
__nonzero__(self)
Return True if this instance is exactly non-zero. |
|
|
|
|
__rdiv__(self,
other,
**raiser_RESIDUAL)
Return other / self as an Fsum. |
|
|
|
|
|
|
|
cmp(self,
other)
Compare this with an other instance or scalar, Python
2-. |
|
|
|
|
copy(self,
deep=False,
**name)
Copy this instance, shallow or deep. |
|
|
|
|
divmod(self,
other,
**raiser_RESIDUAL)
Return divmod(self, other) as a DivMod2Tuple with quotient div an
int in Python 3+ or float in Python 2- and
remainder mod an Fsum
instance. |
|
|
|
|
fadd(self,
xs=())
Add an iterable's items to this instance. |
|
|
|
|
fadd_(self,
*xs)
Add all positional items to this instance. |
|
|
|
|
fcopy(self,
deep=False,
**name)
Copy this instance, shallow or deep. |
|
|
|
|
fdiv(self,
other,
**raiser_RESIDUAL)
Apply self /= other to this instance. |
|
|
|
|
fdivmod(self,
other,
**raiser_RESIDUAL)
Return divmod(self, other) as a DivMod2Tuple with quotient div an
int in Python 3+ or float in Python 2- and
remainder mod an Fsum
instance. |
|
|
|
|
fint(self,
name='',
**raiser_RESIDUAL)
Return this instance' current running sum as integer. |
|
|
|
|
fint2(self,
**name)
Return this instance' current running sum as int and the
integer residual. |
|
|
|
|
fmul(self,
other)
Apply self *= other to this instance. |
|
|
|
|
fover(self,
over,
**raiser_RESIDUAL)
Apply self /= over and summate. |
|
|
|
|
fpow(self,
other,
*mod,
**raiser_RESIDUAL)
Apply self **= other to this instance. |
|
|
|
|
fset_(self,
*xs)
Replace this instance' value with all positional items. |
|
|
|
|
fsub(self,
xs=())
Subtract an iterable's items from this instance. |
|
|
|
|
fsub_(self,
*xs)
Subtract all positional items from this instance. |
|
|
|
|
fsum(self,
xs=())
Add an iterable's items, summate and return the current precision
running sum. |
|
|
|
|
fsum_(self,
*xs)
Add any positional items, summate and return the current precision
running sum. |
|
|
|
|
|
|
|
|
|
|
fsum2(self,
xs=(),
**name)
Add an iterable's items, summate and return the current precision
running sum and the residual. |
|
|
|
|
fsum2_(self,
*xs)
Add any positional items, summate and return the current precision
running sum and the differential. |
|
|
|
|
fsumf_(self,
*xs)
Like method Fsum.fsum_ iff all xs are
known to be scalar. |
|
|
|
|
Fsumf_(self,
*xs)
Like method Fsum.Fsum_ iff all xs are
known to be scalar. |
|
|
|
|
fsum2f_(self,
*xs)
Like method Fsum.fsum2_ iff all xs
are known to be scalar. |
|
|
|
|
int_float(self,
**raiser_RESIDUAL)
Return this instance' current running sum as int or
float. |
|
|
|
|
is_exact(self)
Is this instance' running fsum considered to be exact?
(bool), True only if the residual is
INT0. |
|
|
|
|
is_integer(self)
Is this instance' running sum integer?
(bool). |
|
|
|
|
|
|
|
is_scalar(self,
**raiser_RESIDUAL)
Is this instance' running sum scalar without residual or
with a residual ratio not exceeding the RESIDUAL threshold? |
|
|
|
|
pow(self,
x,
*mod,
**raiser_RESIDUAL)
Return self**x as Fsum. |
|
|
|
|
rdiv(self,
other,
**raiser_RESIDUAL)
Return other / self as an Fsum. |
|
|
|
|
RESIDUAL(self,
*threshold)
Get and set this instance' ratio for raising ResidualErrors, overriding the default from env
variable PYGEODESY_FSUM_RESIDUAL. |
|
|
|
|
root(self,
root,
**raiser_RESIDUAL)
Return self**(1 / root) as Fsum. |
|
|
|
|
signOf(self,
res=True)
Determine the sign of this instance. |
|
|
|
|
toRepr(self,
**lenc_prec_sep_fmt)
Return this Fsum instance as representation. |
|
|
|
|
toStr(self,
lenc=True,
**prec_sep_fmt)
Return this Fsum instance as string. |
|
|
|
Inherited from named._Named:
__repr__,
attrs,
classof,
dup,
methodname,
rename,
renamed,
toStr2
Inherited from object:
__delattr__,
__getattribute__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|