/**************************************************** * MathLib_dataProcess.h * * Header file for the mathematic data and routines * * Created by: Zheqiao Geng, gengzq@slac.stanford.edu * Created on: 2011.05.18 * Description: Initial creation ****************************************************/ #ifndef MATHLIB_DATA_PROCESS_H #define MATHLIB_DATA_PROCESS_H #include #include #include #include #ifdef __cplusplus extern "C" { #endif /*====================================== * Constant definitions *======================================*/ /*====================================== * Data models *======================================*/ /*====================================== * Math algorithms *======================================*/ /* Common */ #define MATHLIB_max(a, b) ((a>b)?a:b) #define MATHLIB_min(a, b) ((a