1 #ifndef GNM_EXPR_DERIV_H_
2 #define GNM_EXPR_DERIV_H_
9 /* ------------------------------------------------------------------------- */
11 typedef struct GnmExprDeriv_ GnmExprDeriv
;
13 GnmExprDeriv
*gnm_expr_deriv_info_new (void);
14 void gnm_expr_deriv_info_free (GnmExprDeriv
*deriv
);
16 void gnm_expr_deriv_info_set_var (GnmExprDeriv
*deriv
, GnmEvalPos
const *var
);
18 /* ------------------------------------------------------------------------- */
20 GnmExprTop
const *gnm_expr_top_deriv (GnmExprTop
const *texpr
,
24 GnmExprTop
const *gnm_expr_cell_deriv (GnmCell
*y
, GnmCell
*x
);
26 gnm_float
gnm_expr_cell_deriv_value (GnmCell
*y
, GnmCell
*x
);
28 /* ------------------------------------------------------------------------- */