Prev Next ForAbsOp

Forward Mode Absolute Value Function

Syntax
inline void ForAbsOp(size_t d,
     
Base *z, const Base *x)

Description
Computes the d order Taylor coefficient for  Z where
     
Z = Abs(X)

x
The vector x has length  d+1 and contains the d-th order Taylor coefficient row vector for X.

z
The vector z has length  d+1 . On input it contains the d-1-th order Taylor coefficient row vector for Z. On output it contains the d-th order Taylor coefficient row vector for Z; i.e., z[d] is set equal to the d-th Taylor coefficient for the function Z.
Input File: cppad/local/abs_op.hpp