Commit graph

854 commits

Author SHA1 Message Date
Christian Zimmermann
a2b936c4da add basic_operations + first corresponding test 2023-02-26 20:15:05 +01:00
Christian Zimmermann
039effb344 add config binary 2023-02-22 02:38:51 +01:00
Christian Zimmermann
229a913bcb move python stuff to separate repo 2023-02-21 19:31:53 +01:00
Christian Zimmermann
9a7daabd24 Merge branch 'dev' of git.f3l.de:chizeta/cnorxz into dev 2023-02-21 16:52:21 +01:00
Christian Zimmermann
b3d1ced728 switch to uuid as range id 2023-02-21 16:52:05 +01:00
Christian Zimmermann
3a7bd9c9e2 fix urange slice() + prange for and pfor expression 2023-01-30 01:13:14 +01:00
Christian Zimmermann
65e7539666 for: replace * by () in position calculation 2023-01-29 23:42:12 +01:00
Christian Zimmermann
792c3bd84e WIP: prange 2023-01-28 18:34:24 +01:00
Christian Zimmermann
f5f66461f7 merge 2023-01-28 02:13:14 +01:00
Christian Zimmermann
32ef2ef921 Merge branch 'dev' of git.f3l.de:chizeta/cnorxz into dev 2023-01-28 02:12:38 +01:00
Christian Zimmermann
62b77921f5 fixes + keep correct ordering in h5 table fields names 2023-01-28 02:05:50 +01:00
Christian Zimmermann
25b5c13608 h5_table: remove mCheckedFile 2023-01-26 19:55:29 +01:00
Christian Zimmermann
2547a450d8 hdf5: type declaration in separate file + some reorgs in table code 2023-01-25 18:31:03 +01:00
Christian Zimmermann
24ea3339f8 hdf5: group/table improvements 2023-01-25 00:30:12 +01:00
Christian Zimmermann
58fa19f514 hdf5: preliminary append (init) table test 2023-01-24 01:39:23 +01:00
Christian Zimmermann
6faaf7ea15 hdf5: include cc.h files + corresp compile fixes 2023-01-24 00:02:32 +01:00
Christian Zimmermann
0db94229bf WIP: more development on h5_table 2023-01-23 19:22:42 +01:00
Christian Zimmermann
59932895e9 add h5_types + class STabel : public Table ( field types known by compile time) 2023-01-22 23:34:30 +01:00
Christian Zimmermann
69a9344790 Merge branch 'restructure-rename' into dev 2023-01-22 15:42:06 +01:00
Christian Zimmermann
1f5843895e h5 table, untested 2023-01-22 15:41:42 +01:00
Christian Zimmermann
07428d1e6d fix install paths 2023-01-20 15:58:52 +01:00
Christian Zimmermann
66d5e5b741 index xpr + h5 table header file 2023-01-20 01:05:24 +01:00
Christian Zimmermann
02174f8371 hdf5: H5Oget_info: distinguish between versions 2023-01-18 19:12:41 +01:00
Christian Zimmermann
835b8e885f various fixes regarding extending ranges/arrays + hdf5 2023-01-18 18:57:17 +01:00
Christian Zimmermann
e6da712482 ranges: extend + array: init + extend + hdf5: adapt 2023-01-18 00:49:11 +01:00
Christian Zimmermann
d72bf23049 further hdf5 test 2023-01-15 03:18:21 +01:00
Christian Zimmermann
e331f6c4e2 first hdf5 test 2023-01-15 01:26:01 +01:00
Christian Zimmermann
b6455049c4 add hdf5 test build files 2023-01-13 15:42:15 +01:00
Christian Zimmermann
5dd114f03f add cmake files for hdf5 part + fix compile errors 2023-01-13 12:26:23 +01:00
Christian Zimmermann
caed6b4469 hdf5: group 2023-01-13 01:40:19 +01:00
Christian Zimmermann
631d187c91 begin hdf5 2023-01-12 19:29:45 +01:00
Christian Zimmermann
e8c8e519dc change operator* for index shared ptrs -> creates index packs instead of m/yindices 2023-01-11 19:02:34 +01:00
Christian Zimmermann
6bd7140ae3 fix pipeline... 2023-01-11 17:36:24 +01:00
Christian Zimmermann
55922490b2 change operator* for indices -> creates index packs instead of m/yindices 2023-01-11 17:32:52 +01:00
Christian Zimmermann
603d03971d replace std integral_constant by corresponding typedef CSizeT 2023-01-04 23:11:51 +01:00
Christian Zimmermann
b74ace2f43 update base/types.h 2023-01-04 23:06:02 +01:00
Christian Zimmermann
8469fa9fb2 yrange: replace index pack type 2023-01-04 11:27:18 +01:00
Christian Zimmermann
346f92f267 yrange: replace blockSizes by yformat 2023-01-04 11:15:51 +01:00
Christian Zimmermann
b1f9a38af7 mindex: replace type of ipack 2023-01-03 21:02:50 +01:00
Christian Zimmermann
8787ec7590 mindex: replace block sizes by format 2023-01-03 18:11:45 +01:00
Christian Zimmermann
53aa87c362 index format 2022-12-31 19:43:06 +01:00
Christian Zimmermann
0980934706 index pack 2022-12-31 15:18:26 +01:00
Christian Zimmermann
1ab0c21667 first array operation test 2022-12-30 13:32:27 +01:00
Christian Zimmermann
a4e32416ad array base: slice + op 2022-12-29 00:35:57 +01:00
Christian Zimmermann
b86ea957ba index format + slice 2022-12-28 21:21:11 +01:00
Christian Zimmermann
16f062b069 im com... 2022-12-21 22:06:17 +01:00
Christian Zimmermann
61cef892f3 ... 2022-12-21 00:06:21 +01:00
Christian Zimmermann
8209f14c71 include lindex 2022-12-20 21:53:59 +01:00
Christian Zimmermann
d25cbda2fc array_base: operator() and op function 2022-12-20 17:21:29 +01:00
Christian Zimmermann
07242a995e minor change 2022-12-20 00:52:23 +01:00
Christian Zimmermann
34c45e3dd9 fix compile errors 2022-12-20 00:07:59 +01:00
Christian Zimmermann
0fbd2d6f5b mrange: zip; todo: for all other index types 2022-12-14 01:48:17 +01:00
Christian Zimmermann
6963dd82cd index utils: index depth/dimension 2022-12-13 19:19:41 +01:00
Christian Zimmermann
79535c496f add get/set block sizes function for gmindex, yindex, xindex and dindex 2022-12-13 00:37:59 +01:00
Christian Zimmermann
f41ada859a im com 2022-12-12 02:15:42 +01:00
Christian Zimmermann
854e1a0533 slices 2022-12-06 19:34:42 +01:00
Christian Zimmermann
9938d43f9c rename darray_base -> carray_base, mdarray_base -> array_base, darray -> marray + rename corresponding files/tests 2022-12-06 14:48:44 +01:00
Christian Zimmermann
9bfb5f4707 dynamic index multiplication 2022-12-05 00:14:00 +01:00
Christian Zimmermann
13467b800a fix cxz error macro (clang) 2022-12-04 21:57:18 +01:00
Christian Zimmermann
b1df3e1307 try to fix pipeline 3 2022-12-04 18:42:35 +01:00
Christian Zimmermann
9fad49a2eb try to fix pipeline 2 2022-12-04 17:49:17 +01:00
Christian Zimmermann
9c2b29ac07 try to fix pipeline 1 2022-12-04 17:42:37 +01:00
Christian Zimmermann
9210f59d39 more tests on index multiplication + corresponding fixes 2022-12-04 17:35:22 +01:00
Christian Zimmermann
38e011c979 first tests on index multiplication 2022-12-04 03:17:29 +01:00
Christian Zimmermann
b2fd81b764 add more range tests 2022-12-04 01:12:34 +01:00
Christian Zimmermann
1bd51ee700 shift index multiplication to separate file + extend to Sptr 2022-11-29 01:46:53 +01:00
Christian Zimmermann
a3a25af289 redefine index-index-multiplications 2022-11-27 23:51:15 +01:00
Christian Zimmermann
8513b6dcd3 2d opcont test 2022-11-27 04:28:46 +01:00
Christian Zimmermann
059093241b OpCont: again owns data (can have static size now); use (C)OpRoot for assignment-like operations 2022-11-27 03:38:10 +01:00
Christian Zimmermann
204b726acf minor fix 2022-11-27 01:25:59 +01:00
Christian Zimmermann
4f1ebb9986 1dim operation test + corresponding fixes 2022-11-27 00:27:34 +01:00
Christian Zimmermann
42a8acbc6e remove statics/ utils/ 2022-11-26 17:03:39 +01:00
Christian Zimmermann
3418ec9ee1 remove old test files 2022-11-26 16:28:00 +01:00
Christian Zimmermann
0e71d45a5b minor changes + mindex/yindex: further functionalities 2022-11-25 02:08:43 +01:00
Christian Zimmermann
25abf5e1b0 add src/opt/python/setup.py.in + update cmake project name + remove static cnorxz lib 2022-11-24 02:08:04 +01:00
Christian Zimmermann
7acc5c86ee remove old files 2022-11-23 23:26:27 +01:00
Christian Zimmermann
1f27826aff fixes/more functionalities in MIndex + add 2d Array test 2022-11-23 01:25:59 +01:00
Christian Zimmermann
216bb3f56e aindex: inherit yindex + yrange: specialize RangeCast + corrections in DArray classes + more DArray tests 2022-11-22 19:11:41 +01:00
Christian Zimmermann
a3d3d99c8d add first for tests 2022-11-22 00:58:50 +01:00
Christian Zimmermann
2f5f29f577 mrange: different members for blockSizes and lexBlockSizes 2022-11-20 23:18:58 +01:00
Christian Zimmermann
2745eee0ff src/tests/range_unit_test.cc: again fix signed vs unsigned comp 2022-11-18 19:53:43 +01:00
Christian Zimmermann
31bebecb23 further yrange tests 2022-11-18 19:50:19 +01:00
Christian Zimmermann
99eb72bb76 fix bug in DType + further yrange test 2022-11-17 19:00:58 +01:00
Christian Zimmermann
da4bf39c83 remove old files + first yr_test (to be extended) 2022-11-17 01:26:35 +01:00
Christian Zimmermann
3e54485b12 extend mr_test 2022-11-14 18:47:51 +01:00
Christian Zimmermann
3a6ffc209b change template args of RangeInterface (static polymorphism) + fixes in MRange -> first tests compile 2022-11-14 00:35:05 +01:00
Christian Zimmermann
62a9df39d3 add UR_Test + remove operator-> for index classes where it conflicts with c++ syntax 2022-11-13 02:23:33 +01:00
Christian Zimmermann
4e2244db79 finish mrange/mindex (unchecked) 2022-11-12 03:14:07 +01:00
Christian Zimmermann
113a0e7209 fix compile errors 2022-11-12 00:15:26 +01:00
Christian Zimmermann
fb94a382bb base/isq.h + base/iter.* + functional/fundamental.h + adaptions in mrange (WIP) 2022-11-08 22:36:16 +01:00
Christian Zimmermann
0197e7db6e more on MIndex + operator << for PosTypes 2022-11-06 22:58:46 +01:00
Christian Zimmermann
172110c5de start refactoring MIndex 2022-11-02 18:51:18 +01:00
Christian Zimmermann
6b2bbc3020 OpCont + adapt ifor memeber functions 2022-10-30 22:28:40 +01:00
Christian Zimmermann
c9f69ad25d extensions: finish basic arithmetic implementation for consecutive + avx 2022-10-30 12:12:53 +01:00
Christian Zimmermann
fbfd84f421 more on extensions... 2022-10-29 03:08:34 +02:00
Christian Zimmermann
cf7dcb816b WIP: avx 2022-10-25 23:45:05 +02:00
Christian Zimmermann
1befb14039 fixes + start extension code 2022-10-24 18:34:11 +02:00
Christian Zimmermann
e2405738c1 derive COpInterface : XprInterface; allow return values for Xpr (VXpr+DXpr -> templates) 2022-10-23 18:29:07 +02:00
Christian Zimmermann
fa1ea56d51 op_types: contraction (not finished) 2022-10-22 02:42:18 +02:00
Christian Zimmermann
e3fe04d5da DPos/DPosRef: -> static scalar; replace next() by sub() 2022-10-22 01:11:27 +02:00
Christian Zimmermann
f68c02565d im com (not finished) 2022-10-21 17:35:23 +02:00
Christian Zimmermann
483e3b4286 move xpr/op_xpr.* -> operation/op_xpr.* 2022-10-21 13:52:53 +02:00
Christian Zimmermann
4cb3977fb3 cxz_operation -> op_types 2022-10-21 13:40:12 +02:00
Christian Zimmermann
db623649ee move include/ranges/xpr -> include/xpr 2022-10-21 13:32:27 +02:00
Christian Zimmermann
98f71b874b more on operations 2022-10-21 02:24:30 +02:00
Christian Zimmermann
aafc6f0e2a xpr -> only one pos argument 2022-10-21 00:21:47 +02:00
Christian Zimmermann
477ea8d43d start operation refactoring 2022-10-20 02:58:24 +02:00
Christian Zimmermann
7904d77bd8 EPos + EFor (for extensions, simd vectorization, etc) 2022-10-18 00:30:05 +02:00
Christian Zimmermann
b47000d015 corrections in TFor 2022-10-17 12:20:09 +02:00
Christian Zimmermann
b0d002b7b1 re-enable index ifor 2022-10-16 23:05:48 +02:00
Christian Zimmermann
6fc3a50fa9 index_id 2022-10-16 18:37:14 +02:00
Christian Zimmermann
3eea7f2314 for.h 2022-10-16 00:55:14 +02:00
Christian Zimmermann
e2baceada7 xpr_base 2022-10-13 19:12:23 +02:00
Christian Zimmermann
85059f8024 xpr_unit_test: add more tests -> work 2022-10-13 15:58:17 +02:00
Christian Zimmermann
ade28d5122 rename directory xfor -> xpr 2022-10-13 14:50:15 +02:00
Christian Zimmermann
d555fabf40 remove most of static chains in vpos 2022-10-13 14:39:40 +02:00
Christian Zimmermann
d804f5db7e im com 2022-10-13 00:30:37 +02:00
Christian Zimmermann
c7e66f081c im com 2022-10-12 23:03:44 +02:00
Christian Zimmermann
73ded8c9a8 tests: fix signed vs unsigned again... 2022-10-12 16:53:26 +02:00
Christian Zimmermann
4dc6846845 first DPos test works 2022-10-12 15:28:35 +02:00
Christian Zimmermann
459ea690e5 more on DPos/VPos 2022-10-11 23:01:31 +02:00
Christian Zimmermann
ed6c90b95c new DPos/VPos + further macros 2022-10-11 18:36:23 +02:00
Christian Zimmermann
ee1fe52429 xfor_unit_test: signed vs unsigned 2022-10-10 17:01:37 +02:00
Christian Zimmermann
7e1cfa6b3a PosT: again linear 2022-10-09 16:59:12 +02:00
Christian Zimmermann
a142fdb466 im com 2022-10-06 18:32:56 +02:00
Christian Zimmermann
37dc3bf818 Pos_Test Multi works; change some things in near future 2022-09-28 23:28:07 +02:00
Christian Zimmermann
872d8f0d4a Pos_Test Basics works 2022-09-28 19:09:45 +02:00
Christian Zimmermann
321d6cd8fa more on pos type (not finished/checked/debugged) 2022-09-27 20:32:26 +02:00
Christian Zimmermann
cc52e86526 more on PosT 2022-09-20 23:52:54 +02:00
Christian Zimmermann
d497eb09ae change getStepSize: pass ptr id instead of index number 2022-09-18 22:50:07 +02:00
Christian Zimmermann
a880d1e0db start refactoring mrange + index interface offset (not finished) 2022-09-18 18:53:38 +02:00
Christian Zimmermann
59267fb040 src/tests/CMakeLists.txt: remove test sources (link against testlib instead) 2022-09-18 17:24:19 +02:00
Christian Zimmermann
47b2f3ee31 yrange.cc: fix undefined ref to ::range() 2022-09-18 17:06:51 +02:00
Christian Zimmermann
4c2945b683 range_unit_test: fix signed vs unsigned comparison 2022-09-18 17:04:25 +02:00
Christian Zimmermann
e542a37bf3 add dindex (-> standard index of RangeBase) 2022-09-18 16:19:27 +02:00
Christian Zimmermann
4212ed7ee9 crange.basic test works 2022-09-18 00:49:36 +02:00
Christian Zimmermann
a10770b4f1 container_index -> a/b index 2022-09-17 22:09:01 +02:00
Christian Zimmermann
5a71d00863 container_index -> a/b index 2022-09-17 22:08:01 +02:00
Christian Zimmermann
3044646b6a yrange implementations (part only) 2022-09-15 23:40:23 +02:00
Christian Zimmermann
3764f865e9 rename yindex.* -> yrange.* 2022-09-15 22:32:44 +02:00
Christian Zimmermann
9543342db4 further compile fixes 2022-09-15 16:45:45 +02:00
Christian Zimmermann
0dcf7d3b5a further renaming + fixes 2022-09-14 18:58:06 +02:00
Christian Zimmermann
0ec807c8fa fix some of the recently introduced compile errors 2022-09-13 00:31:12 +02:00
Christian Zimmermann
796bb50118 ext -> pos, expressions... 2022-09-12 16:48:45 +02:00
Christian Zimmermann
10db0908e0 im com 2022-09-12 01:09:51 +02:00
Christian Zimmermann
f6725f5356 rename range files 2022-09-11 17:23:59 +02:00
Christian Zimmermann
72e898606f im com 2022-09-11 17:20:09 +02:00
Christian Zimmermann
bc4ebf317b index_base.cc.h 2022-09-11 15:20:27 +02:00
Christian Zimmermann
3463e6ceea wip... 2022-09-11 02:48:30 +02:00
Christian Zimmermann
ebc0f5a807 wip: dynamic stuff; switched off most of the tests 2022-09-09 19:41:43 +02:00
Christian Zimmermann
5d473ddd8c wip... 2022-09-03 22:11:36 +02:00
Christian Zimmermann
05f4cb0abb wip: dynamic indices 2022-08-31 17:37:20 +02:00
Christian Zimmermann
3dd688bbed DArray (future Array) 2022-08-31 14:58:39 +02:00
Christian Zimmermann
21bd120032 std::iterator is depricated... 2022-08-08 14:55:07 +02:00
Christian Zimmermann
8f6094233a re-enable auto-vectorization 2021-09-21 14:01:04 +02:00
Christian Zimmermann
388531c37f split cxz_operation: move Access and Expression classes to extra files 2021-08-06 11:34:13 +02:00
Christian Zimmermann
7aa4b18d15 remove unused code 2021-08-06 10:54:11 +02:00
Christian Zimmermann
8b64d2c0d5 remove unused code 2021-08-06 10:40:42 +02:00
Christian Zimmermann
7a24e328e7 rename libmultiarray -> libcnorxz 2021-07-28 21:30:21 +02:00
Christian Zimmermann
3975edea20 rename MultiArray + pre-processor variables 2021-07-28 20:59:31 +02:00
Christian Zimmermann
c5e6003fc9 rename namespaces 2021-07-28 20:29:56 +02:00
Christian Zimmermann
e3d4c34962 rename files 2021-07-28 19:55:37 +02:00
Christian Zimmermann
bba1c6944a im com (vectorization (wrong access instance) + parallel not working) 2021-07-18 23:11:05 +02:00
Christian Zimmermann
a841782115 remove some old debug asserts 2021-07-18 18:40:10 +02:00
Christian Zimmermann
8bde2d7250 fix bug from previous commit 2021-07-14 22:01:07 +02:00
Christian Zimmermann
bf4633054d im com (some weird runtime errors -> PointerAccess) 2021-07-09 16:54:30 +02:00
Christian Zimmermann
33b52c1a70 start building in Access classes + add IsArray trait 2021-07-01 18:15:12 +02:00
Christian Zimmermann
bf7853c1b5 operations: AccessTemplate (static base class) 2021-07-01 17:55:46 +02:00
Christian Zimmermann
e80c71aa62 multi_array_operation: member access class for array-type members -> sub operations... 2021-07-01 01:51:10 +02:00
Christian Zimmermann
312074c486 multi_array_operation: remove RootSumN 2021-07-01 00:42:31 +02:00
Christian Zimmermann
24ea3c2c30 im com 2021-06-30 16:55:38 +02:00
Christian Zimmermann
9946a8d416 Merge branch 'restructure-rename' of rqcd.ur.de:czimmermann/multi_array into restructure-rename 2021-06-26 00:41:33 +02:00
Christian Zimmermann
d5e02ba9d2 remove slicecontraction + start hyperoperation (for slicearray) 2021-06-26 00:40:42 +02:00
Christian Zimmermann
ffb8e71dbd multi_array_operation: replace template spec by static if 2021-06-25 17:28:22 +02:00
Christian Zimmermann
c282cf683d Merge branch 'restructure-rename' of rqcd.ur.de:czimmermann/multi_array into restructure-rename 2021-06-24 21:39:52 +02:00
Christian Zimmermann
7cd0c3104f separate lib for high level stuff 2021-06-24 21:39:42 +02:00
Christian Zimmermann
6991742206 remove old code 2021-06-11 18:57:00 +02:00
Christian Zimmermann
49f2c41a95 remove dead code + simplify StaticFunctionBase (less template args) 2021-06-09 17:25:02 +02:00
Christian Zimmermann
f1b44cfd5c sfor: return cond 2021-06-08 17:53:51 +02:00
Christian Zimmermann
c26fb133ae replace/remove static for macros 2021-06-08 16:41:28 +02:00
Christian Zimmermann
53362be499 two container indices (one const) 2021-05-29 00:03:48 +02:00
Christian Zimmermann
01703dec28 container_index: split header -> .h .cc.h 2021-05-28 21:20:07 +02:00
Christian Zimmermann
63df6bbdef ranges/container_range.h -> container_index.h 2021-05-28 20:35:24 +02:00
Christian Zimmermann
98138114f7 remove assignment ContainerIndex -> MultiIndex 2021-05-28 20:17:20 +02:00
Christian Zimmermann
1d882d55c4 ContainerRange typedef: remove template arg T + remove MultiRange Factory constructor for ContainerRange 2021-05-28 20:02:04 +02:00
Christian Zimmermann
34e69cd805 ContainerIndex -> ConstContainerIndex 2021-05-28 17:29:13 +02:00
Christian Zimmermann
c5b9e84486 completely remove rpacknum 2021-05-27 23:29:04 +02:00
Christian Zimmermann
6dc926f234 further packnum replacements 2021-05-27 18:37:15 +02:00
Christian Zimmermann
12c79b595f rpacknum: replace mkfor 2021-05-27 12:15:44 +02:00
Christian Zimmermann
893b2360bc remove rpacknum getMeta, getSize, getTypeNum 2021-05-27 11:02:36 +02:00
Christian Zimmermann
29f4ddc0cd continue... 2021-05-12 17:56:35 +02:00
Christian Zimmermann
43e8486354 bugfix + continue prev com 2021-05-07 17:35:59 +02:00
Christian Zimmermann
482a7a7b4e continue previous commit 2021-05-06 19:04:26 +02:00
Christian Zimmermann
13488b9839 ranges: start replacement of rpack_num 2021-05-05 20:04:13 +02:00
Christian Zimmermann
7fee5aa45d completely remove pack_num 2021-05-04 18:26:17 +02:00
Christian Zimmermann
acda91d792 remove all PackNum stuff from multi_array_operation 2021-05-04 17:11:53 +02:00
Christian Zimmermann
44f6149a23 rewrite Operation::get (not final solution) 2021-04-11 22:11:20 +02:00
Christian Zimmermann
9d85f8df46 remove Application classes 2021-04-11 16:54:46 +02:00
Christian Zimmermann
fe22b1ad80 im com + remove Getter class 2021-04-11 16:34:01 +02:00
Christian Zimmermann
1f663e0b76 start replacement PackNum -> SFOR 2021-04-10 16:06:02 +02:00