Apollo  v5.5.0
Open source self driving car software
Namespaces | Functions
i_basic.h File Reference
#include <cmath>
#include <cstring>
#include "modules/perception/common/i_lib/core/i_constant.h"
Include dependency graph for i_basic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 apollo
 
 apollo::perception
 
 apollo::perception::common
 

Functions

float apollo::perception::common::IAbs (float a)
 
int apollo::perception::common::IAbs (int a)
 
double apollo::perception::common::IAbs (double a)
 
float apollo::perception::common::IDiv (float a, float b)
 
float apollo::perception::common::IDiv (float a, int b)
 
float apollo::perception::common::IDiv (float a, unsigned int b)
 
double apollo::perception::common::IDiv (int a, int b)
 
double apollo::perception::common::IDiv (unsigned int a, unsigned int b)
 
double apollo::perception::common::IDiv (double a, double b)
 
double apollo::perception::common::IDiv (double a, int b)
 
double apollo::perception::common::IDiv (double a, unsigned int b)
 
float apollo::perception::common::IRec (float a)
 
double apollo::perception::common::IRec (int a)
 
double apollo::perception::common::IRec (unsigned int a)
 
double apollo::perception::common::IRec (double a)
 
float apollo::perception::common::ISqrt (float a)
 
double apollo::perception::common::ISqrt (int a)
 
double apollo::perception::common::ISqrt (unsigned int a)
 
double apollo::perception::common::ISqrt (double a)
 
float apollo::perception::common::ICbrt (float a)
 
double apollo::perception::common::ICbrt (int a)
 
double apollo::perception::common::ICbrt (unsigned int a)
 
double apollo::perception::common::ICbrt (double a)
 
float apollo::perception::common::ISqr (float a)
 
int apollo::perception::common::ISqr (int a)
 
unsigned int apollo::perception::common::ISqr (unsigned int a)
 
double apollo::perception::common::ISqr (double a)
 
int apollo::perception::common::ISqr (char a)
 
int apollo::perception::common::ISqr (unsigned char a)
 
float apollo::perception::common::ICub (float a)
 
int apollo::perception::common::ICub (int a)
 
unsigned int apollo::perception::common::ICub (unsigned int a)
 
double apollo::perception::common::ICub (double a)
 
int apollo::perception::common::ICub (char a)
 
int apollo::perception::common::ICub (unsigned char a)
 
float apollo::perception::common::ILog (float x)
 
double apollo::perception::common::ILog (int x)
 
double apollo::perception::common::ILog (unsigned int x)
 
double apollo::perception::common::ILog (double x)
 
float apollo::perception::common::IExp (float x)
 
double apollo::perception::common::IExp (int x)
 
double apollo::perception::common::IExp (unsigned int x)
 
double apollo::perception::common::IExp (double x)
 
float apollo::perception::common::IPow (float a, float b)
 
float apollo::perception::common::IPow (float a, int b)
 
double apollo::perception::common::IPow (int a, int b)
 
double apollo::perception::common::IPow (unsigned int a, unsigned int b)
 
double apollo::perception::common::IPow (double a, double b)
 
double apollo::perception::common::IPow (double a, int b)
 
template<typename T >
apollo::perception::common::IMin (T a, T b)
 
template<typename T >
apollo::perception::common::IMax (T a, T b)
 
template<typename T >
apollo::perception::common::IAverage (T a, T b)
 
template<typename T >
apollo::perception::common::ISign (T a)
 
template<typename T >
apollo::perception::common::ISignNeverZero (T a)
 
int apollo::perception::common::IRound (int a)
 
int apollo::perception::common::IRound (float a)
 
int apollo::perception::common::IRound (double a)
 
int apollo::perception::common::ICeil (int a)
 
int apollo::perception::common::ICeil (float a)
 
int apollo::perception::common::ICeil (double a)
 
float apollo::perception::common::ISin (float alpha)
 
double apollo::perception::common::ISin (double alpha)
 
float apollo::perception::common::ICos (float alpha)
 
double apollo::perception::common::ICos (double alpha)
 
float apollo::perception::common::ITan (float alpha)
 
