Table Of Contents

Pade Approximation (G Dataflow)

Last Modified: December 18, 2017

Determines the coefficients of a rational polynomial to best suit a given set of derivatives.

connector_pane_image
datatype_icon

derivatives

Derivatives of the function.

datatype_icon

m

Degree of the numerator polynomial.

Default: 0

datatype_icon

n

Degree of the denominator polynomial.

Default: 0

datatype_icon

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

datatype_icon

numerator

Numerator polynomial coefficients in ascending order of power.

datatype_icon

denominator

Denominator polynomial coefficients in ascending order of power.

datatype_icon

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.

Determining a Rational Polynomial with the Pade Approximation Algorithm

Let f be a given function with known derivatives and values: f(0), f'(0), ..., f(m + n)(0). This node determines the rational polynomial to best suit the derivatives of f by solving the following linear equation.

For mn,

g ( x ) = a 0 + a 1 x + + a m x m 1 + b 1 x + + b n x n

where

  • g(x) is the rational polynomial
  • m is the degree of the numerator polynomial
  • n is the degree of the denominator polynomial
  • a0, a1, …, am are the coefficients of the numerator polynomial
  • b1, …, bn are the coefficients of the denominator polynomial

The rational polynomial g(x) agrees with f(x) to the highest possible order of m + n:

g ( 0 ) = f ( 0 ) g ( 0 ) = f ( 0 ) g ( m + n ) ( 0 ) = f ( m + n ) ( 0 )

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices

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


Recently Viewed Topics