Bugfix in fos_an_reverse

some of the jacobian values were accumulating past values

Reported-by: Sabrina Fiege <sfiege@math.upb.de>
Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@442 94ac48a7-3327-4b6a-8511-9a4036a20e83
increase statSpace to make room for a larger stats vector

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@443 94ac48a7-3327-4b6a-8511-9a4036a20e83
One really must calloc the adjoints

Random values at the start do no good to anyone. The strange use of
ADOLC_USE_CALLOC define here was not being invoked because we normally
do define it.

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@444 94ac48a7-3327-4b6a-8511-9a4036a20e83
make sure to overwrite the second output in {a,}{sin,cos}{,h}

in a very small toy example the number of intermediates may
be too small to overwrite the second output of sin/cos and other such
functions before the end of tape. Then this value is never saved onto
the taylor buffer especially if all adoubles allocated by the user are
deleted before calling trace_off() in user code.

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@445 94ac48a7-3327-4b6a-8511-9a4036a20e83
fix build with ADOLC_LOCDEBUG

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@446 94ac48a7-3327-4b6a-8511-9a4036a20e83
Revert "make sure to overwrite the second output in {a,}{sin,cos}{,h}"

This reverts commit fc3c83e63e5275b60a29e5d8fe8c8b085e1d2cad.

we really need to save the final state when we stop tracing. overwriting
is not always guarenteed.

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@447 94ac48a7-3327-4b6a-8511-9a4036a20e83
save all the final adoubles in store when finishing tracing

this is required because any adouble that isn't overwritten does
not save its taylor buffer, and the reverse sweep will give wrong
results if the taylors are wrong. Overwriting of all intermediates
is really not guarenteed.

Normally this problem didn't occur because in most examples the allocated
adouble in user code are deleted after trace_off() but if they are
all deleted before trace_off() the final state of the store will be
lost.

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@448 94ac48a7-3327-4b6a-8511-9a4036a20e83
add missing file to trunk

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@449 94ac48a7-3327-4b6a-8511-9a4036a20e83
extend tensor driver address(..) for unsorted arguments, renaming to tensor_address to avoid conflicts

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@450 94ac48a7-3327-4b6a-8511-9a4036a20e83
regenerate build files

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@451 94ac48a7-3327-4b6a-8511-9a4036a20e83
remove executable

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@452 94ac48a7-3327-4b6a-8511-9a4036a20e83
add more build files to svn so aclocal isn't needed

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@453 94ac48a7-3327-4b6a-8511-9a4036a20e83
disable maintainer-mode on svn files

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@454 94ac48a7-3327-4b6a-8511-9a4036a20e83
regenerate files with maintainer-mode disabled

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@455 94ac48a7-3327-4b6a-8511-9a4036a20e83
add forward mode interfaces for piecewise linearization

new functions fos_an_forward and fov_an_forward to compute
piecewise linearisation in a single or multiple directions

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@456 94ac48a7-3327-4b6a-8511-9a4036a20e83
regenerate files

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@457 94ac48a7-3327-4b6a-8511-9a4036a20e83
fix firstsign to actually do the right thing

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@458 94ac48a7-3327-4b6a-8511-9a4036a20e83
Add missing files

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@459 94ac48a7-3327-4b6a-8511-9a4036a20e83
correct variable name tnum

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@460 94ac48a7-3327-4b6a-8511-9a4036a20e83
make the use of rpl_?alloc consistent everywhere

Signed-off-by: Kshitij Kulshreshtha <kshitij@math.upb.de>

git-svn-id: https://projects.coin-or.org/svn/ADOL-C/trunk@461 94ac48a7-3327-4b6a-8511-9a4036a20e83