double apollo::perception::common::ITan (double alpha)
 
float apollo::perception::common::IAsin (float alpha)
 
double apollo::perception::common::IAsin (double alpha)
 
float apollo::perception::common::IAcos (float alpha)
 
double apollo::perception::common::IAcos (double alpha)
 
float apollo::perception::common::IAtan2 (float y, float x)
 
double apollo::perception::common::IAtan2 (double y, double x)
 
float apollo::perception::common::IRadiansToDegree (float r)
 
double apollo::perception::common::IRadiansToDegree (double r)
 
float apollo::perception::common::IDegreeToRadians (float d)
 
double apollo::perception::common::IDegreeToRadians (double d)
 
unsigned int apollo::perception::common::IHamming (unsigned int a, unsigned int b)
 
unsigned int apollo::perception::common::IHammingLut (unsigned int a, unsigned int b)
 
template<typename T >
void apollo::perception::common::ISwap (T &a, T &b)
 
template<typename T >
void apollo::perception::common::ISwap (T *a, T *b, int n)
 
template<typename T >
void apollo::perception::common::ISwap2 (T *a, T *b)
 
template<typename T >
void apollo::perception::common::ISwap3 (T *a, T *b)
 
template<typename T >
void apollo::perception::common::ISwap4 (T *a, T *b)
 
template<typename T >
apollo::perception::common::IInterval (T a, T min_val, T max_val)
 
template<typename T >
apollo::perception::common::IIntervalHalfopen (T a, T min_val, T max_val)
 
template<typename T >
void apollo::perception::common::IMakeReference (T *a, T **p, int m, int n)
 
template<typename T >
void apollo::perception::common::IMakeReference2x2 (T a[4], T *p[2])
 
template<typename T >
void apollo::perception::common::IMakeReference3x3 (T a[9], T *p[3])
 
template<typename T >
void apollo::perception::common::IMakeReference4x4 (T a[16], T *p[4])
 
template<typename T >
void apollo::perception::common::IMakeReference4x9 (T a[36], T *p[4])
 
template<typename T >
void apollo::perception::common::IMakeReference5x9 (T a[45], T *p[5])
 
template<typename T >
void apollo::perception::common::IMakeReference9x9 (T a[81], T *p[9])
 
template<typename T >
void apollo::perception::common::IMakeReference12x12 (T a[144], T *p[12])
 
template<typename T >
void apollo::perception::common::IMakeConstReference (const T *a, const T **p, int m, int n)
 
template<typename T >
void apollo::perception::common::IMakeConstReference2x2 (const T a[4], const T *p[2])
 
template<typename T >
void apollo::perception::common::IMakeConstReference3x3 (const T a[9], const T *p[3])
 
template<typename T >
void apollo::perception::common::IMakeConstReference4x4 (const T a[16], const T *p[4])
 
template<typename T >
void apollo::perception::common::IMakeConstReference4x9 (const T a[36], const T *p[4])
 
template<typename T >
void apollo::perception::common::IMakeConstReference5x9 (const T a[45], const T *p[5])
 
template<typename T >
void apollo::perception::common::IMakeConstReference9x9 (const T a[81], const T *p[9])
 
template<typename T >
void apollo::perception::common::IMakeConstReference12x12 (const T a[144], const T *p[12])
 
template<typename T >
void apollo::perception::common::IMakeReference (T *a, T ***p, int l, int m, int n)
 
template<typename T >
void apollo::perception::common::IRamp (T *a, int n)
 
void apollo::perception::common::IGaussian2D (float *kernel, int n, const float sigma)
 
void apollo::perception::common::IGaussian2D (double *kernel, int n, const double sigma)
 
template<typename T >
void apollo::perception::common::IMove (const T &a, T *b)
 
template<typename T >
bool apollo::perception::common::IWithin1D (const T x, const T start, const T length)
 
template<typename T >
bool apollo::perception::common::IWithin2D (const T p[2], const T x_upper_left, const T y_upper_left, const T width, const T height)
 
template<typename T >
bool apollo::perception::common::IWithin2D (const T x, const T y, const T x_upper_left, const T y_upper_left, const T width, const T height)