\(\newcommand{\W}[1]{ \; #1 \; }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} }\) \(\newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} }\) \(\newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} }\) \(\newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }\)
atomic_two_example
Example Defining Atomic Functions: Second Generation
Getting Started
that shows the minimal amount of information required to create a user defined atomic operation.
Scalar Function
where the user provides the code for computing derivatives. This example is simple because the domain and range are scalars.
Vector Range
where the user provides the code for computing derivatives. This example is more complex because the range has two components.
Hessian Sparsity Patterns
where the user provides the code for computing Hessian sparsity patterns.
Contents
Name |
Title |
---|---|
atomic_two_eigen_mat_mul.cpp |
|
atomic_two_eigen_mat_inv.cpp |
|
atomic_two_eigen_cholesky.cpp |