source: trunk/ADOL-C/src/lie/adolc_lie.cpp @ 609

Last change on this file since 609 was 609, checked in by kulshres, 4 years ago

add the new files for the lie driver and example

File size: 1.4 KB
Line 
1/*----------------------------------------------------------------------------
2 ADOL-C -- Automatic Differentiation by Overloading in C++
3 File:     lie/adolc_lie.cpp
4 Revision: $Id$
5 Contents: Implementation of a C++ Wrapper for adolc_lie C-function calls
6 
7
8 Copyright (c) Siquian Wang, Klaus Röbenack, Jan Winkler, Mirko Franke
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#include <adolc/adolc.h>
16#include <adolc/lie/drivers.h>
17
18
19int lie_scalar(short Tape_F, short Tape_H, short n, short m, double* x0,
20               short d, double** result) 
21{
22    return lie_scalarcv(Tape_F, Tape_H, n, m, x0, d, result);
23}
24
25
26int lie_scalar(short Tape_F, short Tape_H, short n, double* x0, short d,
27               double* result) 
28{
29    return lie_scalarc(Tape_F, Tape_H, n, x0, d, result);
30}
31
32
33int lie_gradient(short int Tape_F, short int Tape_H, short int n, short int m, 
34                  double* x0, short int d, double*** result)
35{     
36  return lie_gradientcv(Tape_F, Tape_H, n, m, x0, d, result);
37}
38
39
40int lie_gradient(short int Tape_F, short int Tape_H, short int n, double* x0, 
41                  short int d, double** result)
42{     
43  return lie_gradientc(Tape_F, Tape_H, n, x0, d, result);
44}
Note: See TracBrowser for help on using the repository browser.