Go to the documentation of this file.00001
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef VL_MATHOP_AVX_H_INSTANTIATING
00016
00017 #ifndef VL_MATHOP_AVX_H
00018 #define VL_MATHOP_AVX_H
00019
00020 #undef FLT
00021 #define FLT VL_TYPE_DOUBLE
00022 #define VL_MATHOP_AVX_H_INSTANTIATING
00023 #include "mathop_avx.h"
00024
00025 #undef FLT
00026 #define FLT VL_TYPE_FLOAT
00027 #define VL_MATHOP_AVX_H_INSTANTIATING
00028 #include "mathop_avx.h"
00029
00030
00031 #endif
00032
00033
00034
00035 #else
00036
00037 #ifndef VL_DISABLE_AVX
00038 #include "generic.h"
00039 #include "float.th"
00040
00041 VL_EXPORT T
00042 VL_XCAT(_vl_distance_mahalanobis_sq_avx_, SFX)
00043 (vl_size dimension, T const * X, T const * MU, T const * S);
00044
00045 VL_EXPORT T
00046 VL_XCAT(_vl_distance_l2_avx_, SFX)
00047 (vl_size dimension, T const * X, T const * Y);
00048
00049 VL_EXPORT void
00050 VL_XCAT(_vl_weighted_sigma_avx_, SFX)
00051 (vl_size dimension, T * S, T const * X, T const * Y, T const W);
00052
00053 VL_EXPORT void
00054 VL_XCAT(_vl_weighted_mean_avx_, SFX)
00055 (vl_size dimension, T * MU, T const * X, T const W);
00056
00057
00058 #endif
00059
00060 #undef VL_MATHOP_AVX_H_INSTANTIATING
00061 #endif