Commit Graph

58 Commits

Author SHA1 Message Date
Elias Kohout
fd8a3d53e1 Added README.md to the README 2023-09-08 13:00:20 +02:00
Elias Kohout
73e1336ea3 Created README.md 2023-09-08 12:58:58 +02:00
bceeb5d096 Added set function for iterators. 2023-09-07 21:26:45 +02:00
66e31e19cb Changed array equals function definition. 2023-09-07 19:42:32 +02:00
6f320f593c Added function for array comparison. Fixed mistake in Makefile. 2023-09-07 19:39:35 +02:00
f942ef25c2 Merge branch 'main' of https://github.com/eliaskohout/ctensor 2023-09-07 14:49:06 +02:00
f21b8562cc Added tests for element wise mul and div functions. Fixed memory leak in tests. 2023-09-07 14:48:12 +02:00
7fa38be6a3 Added element wise division. 2023-09-07 14:13:12 +02:00
Elias Kohout
56f9a8261e Create LICENSE 2023-09-07 13:55:03 +02:00
3a4ecebcfa Fixed memory leak. 2023-09-07 13:48:56 +02:00
0af2024991 Added element wise multiplication. Refined comments. 2023-09-07 13:45:04 +02:00
526deb402e Renamed the index_offsets array to stride. Performance improvements when creating the stride array. 2023-09-07 11:54:55 +02:00
685119e839 Fixed bug with map functions. 2023-09-05 21:01:41 +02:00
88b11023bc Added test for map functions. 2023-09-05 21:01:18 +02:00
4e274978de Added tests for the tensor iterator. 2023-09-05 13:35:07 +02:00
8c2906765f Added more tests. 2023-09-04 16:41:07 +02:00
3543700b01 Restructured and renamed some tests. 2023-09-03 13:52:45 +02:00
f052fd8a94 Implemented more tests. 2023-09-03 13:40:19 +02:00
545a3b6c75 Added more tests 2023-09-03 13:02:55 +02:00
5a4946c744 Put dtype definition in separate file. 2023-09-03 10:12:41 +02:00
42546feae1 Added more comments. 2023-09-03 10:06:46 +02:00
427c75f1a6 Added comments 2023-09-03 09:45:20 +02:00
7d96a0f7f1 Added stdbool.h 2023-05-08 17:06:49 +02:00
53710f8b31 Removed function header that was not implemented 2023-05-07 17:21:42 +02:00
113220f484 Removed useless includes. 2023-05-07 17:18:04 +02:00
1513222f12 Removed scalar operations on tensors because they can be done with iterators. 2023-05-07 17:05:31 +02:00
3a8b9d20ab Updated 2023-05-07 16:59:55 +02:00
68df541c67 Updated makefile 2023-05-07 16:59:12 +02:00
19c644f450 Added iterators over scalars of tensors 2023-05-07 16:58:49 +02:00
78623d2e9d Changed int type to uint_8/uint_32 2023-05-07 14:38:41 +02:00
c251786cd4 Fixed warning 2023-05-07 13:32:20 +02:00
836e113d32 Changed dimension naming to rank 2023-05-07 13:31:04 +02:00
5a86badd43 Updated Makefile 2023-05-07 13:29:54 +02:00
fa172de1eb Added tensor_add/tensor_sub functions. 2023-04-11 20:55:16 +02:00
721ac75389 Changed implementation of scalar operations to use map. 2023-04-11 20:39:14 +02:00
f7b8589b87 Renaming of tensor_for_each_element and tensor_add/_sub. 2023-04-11 20:04:23 +02:00
7fa02795a3 Added custom data types and modified print function vor higher ranks. 2023-04-11 17:51:01 +02:00
0ef0eeb047 Added tensor subtraction. 2023-03-18 20:58:02 +01:00
52d240fa98 Added scalar math fuctions. 2023-03-18 20:52:26 +01:00
b3490d36bf Added gitignore. 2023-03-15 16:24:40 +01:00
30915027d6 Removed files for the restructuring. 2023-03-15 16:22:52 +01:00
2202885547 Merge branch 'main' of https://github.com/eliaskohout/ctensor 2023-03-15 16:20:57 +01:00
b49d809361 Added makefile. 2023-03-15 16:20:17 +01:00
0330796a5a Added makefile. 2023-03-15 16:15:50 +01:00
1749dc41ac Restuctured the project. 2023-03-15 16:13:37 +01:00
744da6316c Removed obsolete macro. 2023-03-15 15:54:02 +01:00
3fb0eb2ae3 Added unit tests. 2023-03-15 15:49:35 +01:00
91d25e5d54 Added assertions, added index_offset array to improve performance when indexing, rewritten set_size 2023-03-13 15:45:30 +01:00
0b7ba4fa52 Fixed major bug when indexing elements. 2023-03-12 21:29:10 +01:00
35b866f1c9 tensor_is_equal and tensor_cpy added. 2023-03-12 20:29:55 +01:00