[CppAD] Change to VecAD specifications

Brad Bell bradbell at seanet.com
Thu Nov 24 08:19:05 EST 2005


There seems to be some problem with the interaction between the VecAD class
    http://www.coin-or.org/CppAD/Doc/vecad.htm
and optimizing compilers. For example g++ with the -O2 option.

I am considering changing the VecAD class so that the indexing operations
that get recorded on the tape have a different syntax. For example:
    V[index],  might be changed to, V.get(index)
    V[index] = value, might be changed to, V.set(index, value)

Would this cause problems for any of the current users of CppAD ?


More information about the CppAD mailing list