Imported Upstream version 2.1.5
Barak A. Pearlmutter
14 years ago
0 | 0 |
/*----------------------------------------------------------------------------
|
1 | 1 |
ADOL-C -- Automatic Differentiation by Overloading in C++
|
2 | 2 |
File: fo_rev.c
|
3 | |
Revision: $Id: fo_rev.c 91 2010-02-24 07:56:58Z awalther $
|
|
3 |
Revision: $Id: fo_rev.c 98 2010-03-05 12:17:17Z awalther $
|
4 | 4 |
Contents: Contains the routines :
|
5 | 5 |
fos_reverse (first-order-scalar reverse mode) : define _FOS_
|
6 | 6 |
fov_reverse (first-order-vector reverse mode) : define _FOV_
|
|
405 | 405 |
/*--------------------------------------------------------------------------*/
|
406 | 406 |
#else
|
407 | 407 |
#if defined _FOV_ /* FOV */
|
|
408 |
rpp_A = (revreal**)malloc(ADOLC_CURRENT_TAPE_INFOS.stats[NUM_MAX_LIVES] *
|
|
409 |
sizeof(revreal*));
|
|
410 |
if (rpp_A == NULL) fail(ADOLC_MALLOC_FAILED);
|
408 | 411 |
Aqo = (revreal*)malloc(ADOLC_CURRENT_TAPE_INFOS.stats[NUM_MAX_LIVES] * p *
|
409 | 412 |
sizeof(revreal));
|
410 | 413 |
if (Aqo == NULL) fail(ADOLC_MALLOC_FAILED);
|
0 | 0 |
##############################################################################
|
1 | 1 |
# configure.ac -- Process this file with autoconf to produce configure
|
2 | |
# Revision: $Id: configure.ac 91 2010-02-24 07:56:58Z awalther $
|
|
2 |
# Revision: $Id: configure.ac 98 2010-03-05 12:17:17Z awalther $
|
3 | 3 |
#
|
4 | 4 |
# Copyright (C) Andrea Walther, Andreas Kowarz
|
5 | 5 |
#
|
|
8 | 8 |
##############################################################################
|
9 | 9 |
define([ADOLC_VER], [2])
|
10 | 10 |
define([ADOLC_SUB], [1])
|
11 | |
define([ADOLC_LVL], [3])
|
|
11 |
define([ADOLC_LVL], [5])
|
12 | 12 |
|
13 | 13 |
AC_PREREQ(2.57)
|
14 | 14 |
AC_INIT(adolc,
|
15 | 15 |
ADOLC_VER.ADOLC_SUB.ADOLC_LVL-trunk,
|
16 | 16 |
[adol-c@list.coin-or.org])
|
17 | |
AC_REVISION($Revision: 91 $)
|
|
17 |
AC_REVISION($Revision: 98 $)
|
18 | 18 |
AC_CONFIG_SRCDIR([ADOL-C/src/adolc.h])
|
19 | 19 |
AC_CONFIG_AUX_DIR(autoconf)
|
20 | 20 |
AC_CONFIG_HEADERS([ADOL-C/src/config.h])
|