Al
|
330bd2e158
|
[fix] Windows name
|
2023-08-18 22:37:50 -04:00 |
|
Al
|
e4982b733f
|
[fix] memcpy in aligned vector/matrix resize needs to know the original size. Since this is an internal static function and does not affect client APIs, changing it to aligned_malloc, aligned_free, and aligned_resize, which takes the original pointer size as well as the new. On Windows it simply passes the pointer, new size, and alignment through _aligned_realloc, whereas on other platforms only the aligned_malloc is for new_size bytes and uses old_size bytes for memcpy
|
2023-08-18 13:39:36 -04:00 |
|
Al
|
7bdcf96c9d
|
[memalign] no more realloc on aligned pointers, just do an aligned malloc and copy to it. Slower but safe and this is not called that often in practice, usually to resize larger matrices.
|
2023-07-06 16:01:02 -04:00 |
|
Al
|
25649f2122
|
[utils] new_fixed and resize_fixed in vector.h
|
2017-03-10 19:31:34 -05:00 |
|
Al
|
b6bf8da383
|
[utils] adding aligned malloc/free/realloc in vector.h and matrix.h, fixing bug in matrix_copy
|
2017-03-07 16:25:34 -05:00 |
|
Al
|
b320aed9ac
|
[merge] merging master
|
2017-01-13 19:58:49 -05:00 |
|
Al
|
1398df1260
|
[fix] accept 0 for array_new_size
|
2017-01-13 17:49:31 -05:00 |
|
Al
|
161f18575d
|
[utils] Adding realloc checks to vector implementation
|
2016-08-05 23:02:52 -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
|
dc03c83bb2
|
[math] Adding an aligned memory allocator for vectors to help with vectorization/SIMD
|
2015-12-14 14:56:38 -05:00 |
|
Al
|
671dd4a5d2
|
[parser] Fixing possible invalid writes in training for values beginning with a separator
|
2015-12-11 02:05:05 -05:00 |
|
Al
|
71d6d3c5e1
|
[utils] Removing kvec and using similar implementation with pointers that can be passed around
|
2015-12-10 17:52:23 -05:00 |
|
Al
|
ab205eff96
|
[utils] Adding a default small size to all arrays based on a look at malloc/realloc usage
|
2015-12-09 19:46:09 -05:00 |
|
Al
|
3fd6552b44
|
[fix] void not void * in vector *_copy
|
2015-09-07 23:57:44 -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
|
9b69d1f67a
|
[fix] Removing C++ checks from all but the main API functions
|
2015-08-07 17:15:39 -04:00 |
|
Al
|
d7ebcd046e
|
[fix] includes
|
2015-08-07 01:00:26 -04:00 |
|
Al
|
e9277d7339
|
[utils] vector extend method
|
2015-07-25 01:33:45 -04:00 |
|
Al
|
65624c8985
|
[fix] vector_*_pop returns the element
|
2015-05-16 23:20:28 -04:00 |
|
Al
|
127a61d492
|
[utils] adding pop method on the improved vectors
|
2015-03-27 21:00:03 -04:00 |
|
Al
|
3ed5795cff
|
[fix] fixing some formatting
|
2015-03-03 12:54:27 -05:00 |
|
Al
|
09552906d3
|
[utils] util headers
|
2015-03-03 12:37:32 -05:00 |
|