Class
NumCosmoMathFunctionCache
Description [src]
final class NumCosmoMath.FunctionCache : GObject.Object
{
/* No available fields */
}
A generic cache for functions values.
A simple cache that saves function values at different argument values. It can be used to find an already computed value or the value of the function closest to an already computed point.
Constructors
ncm_function_cache_new
Creates a new NcmFunctionCache for a n dimensional function.
The points are considered the same within the tolerance
described by abstol and reltol.
Functions
ncm_function_cache_clear
Decrease the reference count of cache by one, and sets the pointer *cache to
NULL.
Instance methods
ncm_function_cache_get_near
Searches the cache and returns the value of the function closest to $x$, $x_c$.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.