32 Commits
Author SHA1 Message Date
Patrick Pelissier 2e564088b0 Simplify the inclusion of headers. 2017-09-16 10:14:45 +02:00
Patrick Pelissier 52f4f35e64 Simplification 2017-09-11 23:24:19 +02:00
Patrick Pelissier ccaf183940 Fix prototypes of new functions. 2017-08-16 23:44:38 +02:00
Patrick Pelissier 099cbab9cf Add new algo _intersect. 2017-08-14 20:34:58 +02:00
Patrick Pelissier 9ff0831430 WIP for union 2017-08-14 20:22:50 +02:00
Patrick Pelissier dfa328a597 Update prototype of reduce callbacks. 2017-07-15 20:45:24 +02:00
Patrick Pelissier dfc05266c4 Update comment. 2017-07-15 19:41:46 +02:00
Patrick Pelissier 99df2a9a67 Reformat & add const to functions as iterator now accept const container. 2017-07-15 19:36:15 +02:00
Patrick Pelissier 9b13a0e925 Remove TODO 2017-07-11 22:30:28 +02:00
Patrick Pelissier 4f7755bc95 Add method _uniq for algo 2017-05-22 19:26:06 +02:00
Patrick Pelissier f14e5222ad Add _sort_p algorithm 2017-05-22 18:22:11 +02:00
Patrick Pelissier 856fd4fd78 Add specialisation of _find_last if the container has the IT_PREVIOUS & IT_LAST operators. 2017-05-11 00:18:26 +02:00
Patrick Pelissier 1925c90812 Optimize _map_reduce. 2017-05-03 00:57:05 +02:00
Patrick Pelissier 5304958860 Add TODO / improve comments. 2017-05-03 00:51:59 +02:00
Patrick Pelissier 75db40a4ff Fix prototype of _reduce : dest may not be an array. It is therefore
needed to pass a pointer.

Add _map_reduce method.
2017-04-26 23:46:49 +02:00
Patrick Pelissier d092416729 Add reference 2017-04-03 21:18:03 +02:00
Patrick Pelissier 8acf76c692 Update comments 2017-03-27 14:27:01 +02:00
Patrick Pelissier 00b9ee045c Add it_set, it_from & it_to_p operators. 2017-03-21 23:16:51 +01:00
Patrick Pelissier 866e76d316 Add some comments. 2017-03-19 23:31:43 +01:00
Patrick Pelissier 3bd0744333 Add ALGO_INIT_VA macro. 2017-03-19 19:46:09 +01:00
Patrick Pelissier 34a1b4533b Write find_last algo. 2017-03-13 10:33:39 +01:00
Patrick Pelissier 03eaceaf35 Add generic add, mul, sub & div over containers. 2017-03-04 23:51:00 +01:00
Patrick Pelissier 838ac00eb7 Clean up previous commit formatting and comments 2017-03-04 19:12:37 +01:00
Patrick Pelissier 9ce1c69753 Add special (and frequent !) handler for functions add, sum, and and or
for the reduction macro.
2017-03-04 19:10:56 +01:00
Patrick Pelissier dee40608d7 Fix bug in previous commit 2017-03-04 18:59:33 +01:00
Patrick Pelissier b600eac636 Add function algo_reduce 2017-03-04 18:58:52 +01:00
Patrick Pelissier 85596c1a7a Add ALGO_REDUCE macro 2017-03-03 21:30:38 +01:00
Patrick Pelissier b8ade14540 Add ALGO_EXTRACT 2017-02-23 23:07:52 +01:00
Patrick Pelissier 0c22a620b9 Add test for ALGO_MAP
Fix issue with ALGO_MAP.
2017-02-21 20:58:56 +01:00
Patrick Pelissier 4d019ca1f2 Update library name in headers. 2017-02-20 21:29:21 +01:00
Patrick Pelissier cb433aa2a8 Rename macros:
* CAT* --> M_C*
2017-02-19 00:36:42 +01:00
Patrick Pelissier 8e9d20ba1a Add initial stuff 2017-02-18 18:51:04 +01:00