BSD Ports

math/clad 1.5 DragonFly

Automatic differentiation for C/C++

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
LGPL3
Categories
math
Package size
334.3 KiB, 1947.1 KiB installed

Description

Clad enables automatic differentiation (AD) for C++. It is based on LLVM compiler infrastructure and is a plugin for Clang compiler. Clad is based on source code transformation. Given C++ source code of a mathematical function, it can automatically generate C++ code for computing derivatives of the function. It supports both forward-mode and reverse-mode AD.Clad has extensive coverage of modern C++ features and a robust fallback and recovery system in place.

In the other systems

SystemPortVersion
DragonFlymath/clad1.5
FreeBSDmath/clad2.4_1

Install

Binary package:

pkg install clad

From DPorts:

cd /usr/dports/math/clad && make install clean

Dependencies

Run dependencies 1

No port depends on this one.