Commit Graph

22 Commits

Author SHA1 Message Date
Dino Kovač
6064bc6c06 Use NEON on ARM hardware via sse2neon.h
The autoconf changes were adapted from:
https://github.com/glennrp/libpng/blob/libpng16/configure.ac
2022-06-16 15:49:01 +02:00
Al
ccce4f793f [optimization] for the FTRL and SGD optimizers, use the new *_array_sum_sq function to do L2 regularization, vs. the L2 norm which will use the linear algebra meaning 2018-01-22 01:56:32 -05:00
Al
2883b57eb3 [fix] sqrt in l2 norm 2018-01-22 01:07:52 -05:00
Al
3aab15a0a0 [math] adding mean, variance and standard deviation to generic vector functions 2017-04-02 23:29:15 -04:00
Al
7fe84e6247 [matrix/utils] adding resize_fill_zeros 2017-03-21 01:37:08 -04:00
Al
d43989cf1c [fix] log_sum_exp in SSE mode shouldn't modify the original array 2017-03-15 00:22:17 -04:00
Al
d4a792f33c [math] Adding fast SIMD exponent using the Remez algorithm for vectorized exp 2016-08-06 00:31:16 -04:00
Al
9c4b5ccbb1 [math] Adding array_{op}_times_scalar methods 2016-01-09 01:42:54 -05:00
Al
6a5ad96a17 [math] Adding vector sort and vector argsort to numeric vectors 2016-01-05 14:05:27 -05:00
Al
45b5e2dd6f [fix] array_zero 2015-12-28 01:24:27 -05:00
Al
f5739dd42b [math] Signatures for array_exp and array_log 2015-12-07 18:10:04 -05:00
Al
3fab0f984f [fix] fixing some compiler warnings, using type-specific abs functions for vector_math 2015-09-19 16:11:09 -04:00
Al
3ea6358f77 [fix] vector zeros allocation 2015-09-14 16:50:08 -04:00
Al
c80d8b8067 [parsing] Averaged perceptron model data structure for storing the finalized, averaged, sparse weights 2015-09-08 12:42:54 -07:00
Al
9d2ca08fc2 [utils] Adding _copy and _new_copy methods to vectors (the former copies data to a pre-allocated vector, the latter allocates a new vector) 2015-09-06 21:01:26 -07:00
Al
0ee72b8dfb [math] can only use memset for *_array_new_zeros 2015-08-31 14:44:43 -04:00
Al
789150ae33 [math] Using regular C arrays instead of vectors for vector_math.h 2015-08-30 02:41:31 -04:00
Al
07b0bed602 [math] Only float vectors have *_array_log, *_array_exp, etc. 2015-08-26 17:58:07 -04:00
Al
359a1efb03 [fix] Adding stdint.h include to most of the header files for portability 2015-08-07 02:43:44 -04:00
Al
d7ebcd046e [fix] includes 2015-08-07 01:00:26 -04:00
Al
3a7f18581e [utils] Adding min, max, argmin, argmax and log_sum_exp to generic vector math header 2015-04-12 12:11:04 -04:00
Al
6768936953 [utils] Adding vector_math.h with some inline methods for vector operations (sum, dot product, arithmetic, etc.). Works with kvec dynamic vectors. 2015-03-27 20:57:03 -04:00