Vectorial

Vectorial#

diffaaable.vectorial.residues_vec(z_j, f_j, w_j, z_n)[source]#

Vectorial residues for given poles via formula for simple poles of quotients of analytic functions. For a barycentric rational of order m the

diffaaable.vectorial.vectorial_aaa(z_k, f_k, tol=1e-13, mmax=100, return_errors=False)[source]#

Find a rational approximation to \(\mathbf f(z)\) over the points \(z_k\) using a modified AAA algorithm, as presented in [^4]. Importantly the weights and thus also the poles are shared between all entries of \(\mathbf f(z)\).

Parameters:
  • z_k (array (M,):) – M sample points

  • f_k (array (M, V):) – vector valued function values

  • tol (float) – the approximation tolerance

  • mmax (int) – the maximum number of iterations/degree of the resulting approximant

Returns: