Skip to content

Function sinhcosh

function sinhcosh(const T1 &) math

template <numeric T1>
KFR_FUNCTION flt_type<T1> sinhcosh(const T1& x)

Computes sinh and cosh of x in a single pass and interleaves the results.

The result is a SIMD vector whose even lanes hold sinh of the corresponding input lane and whose odd lanes hold cosh of the corresponding input lane. Useful for SIMD-friendly evaluation of sinh/cosh pairs.

Parameters
x Input value or SIMD vector of values.
Returns
Vector with sinh at even lanes and cosh at odd lanes, of the floating-point type derived from the input.

Fully qualified name: kfr::sinhcosh(const T1 &)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.