HalleyChebyAD
 All Classes Files Functions Variables Friends
Derivatives.h
1 #ifndef DERIVATIVES_H
2 #define DERIVATIVES_H
3 #include <adolc/adolc.h>
4 //#include "Support.h"
7 {
8  public:
9  Derivatives(int tape_number_in, int dimension);
10  virtual ~Derivatives();
11  int eval_2nd_order(double * x);
12  int eval_3rd_order(double * x, double * direction);
13  void set(const int tape_num_in, int dimension_in){ tape_num = tape_num_in; dimension = dimension_in;}
14  double * Gradient;
15  Graph * HessianGraph;
16  Graph * TensorVectorGraph;
17  protected:
18  private:
19  int tape_num;
20  int dimension;
21  int max_active;
22 };
23 
24 #endif // DERIVATIVES_H
Wraps all derivative information and communicates with ADOL-C.
Definition: Derivatives.h:6