ContinuumApprox

ContinuumApprox(julia_obj)

Rational approximation on a continuum domain.

Represents a rational function approximation computed on a continuous domain such as a curve, path, or region in the complex plane. The approximation is constructed adaptively using methods like AAA or TCF.

Attributes

Name Type Description
julia The underlying Julia ContinuumApproximation object.
original The original function being approximated.
domain The continuum domain (curve, path, or region).
fun The rational function approximation (Thiele, Bary, etc.).
allowed Allowed pole locations.
path Integration path used in approximation.
history History of the approximation process.
status ConvergenceStatus saying why the iteration stopped, or None if none was recorded.

Methods

Name Description
getfunction Get the underlying rational function.
isapprox Check if this approximation is close to another function.
nodes Get the interpolation nodes of the approximation.
testpoints Get the test points used to validate the approximation.
values Get the function values at the interpolation nodes.

getfunction

ContinuumApprox.getfunction()

Get the underlying rational function.

Returns

Name Type Description
Thiele, Bary, or JuliaRatfun: The rational function approximation.

isapprox

ContinuumApprox.isapprox(other)

Check if this approximation is close to another function.

Parameters

Name Type Description Default
other Another JuliaApprox or callable function. required

Returns

Name Type Description
bool True if approximations are close on test points.

nodes

ContinuumApprox.nodes()

Get the interpolation nodes of the approximation.

Returns

Name Type Description
np.ndarray: Array of node locations.

testpoints

ContinuumApprox.testpoints()

Get the test points used to validate the approximation.

Returns

Name Type Description
np.ndarray: Array of test point locations.

values

ContinuumApprox.values()

Get the function values at the interpolation nodes.

Returns

Name Type Description
np.ndarray: Array of function values.