Public Member Functions | |
def | __init__ |
def | __array__ |
def | __coerce__ |
def | __repr__ |
def | __len__ |
def | __str__ |
def | __call__ |
def | __mul__ |
def | __rmul__ |
def | __add__ |
def | __radd__ |
def | __pow__ |
def | __sub__ |
def | __rsub__ |
def | __div__ |
def | __rdiv__ |
def | __setattr__ |
def | __getattr__ |
def | __getitem__ |
def | __setitem__ |
def | integ |
def | deriv |
p = poly1d([1,2,3]) constructs the polynomial x**2 + 2 x + 3
p(0.5) evaluates the polynomial at the location p.r is a list of roots p.c is the coefficient array [1,2,3] p.order is the polynomial order (after leading zeros in p.c are removed) p[k] is the coefficient on the kth power of x (backwards from sequencing the coefficient array.
polynomials can be added, substracted, multplied and divided (returns quotient and remainder). asarray(p) will also give the coefficient array, so polynomials can be used in all functions that accept arrays.
def gnuradio::gruimpl::freqz::poly1d::__add__ | ( | self, | ||
other | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__array__ | ( | self, | ||
t = None | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__call__ | ( | self, | ||
val | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__coerce__ | ( | self, | ||
other | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__div__ | ( | self, | ||
other | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__getattr__ | ( | self, | ||
key | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__getitem__ | ( | self, | ||
val | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__init__ | ( | self, | ||
c_or_r, | ||||
r = 0 | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__len__ | ( | self | ) |
def gnuradio::gruimpl::freqz::poly1d::__mul__ | ( | self, | ||
other | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__pow__ | ( | self, | ||
val | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__radd__ | ( | self, | ||
other | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__rdiv__ | ( | self, | ||
other | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__repr__ | ( | self | ) |
def gnuradio::gruimpl::freqz::poly1d::__rmul__ | ( | self, | ||
other | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__rsub__ | ( | self, | ||
other | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__setattr__ | ( | self, | ||
key, | ||||
val | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__setitem__ | ( | self, | ||
key, | ||||
val | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::__str__ | ( | self | ) |
def gnuradio::gruimpl::freqz::poly1d::__sub__ | ( | self, | ||
other | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::deriv | ( | self, | ||
m = 1 | ||||
) |
def gnuradio::gruimpl::freqz::poly1d::integ | ( | self, | ||
m = 1 , |
||||
k = 0 | ||||
) |