external_function_interface

Functions

void external_function_param_generic_create(external_function_param_generic *fun, int np)
void external_function_param_generic_free(external_function_param_generic *fun)
void external_function_casadi_create(external_function_casadi *fun)
void external_function_casadi_create_array(int size, external_function_casadi *funs)
void external_function_casadi_free(external_function_casadi *fun)
void external_function_casadi_free_array(int size, external_function_casadi *funs)
void external_function_param_casadi_create(external_function_param_casadi *fun, int np)
void external_function_param_casadi_create_array(int size, external_function_param_casadi *funs, int np)
void external_function_param_casadi_free(external_function_param_casadi *fun)
void external_function_param_casadi_free_array(int size, external_function_param_casadi *funs)

Functions

void external_function_param_generic_create(external_function_param_generic *fun, int np)
void external_function_param_generic_free(external_function_param_generic *fun)
void external_function_casadi_create(external_function_casadi *fun)
void external_function_casadi_free(external_function_casadi *fun)
void external_function_casadi_create_array(int size, external_function_casadi *funs)
void external_function_casadi_free_array(int size, external_function_casadi *funs)
void external_function_param_casadi_create(external_function_param_casadi *fun, int np)
void external_function_param_casadi_free(external_function_param_casadi *fun)
void external_function_param_casadi_create_array(int size, external_function_param_casadi *funs, int np)
void external_function_param_casadi_free_array(int size, external_function_param_casadi *funs)

Enums

enum ext_fun_arg_t

Values:

COLMAJ
BLASFEO_DMAT
BLASFEO_DVEC
COLMAJ_ARGS
BLASFEO_DMAT_ARGS
BLASFEO_DVEC_ARGS
IGNORE_ARGUMENT

Functions

int external_function_param_generic_struct_size()
void external_function_param_generic_set_fun(external_function_param_generic *fun, void *value)
int external_function_param_generic_calculate_size(external_function_param_generic *fun, int np)
void external_function_param_generic_assign(external_function_param_generic *fun, void *mem)
void external_function_param_generic_wrapper(void *self, ext_fun_arg_t *type_in, void **in, ext_fun_arg_t *type_out, void **out)
void external_function_param_generic_get_nparam(void *self, int *np)
void external_function_param_generic_set_param(void *self, double *p)
int external_function_casadi_struct_size()
void external_function_casadi_set_fun(external_function_casadi *fun, void *value)
void external_function_casadi_set_work(external_function_casadi *fun, void *value)
void external_function_casadi_set_sparsity_in(external_function_casadi *fun, void *value)
void external_function_casadi_set_sparsity_out(external_function_casadi *fun, void *value)
void external_function_casadi_set_n_in(external_function_casadi *fun, void *value)
void external_function_casadi_set_n_out(external_function_casadi *fun, void *value)
int external_function_casadi_calculate_size(external_function_casadi *fun)
void external_function_casadi_assign(external_function_casadi *fun, void *mem)
void external_function_casadi_wrapper(void *self, ext_fun_arg_t *type_in, void **in, ext_fun_arg_t *type_out, void **out)
int external_function_param_casadi_struct_size()
void external_function_param_casadi_set_fun(external_function_param_casadi *fun, void *value)
void external_function_param_casadi_set_work(external_function_param_casadi *fun, void *value)
void external_function_param_casadi_set_sparsity_in(external_function_param_casadi *fun, void *value)
void external_function_param_casadi_set_sparsity_out(external_function_param_casadi *fun, void *value)
void external_function_param_casadi_set_n_in(external_function_param_casadi *fun, void *value)
void external_function_param_casadi_set_n_out(external_function_param_casadi *fun, void *value)
int external_function_param_casadi_calculate_size(external_function_param_casadi *fun, int np)
void external_function_param_casadi_assign(external_function_param_casadi *fun, void *mem)
void external_function_param_casadi_wrapper(void *self, ext_fun_arg_t *type_in, void **in, ext_fun_arg_t *type_out, void **out)
void external_function_param_casadi_get_nparam(void *self, int *np)
void external_function_param_casadi_set_param(void *self, double *p)
struct colmaj_args
#include <external_function_generic.h>

Public Members

double *A
int lda
struct blasfeo_dmat_args
#include <external_function_generic.h>

Public Members

struct blasfeo_dmat *A
int ai
int aj
struct blasfeo_dvec_args
#include <external_function_generic.h>

Public Members

struct blasfeo_dvec *x
int xi
struct external_function_generic
#include <external_function_generic.h>

Public Members

void (*evaluate)(void *, ext_fun_arg_t *, void **, ext_fun_arg_t *, void **)
struct external_function_param_generic
#include <external_function_generic.h>

Public Members

void (*evaluate)(void *, ext_fun_arg_t *, void **, ext_fun_arg_t *, void **)
void (*get_nparam)(void *, int *)
void (*set_param)(void *, double *)
void *ptr_ext_mem
int (*fun)(void **, void **, void *)
double *p
int np
struct external_function_casadi
#include <external_function_generic.h>

Public Members

void (*evaluate)(void *, ext_fun_arg_t *, void **, ext_fun_arg_t *, void **)
void *ptr_ext_mem
int (*casadi_fun)(const double **, double **, int *, double *, void *)
int (*casadi_work)(int *, int *, int *, int *)
const int *(*casadi_sparsity_in)(int)
const int *(*casadi_sparsity_out)(int)
int (*casadi_n_in)()
int (*casadi_n_out)()
double **args
double **res
double *w
int *iw
int *args_size
int *res_size
int args_num
int args_size_tot
int res_num
int res_size_tot
int in_num
int out_num
int iw_size
int w_size
struct external_function_param_casadi
#include <external_function_generic.h>

Public Members

void (*evaluate)(void *, ext_fun_arg_t *, void **, ext_fun_arg_t *, void **)
void (*get_nparam)(void *, int *)
void (*set_param)(void *, double *)
void *ptr_ext_mem
int (*casadi_fun)(const double **, double **, int *, double *, void *)
int (*casadi_work)(int *, int *, int *, int *)
const int *(*casadi_sparsity_in)(int)
const int *(*casadi_sparsity_out)(int)
int (*casadi_n_in)()
int (*casadi_n_out)()
double **args
double **res
double *w
double *p
int *iw
int *args_size
int *res_size
int args_num
int args_size_tot
int res_num
int res_size_tot
int in_num
int out_num
int iw_size
int w_size
int np