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

# Class Fpolynomial

    object --+
             |
          Fsum --+
                 |
                Fpolynomial

Precision polynomial evaluation.

Instance Methods
__init__(self, x, *cs) New Fpolynomial evaluation of the polynomial sum(cs[i] * x**i for i=0..len(cs)). |
Inherited from `Fsum`: `__add__`, `__copy__`, `__iadd__`, `__imul__`, `__isub__`, `__len__`, `__mul__`, `__str__`, `__sub__`, `fadd`, `fadd_`, `fcopy`, `fmul`, `fsub`, `fsum`, `fsum2_`, `fsum_` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Class Variables
Inherited from `Fsum`: `_fsum2_`

Properties
Inherited from `object`: `__class__`

Method Details

### __init__(self, x, *cs) (Constructor) |
New Fpolynomial evaluation of the polynomial sum(cs[i] * x**i for i=0..len(cs)). Parameters: `x` - Polynomial argument (`scalar`). `cs` - Polynomial coeffients (`scalar`[]). Raises: `TypeError` - Non-scalar x. `ValueError` - No cs coefficients or x is not finite. Overrides: object.__init__ See Also: Function fpolynomial.