MATHLIB User Guide
MATHLIB_acos

Introduction

Kernel for computing elementwise arc-cosine of an input vector. Supports float datatype.

Functions

template<typename T >
MATHLIB_STATUS MATHLIB_acos (size_t length, T *pSrc, T *pDst)
 Performs the elementwise arc-cosine of an input vector. Function can be overloaded with float pointers, and the appropriate precision is employed to compute elementwise arc-cosine of a vector. More...
 
MATHLIB_STATUS MATHLIB_acos_sp (size_t length, float *pSrc, float *pDst)
 This function is the C interface for MATHLIB_acos. Function accepts float pointers. More...
 

Function Documentation

◆ MATHLIB_acos()

template<typename T >
MATHLIB_STATUS MATHLIB_acos ( size_t  length,
T *  pSrc,
T *  pDst 
)

Performs the elementwise arc-cosine of an input vector. Function can be overloaded with float pointers, and the appropriate precision is employed to compute elementwise arc-cosine of a vector.

Template Parameters
T: implementation datatype
Parameters
[in]length: length of input vector
[in]pSrc: pointer to buffer holding input vector
[out]pDst: pointer to buffer holding result vector
Returns
Status of success
Remarks
None

Definition at line 148 of file MATHLIB_acos.cpp.

◆ MATHLIB_acos_sp()

MATHLIB_STATUS MATHLIB_acos_sp ( size_t  length,
float *  pSrc,
float *  pDst 
)

This function is the C interface for MATHLIB_acos. Function accepts float pointers.

Template Parameters
T: implementation datatype
Parameters
[in]length: length of input vector
[in]pSrc: pointer to buffer holding input vector
[out]pDst: pointer to buffer holding result vector
Returns
Status of success
Remarks
None

Definition at line 274 of file MATHLIB_acos.cpp.