BayesOpt
|
Helper functions to Matlab/Octave wrappers. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <mex.h>
#include "bayesopt/bayesopt.h"
Go to the source code of this file.
Classes | |
struct | user_function_data |
Macros | |
#define | FLEN 128 /* max length of user function name */ |
#define | MAXRHS 2 /* max nrhs for user function */ |
#define | CHECK0(cond, msg) if (!(cond)) mexErrMsgTxt(msg); |
Functions | |
static void | struct_value (const mxArray *s, const char *name, double *result) |
static void | struct_array (const mxArray *s, const char *name, size_t *n, double *result) |
static void | struct_size (const mxArray *s, const char *name, size_t *result) |
static void | struct_int (const mxArray *s, const char *name, int *result) |
static void | struct_string (const mxArray *s, const char *name, char *result) |
static double | user_function (unsigned n, const double *x, double *gradient, void *d_) |
static bopt_params | load_parameters (const mxArray *params) |
Helper functions to Matlab/Octave wrappers.
Definition in file bayesoptextras.h.