.. default-domain:: chpl .. module:: SLEEF SLEEF ===== **Usage** .. code-block:: chapel use SLEEF; or .. code-block:: chapel import SLEEF; .. data:: config param useSLEEF = false .. data:: config param SLEEF_INSTALL = "../third-party/sleef/sleef-install" .. function:: proc doSimpleOp(type impl, param name: string, x: impl.vecType): impl.vecType .. record:: sleef .. method:: proc type sin(type e, param n: int, x: vectorType(e, n)): x.type .. method:: proc type cos(type e, param n: int, x: vectorType(e, n)): x.type .. method:: proc type tan(type e, param n: int, x: vectorType(e, n)): x.type .. method:: proc type asin(type e, param n: int, x: vectorType(e, n)): x.type .. method:: proc type acos(type e, param n: int, x: vectorType(e, n)): x.type .. method:: proc type atan(type e, param n: int, x: vectorType(e, n)): x.type