atomic_two_example

View page source

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 Eigen Matrix Multiply: Example and Test

atomic_two_eigen_mat_inv.cpp

Atomic Eigen Matrix Inverse: Example and Test

atomic_two_eigen_cholesky.cpp

Atomic Eigen Cholesky Factorization: Example and Test