efstruc.spad line 752 [edit on github]
This package provides transformations from trigonometric functions to exponentials and logarithms, and back. F
and FG
should be the same type of function space.
trigs2explogs(f, [k1, ..., kn])
rewrites all the trigonometric functions appearing in f
in terms of complex logarithms and exponentials. A kernel of the form tan(u)
is expressed using exp(u)^2
if it is one of the
, in terms of ki
'sexp(2*u)
otherwise.