# Partial Fraction Expansion (G Dataflow)

Last Modified: February 27, 2020

Calculates the partial fraction expansion of a rational polynomial using the Heaviside cover-up method.  ## numerator

Numerator coefficients, in ascending order of power, of the rational polynomial. ## denominator

Denominator coefficients, in ascending order of power, for the rational polynomial. ## tolerance

Level of tolerance to use when this node determines if the roots in the denominator polynomial are unique or repeated.

Default: 1E-05 ## error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error  If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error ## option

Method this node uses to handle the co-factors of the numerator and denominator polynomials.

Name Value Description
Cancel Co-factors 0 Computes the greatest common denominator (GCD) for the numerator and denominator polynomials before returning the output data.
Reserve Co-factors 1 Keeps the numerator and denominator polynomial unchanged and returns the output data directly.

Default: Cancel Co-factors ## polynomial

Coefficients, in ascending order of power, for the quotient polynomial that results from the division of the numerator polynomial by the denominator polynomial. ## poles

Unique roots of the denominator polynomial.

The roots of the denominator polynomial result from removing all common factors between the numerator polynomial and the denominator polynomial. ## residues

Numerators of the partial fractions that result for each pole. ## multiplicity

Number of times each unique root in the denominator polynomial occurs.

Multiplicity occurs when the difference between two elements in poles is less than tolerance. ## error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error  If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application