Function Macro

NumCosmoMathINTEGRAL_ND_DEFINE_TYPE

Declaration [src]

#define NCM_INTEGRAL_ND_DEFINE_TYPE (
  MODULE,
  OBJ_NAME,
  ModuleObjName,
  module_obj_name,
  method_get_dimensions,
  method_integrand,
  user_data
)

Description [src]

A convenience macro to define a subclass of NcmIntegralND with a custom user data type.

This function is not directly available to language bindings.

Parameters

MODULE

Type: -

The name of the module defining the type, all capitalized.

OBJ_NAME

Type: -

The name of the type to define, all capitalized.

ModuleObjName

Type: -

The name of the type to define, camel case.

module_obj_name

Type: -

The name of the type to define, snake case.

method_get_dimensions

Type: -

The name of the method that returns the dimension of the integral argument and the dimension of the function to be integrated.

method_integrand

Type: -

The name of the method that returns the value of the integrand at all points in x.

user_data

Type: -

The type of the user data.