Method

NumCosmoMathFunctionCacheget

Declaration [src]

gboolean
ncm_function_cache_get (
  NcmFunctionCache* cache,
  gdouble* x_ptr,
  NcmVector** v
)

Description [src]

Searches the cache and returns the value of the function at $x$.

This method is not directly available to language bindings.

Parameters

x_ptr

Type: gdouble*

The argument $x$.

The data is owned by the caller of the method.
v

Type: NcmVector

The function at $x$ or NULL if no point was not found.

The argument will be set by the function.
The returned data is owned by the instance.

Return value

Type: gboolean

Whether a point $x$ was found.