|
__init__(self,
*xs,
**name_RESIDUAL)
New Fsum for precision floating point running
summation. |
|
|
|
__abs__(self)
Return this instance' absolute value as an Fsum. |
|
|
|
__add__(self,
other)
Return the Fsum(self, other) . |
|
|
|
__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 . |
|
|
|
cmp(self,
other)
Compare this with an other instance or scalar . |
|
|
|
__divmod__(self,
other)
Return divmod(self, other) as 2-tuple
(quotient, remainder) , an int in Python 3+
or float in Python 2- and an Fsum. |
|
|
|
__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)
Apply self **= other to this instance. |
|
|
|
__isub__(self,
other)
Apply self -= other to this instance. |
|
|
|
__iter__(self)
Return an iter ator over a partials
duplicate. |
|
|
|
__itruediv__(self,
other)
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) . |
|
|
|
|
|
|
|
__trunc__(self)
Return this instance as an int . |
|
|
|
|
|
__idiv__(self,
other)
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. |
|
|
|
|
|
|
|
copy(self,
deep=False,
name='')
Copy this instance, shallow or deep . |
|
|
|
divmod(self,
other)
Return divmod(self, other) as 2-tuple
(quotient, remainder) . |
|
|
|
fadd(self,
xs=( ) )
Add an iterable of scalar or Fsum
instances to this instance. |
|
|
|
fadd_(self,
*xs)
Add all positional scalar or Fsum
instances to this instance. |
|
|
|
fcopy(self,
deep=False,
name='')
Copy this instance, shallow or deep . |
|
|
|
fdiv(self,
other)
Apply self /= other to this instance. |
|
|
|
fdivmod(self,
other)
Return divmod(self, other) as 2-tuple
(quotient, remainder) , an int in Python 3+
or float in Python 2- and an Fsum. |
|
|
|
fint(self,
raiser=True,
name='')
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)
Apply self /= over and summate. |
|
|
|
fpow(self,
other,
*mod)
Apply self **= other to this instance. |
|
|
|
fsub(self,
xs=( ) )
Subtract an iterable of scalar or Fsum
instances from this instance. |
|
|
|
fsub_(self,
*xs)
Subtract all positional scalar or Fsum
instances from this instance. |
|
|
|
fsum(self,
xs=( ) )
Add more scalar or Fsum
instances and summate. |
|
|
|
fsum_(self,
*xs)
Add all positional scalar or Fsum
instances and summate. |
|
|
|
fsum2(self,
xs=( ) ,
**name)
Add more scalar or Fsum
instances and return the current precision running sum and the
residual . |
|
|
|
fsum2_(self,
*xs)
Add any positional scalar or Fsum
instances and return the precision running sum and the
differential . |
|
|
|
fsumf_(self,
*xs)
Like method Fsum.fsum_ but only for known float
xs . |
|
|
|
int_float(self,
raiser=False)
Return this instance' current running sum as int or
float . |
|
|
|
is_exact(self)
Is this instance' current running fsum considered to be
exact? (bool ). |
|
|
|
is_integer(self)
Is this instance' current running sum integer ?
(bool ). |
|
|
|
|
|
pow(self,
x,
*mod)
Return self**x as Fsum. |
|
|
|
RESIDUAL(self,
*threshold)
Get and set this instance' ratio for raising ResidualErrors, overriding the default from env
variable PYGEODESY3_FSUM_RESIDUAL . |
|
|
|
signOf(self,
res=True)
Determine the sign of this instance. |
|
|
|
toRepr(self,
**prec_sep_fmt_lenc)
Return this Fsum instance as representation. |
|
|
|
toStr(self,
**prec_sep_fmt_lenc)
Return this Fsum instance as string. |
|
|
Inherited from miscs.named._Named :
__repr__ ,
attrs ,
classof ,
dup ,
methodname ,
rename
Inherited from object :
__delattr__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|