Nep2rat
[Am, Bm, Rm] = nep2rat(F, Z)
returns the rational approximation Rm of the function F on the target set Z, and the linearized pencil (Am, Bm). The set Z must be given as a vector of points, while F could either be a function_handle or a struct, with fields:
F.coeffs: the matrix coefficients of F;
F.fun: the scalar functions that define f;
This structure mirrors the output of the NLEVP library. The default behaviour changes with the input F: if F is a function_handle, then nep2rat uses the "surrogate AAA with cyclic Leja--Bagby refinement" algorithm, while if F is a struct, it uses the "weighted AAA" algorithm. If the split form of F is available, we suggest to use the struct form of F as the input.
[Am, Bm, Rm, info] = nep2rat(F, Z, opts)
allows the user to specify many optional parameters, such as the precision of the approximation and the algorithms utilised. The output info is returns additional information, while opts is a structure with all the. An in-depth guide is contained in the help of nep2rat.
Cite As
Güttel, S., Negri Porzio, G.M. and Tisseur, F., 2020. Robust rational approximations of nonlinear eigenvalue problems. MIMS Eprints 2020.24
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.1 | Updated the description |
|
|
1.0.0 |
|