arm_boolean_distance.c 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /* ----------------------------------------------------------------------
  2. * Project: CMSIS DSP Library
  3. * Title: arm_svm_linear_init_f32.c
  4. * Description: SVM Linear Instance Initialization
  5. *
  6. *
  7. * Target Processor: Cortex-M cores
  8. * -------------------------------------------------------------------- */
  9. /*
  10. * Copyright (C) 2010-2019 ARM Limited or its affiliates. All rights reserved.
  11. *
  12. * SPDX-License-Identifier: Apache-2.0
  13. *
  14. * Licensed under the Apache License, Version 2.0 (the License); you may
  15. * not use this file except in compliance with the License.
  16. * You may obtain a copy of the License at
  17. *
  18. * www.apache.org/licenses/LICENSE-2.0
  19. *
  20. * Unless required by applicable law or agreed to in writing, software
  21. * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  22. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. * See the License for the specific language governing permissions and
  24. * limitations under the License.
  25. */
  26. #include "arm_math.h"
  27. #include <limits.h>
  28. #include <math.h>
  29. #if defined(ARM_MATH_NEON)
  30. #include "NEMath.h"
  31. #endif
  32. #define TT
  33. #define TF
  34. #define FT
  35. #define EXT _TT_TF_FT
  36. #include "arm_boolean_distance_template.h"
  37. #undef TT
  38. #undef FF
  39. #undef TF
  40. #undef FT
  41. #undef EXT
  42. #define TF
  43. #define FT
  44. #define EXT _TF_FT
  45. #include "arm_boolean_distance_template.h"
  46. #undef TT
  47. #undef FF
  48. #undef TF
  49. #undef FT
  50. #undef EXT
  51. #define TT
  52. #define FF
  53. #define TF
  54. #define FT
  55. #define EXT _TT_FF_TF_FT
  56. #include "arm_boolean_distance_template.h"
  57. #undef TT
  58. #undef FF
  59. #undef TF
  60. #undef FT
  61. #undef EXT
  62. #define TT
  63. #define EXT _TT
  64. #include "arm_boolean_distance_template.h"