Skip to content

Code examples for automatic differentiation with TinyAD

License

Notifications You must be signed in to change notification settings

EricVein827/TinyAD-Examples

 
 

Repository files navigation

TinyAD-Examples

This repository contains code examples for automatic differentiation with TinyAD. Please see the README in the main TinyAD repository for an overview.

These examples have been tested on Linux and require:

  • A C++17 compiler
  • CMake >= 3.9 (e.g. sudo apt-get install cmake)
  • GLFW build dependencies (e.g. sudo apt-get build-dep glfw3)
  • OpenGL >= 4.5 (e.g. sudo apt-get install libgl1-mesa-dev mesa-utils)

Build the examples via:

git clone --recursive https://github.com/EricVein827/TinyAD-Examples.git
cd TinyAD-Examples
mkdir build
cd build
cmake ..
make 

Note that this repository comes with quite a few dependencies as submodules. However, TinyAD itself is a lightweight header-only library that only depends on Eigen and has been tested on Linux, Windows, and Mac.

substitute the read_raw_field.h to the one in libs\Directional\include\directional

About

Code examples for automatic differentiation with TinyAD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.7%
  • CMake 2.0%
  • Shell 0.3%