Function

NumCosmoMathFunctionSampleSetFunc

Declaration

void
(* NcmFunctionSampleSetFunc) (
  const gdouble x,
  NcmVector* y,
  gpointer user_data
)

Description [src]

Vector-valued function type $\vec{F}: \mathbb{R} \to \mathbb{R}^n$. The function should evaluate at x and write the result into y.

Parameters

x

Type: const gdouble

Input value.

y

Type: NcmVector

Output vector to be filled.

The data is owned by the caller of the function.
user_data

Type: gpointer

User data.

The argument can be NULL.
The data is owned by the caller of the function.