numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Definition of mathematical functions for variable class. More...
#include <cmath>
#include "num_collect/auto_diff/backward/graph/node.h"
#include "num_collect/auto_diff/backward/variable.h"
Go to the source code of this file.
Namespaces | |
namespace | num_collect |
Namespace of num_collect source codes. | |
namespace | num_collect::auto_diff |
Namespace of automatic differentiation. | |
namespace | num_collect::auto_diff::backward |
Namespace of backward-mode automatic differentiation. | |
namespace | num_collect::auto_diff::backward::impl |
Namespace of internal implementations. | |
Functions | |
template<typename Scalar > | |
auto | num_collect::auto_diff::backward::exp (const variable< Scalar > &x) -> variable< Scalar > |
Calculate exponential. | |
template<typename Scalar > | |
auto | num_collect::auto_diff::backward::log (const variable< Scalar > &x) -> variable< Scalar > |
Calculate logarithm. | |
template<typename Scalar > | |
auto | num_collect::auto_diff::backward::impl::process_one_arg_function (const variable< Scalar > &arg, const Scalar &val, const Scalar &sensitivity) -> variable< Scalar > |
Process a function with one argument. | |
template<typename Scalar > | |
auto | num_collect::auto_diff::backward::sqrt (const variable< Scalar > &x) -> variable< Scalar > |
Calculate square root. | |
Definition of mathematical functions for variable class.
Definition in file variable_math.h.