Function treeweave_batch

Function Documentation

void treeweave_batch(treeweave_t f, const double *x, double *res, size_t n)

Evaluate n points, array-of-structs layout.

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

  • x – n * input_dim packed coordinates.

  • res – n * output_dim packed results.

  • n – Number of points.