Class Scine::Utils::AutomaticDifferentiation::First3D

class First3D : public Scine::Utils::AutomaticDifferentiation::FirstBase<Eigen::Vector3d, First3D>

Class representing values in one dimensions and allowing for the automatic calculation of first derivatives.

Public Functions

First3D()

Constructor with no arguments given.

First3D(double v, double d1, double d2, double d3)

Constructor with the value and derivatives given as doubles.

First3D(double v, Eigen::Vector3d d)

Constructor that takes the value as a double, but the derivative as an Eigen::Vector3d.