Rational Functions

Unlike polynomials, there are variety of ways to express rational functions.

class polyrat.RationalFunction[source]

An abstract base class for rational functions

eval(X)[source]

Evaluate the rational function at the given points

Parameters:X (array-like (M, dim)) – Input coordinates to evaluate the rational function
poles(*args, **kwargs)[source]

Poles of this rational function

class polyrat.RationalRatio(numerator, denominator)[source]

A rational function as a ratio of two polynomials