Constructor

NumCosmoMathFunctionCachenew

Declaration [src]

NcmFunctionCache*
ncm_function_cache_new (
  guint n,
  gdouble abstol,
  gdouble reltol
)

Description [src]

Creates a new NcmFunctionCache for a n dimensional function. The points are considered the same within the tolerance described by abstol and reltol.

Parameters

n

Type: guint

Function dimension.

abstol

Type: gdouble

Relative tolerance.

reltol

Type: gdouble

Absolute tolerance.

Return value

Type: NcmFunctionCache

The newly created NcmFunctionCache.

The caller of the function takes ownership of the data, and is responsible for freeing it.