Prev | Next | RevSinCos |
inline void Rev
TypeSinCos(size_t
d,
const
Base *
s, const
Base *
c, const
Base *
x,
Base *
ps,
Base *
pc,
Base *
px)
G(s, c, x)
and we wish to compute the partial derivatives for
the function
\[
H(x) = G [ S(x) , C(x) , x ]
\]
where
S(x)
and
C(x)
are defined as the
d-th order Taylor coefficient matrix for sine and cosine
as a function of the corresponding matrix for X; i.e.,
Type |
S
|
C
|
Trig
|
\sin [ X(t) ]
|
\cos [ X(t) ]
|
Hyp
|
\sinh[ X(t) ]
|
\cosh [ X(t) ]
|
C
have
been used both the original
functions and for the corresponding mapping of Taylor coefficients.
d+1
and contains the
d-th order Taylor coefficient matrix for X.
d+1
and contains
d-th order Taylor coefficient matrix for S.
d+1
and contains
d-th order Taylor coefficient matrix for C.
d+1
and
px[
j]
contains the partial for G
with respect to the j-th order Taylor coefficient for X.
d+1
and
ps[
j]
contains the partial for G
with respect to the j-th order Taylor coefficient for S.
d+1
and
pc[
j]
contains the partial for G
with respect to the j-th order Taylor coefficient for C.
d+1
and
px[
j]
contains the partial for H
with respect to the j-th order Taylor coefficient for X.
d+1
and
its contents are no longer specified; i.e., it has
been used for work space.
d+1
and
its contents are no longer specified; i.e., it has
been used for work space.