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