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:
guintFunction dimension.
abstol-
Type:
gdoubleRelative tolerance.
reltol-
Type:
gdoubleAbsolute 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. |