Replies: 2 comments 8 replies
-
Or...are the jacobians and hessians that are returned by clad, done so only containing non-zero entries? They are already sparse? If so, how does one infer the location of the zeros when rebuilding a dense matrix? Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @a-jp, thanks for your question. Currently the way we model jacobians and hessians is without taking into account sparsity. We have an issue which we will tackle soon in that respect #509. Perhaps you could help us understand your usecase by showing a small example? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have not used the library yet, but I'm strongly considering porting my code which uses CppAD to use Clad. With CppAD it is possible to obtain sparsity patterns when computing Jacobian and Hessian matrices - entries which are truly zero. Is this possible with Clad and if so can you point me to any documentation or preferably examples?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions