Prev Next ForMulvvOp

Forward Mode Multiplication Operator

Syntax
inline void ForMulvvOp(size_t d,
     
Base *z, const Base *x, const Base *y)
inline void ForMulpvOp(size_t d,
     
Base *z, const Base *p, const Base *v)
inline void ForMulvpOp(size_t d,
     
Base *z, const Base *x, const Base *p)

Description
Computes the d order Taylor coefficient for  Z where
Operation Value
Mulvv  Z = X * Y
Mulpv  Z = P * Y
Mulvp  Z = X * P

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

y
The vector y has length  d+1 and contains the d-th order Taylor coefficient row vector for Y. The vector y is not present in the MulL and MulR cases.

p
The scalar *p contains the value of the parameter P.

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/mul_op.hpp