mathop_avx.h
Go to the documentation of this file.
00001 
00006 /*
00007 Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson.
00008 All rights reserved.
00009 
00010 This file is part of the VLFeat library and is made available under
00011 the terms of the BSD license (see the COPYING file).
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 /* VL_MATHOP_AVX_H */
00031 #endif
00032 
00033 /* ---------------------------------------------------------------- */
00034 /* VL_MATHOP_AVX_H_INSTANTIATING */
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 /* ! VL_DISABLE_AVX */
00058 #endif
00059 
00060 #undef VL_MATHOP_AVX_H_INSTANTIATING
00061 #endif


libvlfeat
Author(s): Andrea Vedaldi
autogenerated on Thu Jun 6 2019 20:25:51