Function treeweave_eval

Function Documentation

void treeweave_eval(treeweave_t f, const double *x, double *y)

Evaluate a single point.

Parameters:
  • f – Handle from treeweave_fit() (NULL-safe: no-op).

  • x – Input coordinates, input_dim elements (must not be NULL).

  • y – Output buffer, output_dim elements (must not be NULL). Out-of-domain inputs yield NaN.