Method

NumCosmoMathFunctionCacheget

Declaration [src]

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

Description [src]

Looks up $x$ in cache. v is set only when $x$ is cached.

This method is not directly available to language bindings.

Parameters

x_ptr

Type: gdouble*

Pointer to the argument $x$.

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

Type: NcmVector

The function value $f(x)$.

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

Return value

Type: gboolean

Whether $x$ was found.