Replies: 4 comments 1 reply
-
I think there is a way to get the same functionality with atomic functions. On second thought, I am going to switch over to see if the idea I have works and can be used with base2ad. It is one of the steps in a process I am working on to simplify the optimizer. There is one problem, in its current form, the way CppAD atomic functions are called, it may increase the size of the tape significantly. But I am also planning to fix that. |
Beta Was this translation helpful? Give feedback.
-
Below is a example that shows how to implement VecAD using atomic functions in a way that works with base2ad It only implements zero order forward mode. The other case you need should not be difficult (since all the routine needs to do is pass thorough taylor coefficients to the proper indices). What I would like to know is if would solve your problem ? If so, we should probably extend it to work with any base type and include all the virtual functions; e.g., as way done with matrix multiply; see |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
While working on VecAD in the new optimizer, I got an idea as to how to simplify and improve the VecAD implementation. This includes an idea as to how to make it work with base2ad. I am not sure that it will work, but I will look into it once I finish the first version of the new optimizer (which I hope will be soon). |
Beta Was this translation helpful? Give feedback.
-
I just wanted to check if there are any plans to address this wish list item of allowing tapes involving VecAD operations to be correctly processed through base2ad? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions