CppAD: A C++ Algorithmic Differentiation Package  20130102
sqrt_op.hpp File Reference

Forward and reverse mode calculations for z = sqrt(x). More...

Go to the source code of this file.

Functions

template<class Base >
void forward_sqrt_op (size_t j, size_t i_z, size_t i_x, size_t nc_taylor, Base *taylor)
 Compute forward mode Taylor coefficient for result of op = SqrtOp.
template<class Base >
void forward_sqrt_op_0 (size_t i_z, size_t i_x, size_t nc_taylor, Base *taylor)
 Compute zero order forward mode Taylor coefficient for result of op = SqrtOp.
template<class Base >
void reverse_sqrt_op (size_t d, size_t i_z, size_t i_x, size_t nc_taylor, const Base *taylor, size_t nc_partial, Base *partial)
 Compute reverse mode partial derivatives for result of op = SqrtOp.

Detailed Description

Forward and reverse mode calculations for z = sqrt(x).

Definition in file sqrt_op.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines