Skip to content

Function coshsinh

function coshsinh(const T1 &) math

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

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

The result is a SIMD vector whose even lanes hold cosh of the corresponding input lane and whose odd lanes hold sinh of the corresponding input lane. This is the lane-swapped counterpart of sinhcosh.

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

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

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