You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output from this function will be a tuple of whatever the input type was. So if the input is a real the output will be a tuple of reals. If the input is complex then this falls back to calculating sin and cos separately and returning a tuple of complex types.
The text was updated successfully, but these errors were encountered:
Neither boost nor Eigen has a sincos function however Julia has a succinct implementation in C at https://github.com/JuliaLang/julia/blob/eabd0212ed974b7128ec77180424090edb4a6d04/base/fastmath.jl#L299. The code is MIT license that is compatible with ours.
A few questions:
The output from this function will be a tuple of whatever the input type was. So if the input is a real the output will be a tuple of reals. If the input is
complex
then this falls back to calculating sin and cos separately and returning a tuple of complex types.The text was updated successfully, but these errors were encountered: