Package pygeodesy :: Module fmath :: Class Fdot |
[frames] | no frames]

# Class Fdot

      object --+
               |
    named._Named --+
                   |
          fsums.Fsum --+
                       |
                      Fdot

Precision dot product.

Instance Methods
__init__(self, a, *b) New Fdot precision dot product sum(a[i] * b[i] for i=0..len(a)). |
Inherited from `fsums.Fsum`: `__abs__`, `__add__`, `__bool__`, `__ceil__`, `__div__`, `__divmod__`, `__eq__`, `__float__`, `__floor__`, `__floordiv__`, `__format__`, `__ge__`, `__gt__`, `__hash__`, `__iadd__`, `__idiv__`, `__ifloordiv__`, `__imatmul__`, `__imod__`, `__imul__`, `__int__`, `__ipow__`, `__isub__`, `__iter__`, `__itruediv__`, `__le__`, `__len__`, `__long__`, `__lt__`, `__matmul__`, `__mod__`, `__mul__`, `__ne__`, `__neg__`, `__nonzero__`, `__pos__`, `__pow__`, `__radd__`, `__rdiv__`, `__rdivmod__`, `__rfloordiv__`, `__rmatmul__`, `__rmod__`, `__rmul__`, `__round__`, `__rpow__`, `__rsub__`, `__rtruediv__`, `__sizeof__`, `__str__`, `__sub__`, `__truediv__`, `__trunc__`, `_fadd_`, `as_integer_ratio`, `copy`, `divmod`, `fadd`, `fadd_`, `fcopy`, `fdiv`, `fdivmod`, `fmul`, `fpow`, `fsub`, `fsub_`, `fsum`, `fsum2`, `fsum2_`, `fsum_`, `is_exact`, `is_integer`, `is_math_fsum`, `pow`, `signOf`, `toRepr`, `toStr` Inherited from `named._Named`: `_DOT_`, `__repr__`, `attrs`, `classof`, `dup`, `rename`, `toStr2` Inherited from `object`: `__delattr__`, `__getattribute__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__subclasshook__`

Properties
Inherited from `fsums.Fsum`: `ceil`, `float_int`, `floor`, `imag`, `partials`, `real`, `residual` Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2`, `named3`, `named4` Inherited from `object`: `__class__`

Method Details

### __init__ (self, a, *b) (Constructor) |
New Fdot precision dot product sum(a[i] * b[i] for i=0..len(a)). Arguments: `a` - Iterable, list, tuple, etc. (`scalar`s). `b` - Other values (`scalar`s), all positional. Raises: `OverflowError` - Partial `2sum` overflow. `LenError` - Unequal `len(a)` and `len(b)`. Overrides: object.__init__ See Also: Function fdot and method Fsum.fadd.