ADOL-C: Automatic Differentiation in C/C++ 2.7.3
Loading...
Searching...
No Matches
fixpoint.h
Go to the documentation of this file.
1/*----------------------------------------------------------------------------
2 ADOL-C -- Automatic Differentiation by Overloading in C++
3 File: fixpoint.h
4 Revision: $Id$
5 Contents: all C functions directly accessing at least one of the four tapes
6 (operations, locations, constants, value stack)
7
8 Copyright (c) Andreas Kowarz, Sebastian Schlenkrich
9
10 This file is part of ADOL-C. This software is provided as open source.
11 Any use, reproduction, or distribution of the software constitutes
12 recipient's acceptance of the terms of the accompanying license file.
13
14----------------------------------------------------------------------------*/
15
16#ifndef ADOLC_FIXPOINT_H
17#define ADOLC_FIXPOINT_H
18
19#include <adolc/adolcexport.h>
21
22typedef int (*double_F)(double *, double *, double *, size_t, size_t);
23typedef int (*adouble_F)(adouble *, adouble *, adouble *, size_t, size_t);
24typedef double (*norm_F)(double *, size_t);
25typedef double (*norm_deriv_F)(double *, size_t);
26
27ADOLC_API int fp_iteration(short tapeId, short sub_tape_num, double_F,
28 adouble_F, norm_F, norm_deriv_F, double epsilon,
29 double epsilon_deriv, size_t N_max,
30 size_t N_max_deriv, adouble *x_0, adouble *u,
31 adouble *x_fix, size_t dim_x, size_t dim_u);
32
33#endif // ADOLC_FIXPOINT_H
#define ADOLC_API
Definition adolcexport.h:16
Taped active scalar for reusable forward and reverse differentiation.
Definition adtb_types.h:211
int(* double_F)(double *, double *, double *, size_t, size_t)
Definition fixpoint.h:22
double(* norm_F)(double *, size_t)
Definition fixpoint.h:24
double(* norm_deriv_F)(double *, size_t)
Definition fixpoint.h:25
ADOLC_API int fp_iteration(short tapeId, short sub_tape_num, double_F, adouble_F, norm_F, norm_deriv_F, double epsilon, double epsilon_deriv, size_t N_max, size_t N_max_deriv, adouble *x_0, adouble *u, adouble *x_fix, size_t dim_x, size_t dim_u)
int(* adouble_F)(adouble *, adouble *, adouble *, size_t, size_t)
Definition fixpoint.h:23