MATHLIB User Guide
SE0, SE1, and SA0 utilities

Introduction

This module consists of utility functions tailored towards SE/SA that are commonly applicable to various MATHLIB kernels.

Functions

template<typename T >
static void MATHLIB_SE0SA01DSequentialInit (__SE_TEMPLATE_v1 *se0Params, __SA_TEMPLATE_v1 *sa0Params, size_t length, T *pSrc, T *pDst)
 
template<typename T >
static void MATHLIB_SE0SA0Open (__SE_TEMPLATE_v1 *se0Params, __SA_TEMPLATE_v1 *sa0Params, T *pSrc)
 This method performs SE0 and SA0 open. More...
 
template<typename T >
static void MATHLIB_SE0SE1SA0Open (__SE_TEMPLATE_v1 *se0Params, __SA_TEMPLATE_v1 *sa0Params, T *pSrc0, T *pSrc1)
 This method performs SE0, SE1, and SA0 open. More...
 
static void MATHLIB_SE0SA0Close ()
 This method performs SE0 and SA0 close. More...
 
static void MATHLIB_SE0SE1SA0Close ()
 This method performs SE0, SE1, and SA0 close. More...
 
template<typename T >
static MATHLIB_STATUS MATHLIB_checkParams (size_t length, T *pSrc, T *pDst)
 This method performs parameter checks for MATHLIB function. More...
 
template<typename T >
static MATHLIB_STATUS MATHLIB_checkParams (size_t length, T *pSrc0, T *pSrc1, T *pDst)
 
static double cmn_DIVDP (double a, double b)
 
static float cmn_DIVSP (float a, float b)
 

Function Documentation

◆ MATHLIB_SE0SA01DSequentialInit()

template<typename T >
static void MATHLIB_SE0SA01DSequentialInit ( __SE_TEMPLATE_v1 *  se0Params,
__SA_TEMPLATE_v1 *  sa0Params,
size_t  length,
T *  pSrc,
T *  pDst 
)
inlinestatic

Definition at line 66 of file MATHLIB_utility.h.

◆ MATHLIB_SE0SA0Open()

template<typename T >
static void MATHLIB_SE0SA0Open ( __SE_TEMPLATE_v1 *  se0Params,
__SA_TEMPLATE_v1 *  sa0Params,
T *  pSrc 
)
inlinestatic

This method performs SE0 and SA0 open.

Template Parameters
T: datatype of implementation
Parameters
[in]*se0Params: pointer to buffer with SE0 params
[in]*sa0Params: pointer to buffer with SA0 params
[in]*pSrc: pointer to buffer with input vector
Remarks
None

Definition at line 117 of file MATHLIB_utility.h.

◆ MATHLIB_SE0SE1SA0Open()

template<typename T >
static void MATHLIB_SE0SE1SA0Open ( __SE_TEMPLATE_v1 *  se0Params,
__SA_TEMPLATE_v1 *  sa0Params,
T *  pSrc0,
T *  pSrc1 
)
inlinestatic

This method performs SE0, SE1, and SA0 open.

Template Parameters
T: datatype of implementation
Parameters
[in]*se0Params: pointer to buffer with SE0 params
[in]*sa0Params: pointer to buffer with SA0 params
[in]*pSrc0: pointer to buffer with input vector 0
[in]*pSrc1: pointer to buffer with input vector 1
Remarks
None

Definition at line 144 of file MATHLIB_utility.h.

◆ MATHLIB_SE0SA0Close()

static void MATHLIB_SE0SA0Close ( )
inlinestatic

This method performs SE0 and SA0 close.

Remarks
None

Definition at line 166 of file MATHLIB_utility.h.

◆ MATHLIB_SE0SE1SA0Close()

static void MATHLIB_SE0SE1SA0Close ( )
inlinestatic

This method performs SE0, SE1, and SA0 close.

Remarks
None

Definition at line 187 of file MATHLIB_utility.h.

◆ MATHLIB_checkParams() [1/2]

template<typename T >
static MATHLIB_STATUS MATHLIB_checkParams ( size_t  length,
T *  pSrc,
T *  pDst 
)
inlinestatic

This method performs parameter checks for MATHLIB function.

Template Parameters
T: datatype of implementation
Parameters
[in]length: length of input vector
[in]*pSrc: pointer to buffer with input vector
[out]*pDst: pointer to buffer with input vector
Remarks
None

Definition at line 214 of file MATHLIB_utility.h.

◆ MATHLIB_checkParams() [2/2]

template<typename T >
static MATHLIB_STATUS MATHLIB_checkParams ( size_t  length,
T *  pSrc0,
T *  pSrc1,
T *  pDst 
)
inlinestatic

Definition at line 230 of file MATHLIB_utility.h.

◆ cmn_DIVDP()

static double cmn_DIVDP ( double  a,
double  b 
)
inlinestatic

Definition at line 250 of file MATHLIB_utility.h.

◆ cmn_DIVSP()

static float cmn_DIVSP ( float  a,
float  b 
)
inlinestatic

Definition at line 262 of file MATHLIB_utility.h.