struct gpr_htst_options

Overview

Prefactor options (ABI 1.20). More…

#include <gpr/capi/gpridge_c.h>
 
struct gpr_htst_options {
    // fields
 
    size_t struct_size;
    int enabled;
    int mode;
    int project_translation;
    int project_rotation;
    int max_measured;
    double omega_scale;
    double tolerance;
    double fd_step;
    double variance_step;
};

Detailed Documentation

Prefactor options (ABI 1.20).

Set struct_size to sizeof(gpr_htst_options_t); fields past struct_size take their defaults. NULL means gpr_htst_options_defaults().

Fields

int enabled

1 opts a search in. Struct default 1; searches stay off until gpr_request_prefactor.

int mode

gpr_htst_mode_t. Struct default REFINED. gpr_request_prefactor(NULL) selects SURROGATE.

int project_translation

default 1

int project_rotation

default 1

int max_measured

refined directions at most; 0: all

double omega_scale

default 1 (native units)

double tolerance

ln_sum change and spread; default 1e-3

double fd_step

oracle central-difference step; 1e-3

double variance_step

GP curvature-variance step; 0: 1e-3