46 typedef double aa_de_scalar_field_fun(
void *cx,
const struct aa_dvec *x);
48 typedef void aa_de_vector_field_fun(
void *cx,
const struct aa_dvec *x,
struct aa_dvec *y);
#define AA_API
calling and name mangling convention for functions
AA_API void aa_de_jac_fd(aa_de_vector_field_fun *fun, void *cx, const struct aa_dvec *x, double eps, struct aa_dmat *J)
Estimate the Jacobian by finite difference.
AA_API void aa_de_grad_fd(aa_de_scalar_field_fun *fun, void *cx, const struct aa_dvec *x, double eps, struct aa_dvec *y)
Estimate the gradient by finite difference.
Block matrix descriptors and linear algebra operations.
Descriptor for a block matrix.