Compute Library
 21.05
NEMath.h File Reference
#include <arm_neon.h>
#include <array>
#include "src/core/NEON/NEMath.inl"

Go to the source code of this file.

Namespaces

 arm_compute
 Copyright (c) 2017-2021 Arm Limited.
 

Functions

float32x4_t vfloorq_f32 (float32x4_t val)
 Calculate floor of a vector. More...
 
float32x4_t vroundq_rte_f32 (float32x4_t val)
 Calculate round value of a vector to nearest with ties to even. More...
 
float32x2_t vinvsqrt_f32 (float32x2_t x)
 Calculate inverse square root. More...
 
float32x4_t vinvsqrtq_f32 (float32x4_t x)
 Calculate inverse square root. More...
 
float32x2_t vinv_f32 (float32x2_t x)
 Calculate reciprocal. More...
 
float32x4_t vinvq_f32 (float32x4_t x)
 Calculate reciprocal. More...
 
float32x4_t vtaylor_polyq_f32 (float32x4_t x, const std::array< float32x4_t, 8 > &coeffs)
 Perform a 7th degree polynomial approximation using Estrin's method. More...
 
float32x4_t vexpq_f32 (float32x4_t x)
 Calculate exponential. More...
 
float32x4_t vlogq_f32 (float32x4_t x)
 Calculate logarithm. More...
 
float32x4_t vtanhq_f32 (float32x4_t val)
 Calculate hyperbolic tangent. More...
 
float32x4_t vpowq_f32 (float32x4_t val, float32x4_t n)
 Calculate n power of a number. More...
 
int32x4_t rounding_divide_by_pow2 (int32x4_t x, int32x4_t exponent)
 Round to the nearest division by a power-of-two using exponent. More...
 
int32x4_t rounding_divide_by_pow2 (int32x4_t x, int exponent)
 Round to the nearest division by a power-of-two using exponent. More...
 
int32_t rounding_divide_by_pow2 (int32_t x, int exponent)
 Round to the nearest division by a power-of-two using exponent. More...
 
float32x4x4_t convert_uint8x16_to_float32x4x4 (const uint8x16_t &in)
 Converts from uint8x16 to float32x4x4_t. More...
 
float32x4x4_t convert_int8x16_to_float32x4x4 (const int8x16_t &in)
 Converts from int8x16 to float32x4x4_t. More...
 
template<typename T >
float32x4x4_t convert_to_float32x4x4 (const T &in)
 Converts to float32x4x4_t from the specified templated 16 elements vectors. More...
 
void convert_float32x4x3_to_uint8x8x3 (const float32x4x3_t &in1, const float32x4x3_t &in2, uint8x8x3_t &out)
 Converts from two float32x4x3_t to just one uint8x8x3_t. More...
 
void convert_float32x4x4_to_uint8x16 (const float32x4x4_t &in, uint8x16_t &out)
 Converts from two float32x4x4_t to just one uint8x16_t. More...
 
void convert_float32x4x4_to_int8x16 (const float32x4x4_t &in, int8x16_t &out)
 Converts from float32x4x4_t to just one int8x16_t. More...
 
template<typename float_vec_type , typename int_vec_type >
int_vec_type convert_float_to_int (const float_vec_type &in)
 Converts from float vector to integer vector. More...
 
template<typename float_vec_type , typename int_vec_type >
float_vec_type convert_int_to_float (const int_vec_type &in)
 Converts from integer vector to float vector. More...
 
float32x4_t vsinq_f32 (float32x4_t val)
 Calculate sine. More...
 
float32x2_t vsin_f32 (float32x2_t val)
 Calculate sine. More...