Commit Graph

18 Commits

Author SHA1 Message Date
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
7d22af5e85 Minor bug fixes. 2023-03-09 18:24:17 +01:00
dbf11ef652 Added tensor addition. 2023-02-27 14:45:21 +01:00
3cb2f272eb Removed identity function because ist is incorrect. 2023-02-24 21:04:26 +01:00
be2db961a9 Added init function for identity tensor. 2023-02-24 20:53:00 +01:00
86d53a33b2 Major bugs fixed. 2023-02-24 20:16:28 +01:00
30c459f24f Added max argument to init_rand function. 2023-02-24 19:20:09 +01:00
fdfe67d83e Added const keyword to functions, when possible. 2023-02-24 19:17:31 +01:00
7cce34a3e1 Init, Implementation of Create, Destroy, Init and basic get and set functions. 2023-02-24 19:10:32 +01:00