Prev Next ForAcosOp

Forward Mode Acos Function

Syntax
inline void ForAcosOp(size_t d,
     
Base *zBase *b, const Base *x)

Description
Computes the d order Taylor coefficient for  Z and  B where
     
Z = acos(X)
     
B = \sqrt{ 1 - X * 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 S.

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