@@ -82,6 +82,8 @@ that end in `.src`); others use templated C++ functions combined with code
82
82
generation tools that can be found in ` tools/cxxgen ` . The ` .src ` files are
83
83
processed with the script in ` ufunclab/tools/conv_template.py ` .
84
84
85
+ * Functions that reduce a one-dimensional sequence to one or two numbers.*
86
+
85
87
| Function | Description |
86
88
| -------- | ----------- |
87
89
| [ ` first ` ] ( #first ) | First value that matches a target comparison |
@@ -104,20 +106,35 @@ processed with the script in `ufunclab/tools/conv_template.py`.
104
106
| [ ` gini ` ] ( #gini ) | Gini coefficient |
105
107
| [ ` rms ` ] ( #rms ) | Root-mean-square for real and complex inputs |
106
108
| [ ` vnorm ` ] ( #vnorm ) | Vector norm |
109
+
110
+ * Functions that reduce two one-dimensional arrays to a number.*
111
+
112
+ | Function | Description |
113
+ | -------- | ----------- |
107
114
| [ ` vdot ` ] ( #vdot ) | Vector dot product for real floating point arrays |
108
115
| [ ` pearson_corr ` ] ( #pearson_corr ) | Pearson's product-moment correlation coefficient |
109
116
| [ ` wjaccard ` ] ( #wjaccard ) | Weighted Jaccard index. |
110
- | [ ` cross2 ` ] ( #cross2 ) | 2-d vector cross product (returns scalar) |
111
- | [ ` cross3 ` ] ( #cross3 ) | 3-d vector cross product |
112
- | [ ` tri_area ` ] ( #tri_area ) | Area of triangles in n-dimensional space |
113
- | [ ` tri_area_indexed ` ] ( #tri_area_indexed ) | Area of triangles in n-dimensional space |
117
+
118
+ * Functions that transform a one-dimensional array to another one-dimensional array.*
119
+
120
+ | Function | Description |
121
+ | -------- | ----------- |
114
122
| [ ` fillnan1d ` ] ( #fillnan1d ) | Replace ` nan ` using linear interpolation |
115
123
| [ ` linear_interp1d ` ] ( #linear_interp1d ) | Linear interpolation, like ` numpy.interp ` |
116
124
| [ ` backlash ` ] ( #backlash ) | Backlash operator |
117
125
| [ ` hysteresis_relay ` ] ( #hysteresis_relay ) | Relay with hysteresis (Schmitt trigger) |
118
126
| [ ` sosfilter ` ] ( #sosfilter ) | SOS (second order sections) linear filter |
119
127
| [ ` sosfilter_ic ` ] ( #sosfilter_ic ) | SOS linear filter with initial condition |
120
128
| [ ` sosfilter_ic_contig ` ] ( #sosfilter_ic_contig ) | SOS linear filter with contiguous array inputs |
129
+
130
+ * Other functions.*
131
+
132
+ | Function | Description |
133
+ | -------- | ----------- |
134
+ | [ ` cross2 ` ] ( #cross2 ) | 2-d vector cross product (returns scalar) |
135
+ | [ ` cross3 ` ] ( #cross3 ) | 3-d vector cross product |
136
+ | [ ` tri_area ` ] ( #tri_area ) | Area of triangles in n-dimensional space |
137
+ | [ ` tri_area_indexed ` ] ( #tri_area_indexed ) | Area of triangles in n-dimensional space |
121
138
| [ ` multivariate_logbeta ` ] ( #multivariate_logbeta ) | Logarithm of the multivariate beta function |
122
139
123
140
* Other tools*
0 commit comments