Alexander Gololobov
|
8ce8158f7f
|
Do computations in Float32 (not Float64) for arrays of Float32
|
2022-07-03 10:33:11 +02:00 |
|
Alexander Gololobov
|
c6691cc5f2
|
Improved vectorized execution of main loop for array norm/distance
|
2022-07-02 22:45:22 +02:00 |
|
Alexander Gololobov
|
b2b31103c5
|
Reuse common code for L2Squared and L2
|
2022-06-30 14:12:25 +02:00 |
|
Julian Gilyadov
|
d0d72e0b5e
|
Implement L2Squared Distance and Norm
|
2022-06-28 15:28:58 -04:00 |
|
Alexander Gololobov
|
9b1b30855c
|
Fixed check for HUGE_VAL
|
2022-05-27 18:25:11 +02:00 |
|
Alexander Gololobov
|
6361c5f38c
|
Fix for failed style check
|
2022-05-27 18:22:16 +02:00 |
|
Alexander Gololobov
|
540353566c
|
Added LpNorm and LpDistance functions for arrays
|
2022-05-27 17:17:08 +02:00 |
|
Alexander Gololobov
|
168b47d0ad
|
Use same norm and distance function names for tuples and arrays
|
2022-05-25 22:39:59 +02:00 |
|
Alexander Gololobov
|
b065839f44
|
always return Float64
|
2022-05-25 22:27:00 +02:00 |
|
Alexander Gololobov
|
5df14cd956
|
Cast arguments to result type to avoid int overflow
|
2022-05-25 22:27:00 +02:00 |
|
Alexander Gololobov
|
caad1435d5
|
Optimized the case when one the argumnets is Const
|
2022-05-24 10:24:50 +02:00 |
|
Alexander Gololobov
|
65fbda436a
|
Do computations on the raw input data without copying to Eigen::Matrix
|
2022-05-24 10:24:50 +02:00 |
|
qieqieplus
|
8b3fb22c6d
|
check array sizes for short cut
|
2022-05-13 17:05:18 +08:00 |
|
Alexander Gololobov
|
7c226f6067
|
Fixed special case condition
|
2022-05-12 14:32:47 +02:00 |
|
Alexander Gololobov
|
355c5443a0
|
Trying to fix sanitizer failure
|
2022-05-12 13:50:53 +02:00 |
|
Alexander Gololobov
|
096b4626d6
|
Print more info in mismatching array sizes error message
|
2022-05-11 21:20:33 +02:00 |
|
Alexander Gololobov
|
3533cd770d
|
Reserve result arrays
|
2022-05-11 14:46:06 +02:00 |
|
qieqieplus
|
5f9eee976f
|
fix & format
|
2022-05-11 16:14:43 +08:00 |
|
qieqieplus
|
a17da05bda
|
use return type as matrix value type
|
2022-05-09 14:42:02 +08:00 |
|
qieqieplus
|
c4b5c45740
|
refactor & add tests
|
2022-04-19 14:39:40 +08:00 |
|
qieqieplus
|
91bc253f86
|
impl distance functions for array
|
2022-03-22 18:19:12 +08:00 |
|