1#ifndef ADOLC_SPARSE_DRIVERS_C_H
2#define ADOLC_SPARSE_DRIVERS_C_H
36int sparse_jac(
short tag,
int m,
int n,
int repeat,
const double *x,
int *nnz,
37 unsigned int **rind,
unsigned int **cind,
double **values,
61int sparse_hess(
short tag,
int n,
int repeat,
const double *x,
int *nnz,
62 unsigned int **rind,
unsigned int **cind,
double **values,
81int jac_pat(
short tag,
int m,
int n,
const double *x,
unsigned int **JP,
98int hess_pat(
short tag,
int n,
const double *x,
unsigned int **HP,
int *option);
void generate_seed_jac(int m, int n, unsigned int **JP, double ***S, int *p, int *options)
Generate a ColPack seed matrix for compressed Jacobian recovery.
int hess_pat(short tag, int n, const double *x, unsigned int **HP, int *option)
Compute a scalar function's Hessian sparsity pattern.
void generate_seed_hess(int n, unsigned int **HP, double ***S, int *p, int *options)
Generate a ColPack seed matrix for compressed Hessian recovery.
int sparse_jac(short tag, int m, int n, int repeat, const double *x, int *nnz, unsigned int **rind, unsigned int **cind, double **values, int *options)
Compute and recover a sparse Jacobian using ColPack.
int sparse_hess(short tag, int n, int repeat, const double *x, int *nnz, unsigned int **rind, unsigned int **cind, double **values, int *options)
Compute and recover a sparse Hessian using ColPack.
int jac_pat(short tag, int m, int n, const double *x, unsigned int **JP, int *options)
Compute a Jacobian sparsity pattern.