.GNU_ScientificLibrary.Functions.integration.qawc

Information

Function for accessing the external GSL QAWC integration routine, which calculates the Cauchy principal value of a function with a singular point at x=c.

Keep in mind that the 'integrand' must be "created" beforehand: see the 'CreateIntegrand' model and the 'integrand_setup' function. Note that here f is to be defined without the singular 1/(x-c) part: 

Interface

function qawc
  extends Modelica.Icons.Function;
  input Integer n_par;
  input Real par[n_par], a, b, c, rel_err;
  input Integer limit;
  output Real y, err;
end qawc;

Generated at 2024-12-11T19:25:49Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos