Function

NumCosmoMathIntegralFixednew

Declaration [src]

NcmIntegralFixed*
ncm_integral_fixed_new (
  gulong n_nodes,
  gulong rule_n,
  gdouble xl,
  gdouble xu
)

Description [src]

This function prepares the NcmIntegralFixed with a grid with n_nodes - 1 intervals beteween xl and xu. In each interval it uses a fixed order (rule_n) Gauss-Legendre integration rule to determine the interval inner points. This results in a grid with (n_nodes - 1) * rule_n points.

This function is not directly available to language bindings.

Parameters

n_nodes

Type: gulong

Number of nodes in the full interval.

rule_n

Type: gulong

Order of the Gauss-Legendre integration rule to be applied in each interval.

xl

Type: gdouble

The interval lower limit.

xu

Type: gdouble

The interval upper limit.

Return value

Type: NcmIntegralFixed

A pointer to the newly created NcmIntegralFixed structure.

The data is owned by the called function.