Commit graph

747 commits

Author SHA1 Message Date
Christian Zimmermann
43baaa35c9 ; missing 2019-09-05 11:45:57 +02:00
Christian Zimmermann
1f459ea2b5 single range: fix cmeta size for vector case 2019-09-03 19:34:20 +02:00
Christian Zimmermann
5f694c9103 single range: fix cmeta size for vector case 2019-09-03 19:33:30 +02:00
Christian Zimmermann
0acfb6e171 fix regarding last commit 2019-08-30 18:29:07 +02:00
Christian Zimmermann
ea974ce50b generalize cmeta routine for vector meta data + catch 'no range' case in anonymousRange::sreplace(vec) 2019-08-29 20:40:39 +02:00
Christian Zimmermann
ba8655896b generalize element return values in operation classes 2019-07-24 18:49:53 +02:00
Christian Zimmermann
867c6e13e9 cast to dynmic range array for mutable container 2019-07-12 18:11:22 +02:00
Christian Zimmermann
015734fa16 no index synchronization in (const)operation class; directly use pos arg (makes some things thread save) 2019-07-12 12:45:41 +02:00
Christian Zimmermann
b79f010c87 add utilities in xfor.h + fix SIZE in SubExpr 2019-07-10 18:14:50 +02:00
Christian Zimmermann
a2d67ef78c fix: gcc 9 more pedantic in this case: int vs uint template arg 2019-07-05 17:40:26 +02:00
Christian Zimmermann
472abec3fd ma operation: parallel version of .to and .addto 2019-05-24 13:55:07 +02:00
Christian Zimmermann
a8efbd083a piloop: handles iloop instances wrt to thread safety 2019-05-22 16:36:44 +02:00
Christian Zimmermann
23078a8b2d return type of Operation -> auto 2019-05-20 18:32:19 +02:00
Christian Zimmermann
8ce2f52070 iloop + c++14 2019-05-17 15:10:33 +02:00
Christian Zimmermann
8e271ca0e4 anonymous range: FType + utils: anonToDynView: MultiArray -> MultiArrayBase 2019-05-15 20:37:00 +02:00
Christian Zimmermann
8e91aae948 assignExpr function 2019-05-10 18:14:13 +02:00
Christian Zimmermann
33d321d529 assign/plus -> const 2019-05-07 16:40:40 +02:00
Christian Zimmermann
41ca105e82 remove white space from string meta (multi range) 2019-04-23 12:47:14 +02:00
Christian Zimmermann
bd0485ba95 set target step size to 0 for contractions (otherwise map indices in contractions will not work correctly) 2019-04-05 20:20:39 +02:00
Christian Zimmermann
3f7cbceec9 singkle range: return range size when call by meta data is out of region 2019-04-04 19:28:45 +02:00
Christian Zimmermann
6326b32d6a generalize map range 2019-04-03 16:26:53 +02:00
Christian Zimmermann
505237c958 map range: use meta data of the output range + little fixes 2019-04-02 19:39:11 +02:00
Christian Zimmermann
844c7ef8e1 complete last change 2019-03-29 16:36:15 +01:00
Christian Zimmermann
fe4275766a map range: take operation as argument 2019-03-29 12:58:39 +01:00
Christian Zimmermann
45d25a4d76 some utils 2019-03-27 19:00:16 +01:00
Christian Zimmermann
a0a139b0a1 add some range creation utils 2019-03-27 13:33:01 +01:00
Christian Zimmermann
d109475d96 'partial assignment' expression + allow slice -> anonymous for trivial cases 2019-03-22 19:07:29 +01:00
Christian Zimmermann
f70efbeb82 use ptr directly in getStepSize + NO FORWARD in OpExpr in map (corrupted EVERYTHING) 2019-03-21 01:04:47 +01:00
Christian Zimmermann
84355b3118 add types 2019-03-20 21:52:21 +01:00
Christian Zimmermann
8a37107ac1 slight changes in range interface (typeNum) + fixes in dynamic range meta/index 2019-03-19 20:58:59 +01:00
Christian Zimmermann
8ed5d01c46 add further sreplace function to anonymous range 2019-03-19 10:33:07 +01:00
Christian Zimmermann
b2290e14e5 correction in last commit 2019-03-18 13:11:07 +01:00
Christian Zimmermann
389e4ec0a3 change allocator 2019-03-18 11:33:33 +01:00
Christian Zimmermann
de8d456f73 conversion between vectors with different allocator types 2019-03-17 23:56:35 +01:00
Christian Zimmermann
c277fbde53 fixes regarding last commit 2019-03-14 19:10:06 +01:00
Christian Zimmermann
d8ecf51698 char meta function in ranges 2019-03-14 14:20:38 +01:00
Christian Zimmermann
7003d68097 im com (dynamic meta) 2019-03-13 21:51:48 +01:00
Christian Zimmermann
a1a6b02bb5 add some utilities 2019-03-13 19:17:22 +01:00
Christian Zimmermann
861adac36a various fixes (relevant for higher level meta programing) 2019-03-12 21:00:15 +01:00
Christian Zimmermann
f47ca055db some fixes... 2019-03-11 19:24:34 +01:00
Christian Zimmermann
8f25e0aeb0 utilities: metaSlice + map range: mapPos 2019-03-08 13:09:10 +01:00
Christian Zimmermann
9489544972 remove master class + add separate parallel op root + pfor expression in parallel scope 2019-03-06 16:52:45 +01:00
Christian Zimmermann
948d9f58fd meta op root in func ma op 2019-03-05 19:40:26 +01:00
Christian Zimmermann
636e06bd5b add some utilities + more simd arithmetics 2019-03-01 18:13:51 +01:00
Christian Zimmermann
c75c585ce6 fix: correct use of mOrigDataPtr and mDataPtr in Operation classes 2019-02-27 21:37:20 +01:00
Christian Zimmermann
9fec5d6354 remove emacs bak file + fixes 2019-02-27 20:41:46 +01:00
Christian Zimmermann
b0063bb9e2 Merge branch 'dev' into merge 2019-02-27 19:05:03 +01:00
Christian Zimmermann
25fadae974 make comparison loop absolutely equivalent to ma test loop -> there is no notable difference in the performance anymore 2019-02-27 19:02:06 +01:00
Christian Zimmermann
09f8074910 NOW ALMOST 2019-02-27 13:37:53 +01:00
Christian Zimmermann
6f320fe9e9 still not better... 2019-02-26 18:56:57 +01:00
Christian Zimmermann
fb2062263e remove white spaces from range string meta 2019-02-25 18:56:37 +01:00
Christian Zimmermann
f82cba0c2f try next fix reg last com 2019-02-19 16:35:01 +01:00
Christian Zimmermann
ad16ee4398 try next fix reg last com 2019-02-19 16:31:11 +01:00
Christian Zimmermann
f47d3fdb8a try fix reg last com 2019-02-19 16:27:50 +01:00
Christian Zimmermann
709e30a4a1 extra operation to function 2019-02-19 16:20:38 +01:00
Christian Zimmermann
5fdf6970c9 ... 2019-02-16 18:27:35 +01:00
Christian Zimmermann
54688698c8 fix self operators (+=, -=) 2019-02-16 18:24:32 +01:00
Christian Zimmermann
59ffd5adcc use omp simd in performance comparision loop 2019-02-14 22:04:33 +01:00
Christian Zimmermann
53c433f8df vectorizes, but not that optimal... 2019-02-14 14:39:59 +01:00
Christian Zimmermann
6d776f853d im com 2019-02-13 21:59:13 +01:00
Christian Zimmermann
0326ebc505 conversions 2019-02-12 22:34:09 +01:00
Christian Zimmermann
f339778a59 generalize single range (static size parameter, -> -1 if non-static size) 2019-02-12 20:26:38 +01:00
Christian Zimmermann
697aac6b94 rename operation base operator() to to() (avoid conflicts) 2019-02-06 19:34:17 +01:00
Christian Zimmermann
60ceb6e9a1 fix SpaceType::NONE outRange size 2019-02-06 15:09:21 +01:00
Christian Zimmermann
8db40f0610 add missing FType in special ranges 2019-02-06 14:11:17 +01:00
Christian Zimmermann
811054f14f extend helper tools according to last commit 2019-02-06 13:01:14 +01:00
Christian Zimmermann
3ccc5277e3 generalize map range: specification of out range type 2019-02-06 12:21:42 +01:00
Christian Zimmermann
75ead6fdba anonymous range: sreplace -> const; return new range instead 2019-01-18 17:49:58 +01:00
Christian Zimmermann
8048c573fa fix: forgot pifor in subrange 2019-01-16 12:33:50 +01:00
Christian Zimmermann
8237fba438 complete last commit... 2019-01-16 10:39:58 +01:00
Christian Zimmermann
e1b6271a95 update readme + multithread one test 2019-01-16 10:23:18 +01:00
Christian Zimmermann
6d1682efa2 enable multi threading 2019-01-15 17:41:43 +01:00
Christian Zimmermann
a1d843c01b change operation arithmetics: distinguish between assignment and contraction (= vs +=) 2019-01-15 14:34:59 +01:00
Christian Zimmermann
e04d9aa5bc parallel for 2019-01-14 18:39:09 +01:00
Christian Zimmermann
90816bc471 now fixed 2018-12-25 18:57:51 +01:00
Christian Zimmermann
22b93b0612 prelim fix... (CAUTION) 2018-12-25 17:48:52 +01:00
Christian Zimmermann
edae293f14 ... nope, try again... 2018-12-25 10:35:50 +01:00
Christian Zimmermann
5efe52b17e fix size_t vs int error appearing at build server 2018-12-25 10:31:52 +01:00
Christian Zimmermann
1f88bd2c58 fix cathastrophic bug (although it did not affect anything so far) 2018-12-24 18:55:11 +01:00
Christian Zimmermann
f6372fcbdb fix | operator for index tuple 2018-12-24 15:42:44 +01:00
Christian Zimmermann
675b0dd9f0 fixes.. 2018-12-23 19:33:01 +01:00
Christian Zimmermann
d5a1422f34 sub range contraction (tested) 2018-12-23 13:01:13 +01:00
Christian Zimmermann
90c0bee44c fix 'step bug' (sub range) 2018-12-21 23:46:58 +01:00
Christian Zimmermann
9a4f6e7386 ...fixed 2018-12-21 23:02:43 +01:00
Christian Zimmermann
bc372257f8 sub range (not fully fixed: do for loop -> sub expr again) 2018-12-21 18:25:45 +01:00
Christian Zimmermann
a4adf54502 im com (sub range) 2018-12-21 11:30:39 +01:00
Christian Zimmermann
ae6ec95119 multiple range cast in anonymous range 2018-12-18 12:44:50 +01:00
Christian Zimmermann
bdabee1335 fixes in dynamic index (ForMaker) + set offset of operation by given index 2018-12-02 22:08:51 +01:00
Christian Zimmermann
7331ff608f dynamic re-ordering assignment 2018-12-02 18:46:44 +01:00
Christian Zimmermann
6671c784f3 add pre-execution function to operation classes 2018-12-02 17:40:50 +01:00
Christian Zimmermann
f17d807d1a sub() function in range base 2018-11-30 00:16:28 +01:00
Christian Zimmermann
ca2e47b986 some utilities + corrections in 'call by lambda' operation 2018-11-29 19:37:32 +01:00
Christian Zimmermann
be205808e4 yml (int vs size_t) 2018-11-27 12:09:52 +01:00
Christian Zimmermann
354c7d92fe some fixes in new fma routine 2018-11-26 18:23:38 +01:00
Christian Zimmermann
21f6dc0a6c some clean up + README 2018-11-26 15:22:52 +01:00
Christian Zimmermann
ae534e2493 use meta operation in fma (should be faster) 2018-11-26 13:13:23 +01:00
Christian Zimmermann
1aa5ed10d9 operation via lambda expression ( a(T,args...) function in OperationClass) 2018-11-26 12:10:38 +01:00
Christian Zimmermann
29c0f48f77 add 'id' function to range base 2018-11-19 17:00:35 +01:00
Christian Zimmermann
ef6876adc9 minor change in type map (easier to register types) 2018-11-18 15:50:38 +01:00
Christian Zimmermann
3acbf3afeb further types in type map 2018-11-15 11:46:57 +01:00
Christian Zimmermann
9137aaec23 install .a 2018-11-09 15:11:28 +01:00
Christian Zimmermann
e907874f3d static + shared 2018-11-09 15:06:28 +01:00
Christian Zimmermann
637aa585bd target prop 2018-11-09 10:39:25 +01:00
Christian Zimmermann
7447326e0f .a -> .so 2018-11-08 20:54:28 +01:00
Christian Zimmermann
15388dcdfa forgot dataHeader() in ValueRange -> fix 2018-11-07 13:27:45 +01:00
Christian Zimmermann
fa1f16a3c8 addendum to last commit 2018-11-07 12:38:26 +01:00
Christian Zimmermann
6626384f69 dataHeader function 2018-11-07 10:58:07 +01:00
Christian Zimmermann
772d9c2828 im com 2018-11-06 16:35:37 +01:00
Christian Zimmermann
e78b2db16c minor fix 2018-11-04 18:39:49 +01:00
Christian Zimmermann
3c653535bc some fixes (expressions) + dynamic <-> anonymous cast utilities 2018-11-03 22:03:35 +01:00
Christian Zimmermann
69e4e4bf8e some fixes / utility extensions regarding extarnal usage/linking 2018-11-02 18:58:58 +01:00
Christian Zimmermann
e4a34ba644 XCOMMAX() 2018-11-02 17:45:07 +01:00
Christian Zimmermann
307a714996 dynamic ranges + dynamic index operation works 2018-11-01 22:11:08 +01:00
Christian Zimmermann
e5792bcf7b fix dynamic ifor issue (at least it compiles...) 2018-10-30 19:39:45 +01:00
Christian Zimmermann
305f45103c dynamic range test works 2018-10-29 14:19:42 +01:00
Christian Zimmermann
9cf294f485 dynamic index compiles 2018-10-27 19:51:55 +02:00
Christian Zimmermann
1b8c2edf45 im com (...) 2018-10-23 20:02:01 +02:00
Christian Zimmermann
d7aea8a164 im com (...) 2018-10-22 17:55:52 +02:00
Christian Zimmermann
1fa60ea9c8 im com (dynamic range) 2018-10-22 14:27:55 +02:00
Christian Zimmermann
7dc015a97a expression base + dynamic expressio (xfor) 2018-10-21 22:52:01 +02:00
Christian Zimmermann
610994e52f isMeta function in single range/index 2018-10-14 16:59:27 +02:00
Christian Zimmermann
a4d0c380dc factory type in range classes 2018-10-08 22:06:57 +02:00
Christian Zimmermann
be016abf3a final at [] + assignment between Container Indices of different data type 2018-10-06 13:14:24 +02:00
Christian Zimmermann
ca01dcaa10 fix: copying slicecontraction changes instance of internal targte array -> use shared ptr 2018-09-25 14:06:17 +02:00
Christian Zimmermann
d13d9f7b72 overwrite default assignment operator in OperationRoot 2018-09-24 13:28:40 +02:00
Christian Zimmermann
db32888ce9 operator=(double) for multi_array 2018-09-22 20:19:08 +02:00
Christian Zimmermann
a55b8d8b9f clean up 2018-09-19 10:06:30 +02:00
Christian Zimmermann
46e5218167 fix max() issue in map range; TODO: remove debug tokens 2018-09-18 22:52:55 +02:00
Christian Zimmermann
8e5e5af924 fix this ptr copy/overwrite issue in index interface class 2018-09-18 14:30:49 +02:00
Christian Zimmermann
6c404a272b add reg last commit (value range) + MetaMap + try to fix the map index link issue (no success) 2018-09-18 01:44:11 +02:00
Christian Zimmermann
143ec78355 forgot to use new 'value' functions -> use it now; still works 2018-09-17 16:34:47 +02:00
Christian Zimmermann
174cdd4bf6 use step size in for target -> re-ordered operations on slice should be possible now 2018-09-17 16:21:23 +02:00
Christian Zimmermann
3fd74cfc4c some fixes 2018-09-17 11:06:24 +02:00
Christian Zimmermann
67492e24b7 fix slice step size issue 2018-09-16 18:53:28 +02:00
Christian Zimmermann
9229ead298 map utils 2018-09-16 16:35:46 +02:00
Christian Zimmermann
9c5c361fde array ptr in const op root 2018-09-16 15:53:56 +02:00
Christian Zimmermann
98635027de slice contr const 2018-09-15 16:33:49 +02:00
Christian Zimmermann
b7e40ca71b slice contraction (tested, works) 2018-09-15 01:58:17 +02:00
Christian Zimmermann
6ba140aa97 im com 2018-09-14 17:50:40 +02:00
Christian Zimmermann
c0a72e72b4 im com 2018-09-14 17:50:19 +02:00
Christian Zimmermann
b257ab4db3 some utilities 2018-09-13 17:42:16 +02:00
Christian Zimmermann
9b79c96eea const slice def class 2018-09-13 13:28:40 +02:00
Christian Zimmermann
405df0c426 fix non-static functor issues 2018-09-12 20:56:55 +02:00
Christian Zimmermann
6896cc3ca7 value range + fix in header/include structure 2018-09-12 17:05:27 +02:00
Christian Zimmermann
de6b80a90b slice utilities 2018-09-11 18:38:30 +02:00
Christian Zimmermann
91acb873e1 small adjustments 2018-09-08 18:46:04 +02:00
Christian Zimmermann
9e5c51428a various fixes and adds -> map range test works 2018-08-20 17:50:04 +02:00
Christian Zimmermann
3abdf61c33 wrong operation type returned by map operator 2018-08-18 16:40:20 +02:00
Christian Zimmermann
6597ac6cb0 fix compile errors in map range 2018-08-18 16:24:13 +02:00
Christian Zimmermann
bcd875f7d2 again devel of map range + usage of std::map single index 2018-08-08 18:20:08 +02:00
Christian Zimmermann
89eb03ab7f im com (single expression) 2018-08-07 23:39:35 +02:00
Christian Zimmermann
f5cf35ae69 start with map range (not finished) 2018-08-07 21:49:21 +02:00
Christian Zimmermann
8ff366d40f some fixes 2018-08-06 19:20:57 +02:00
Christian Zimmermann
5ae28f9504 fixes + anonymous slice option 2018-08-06 15:20:06 +02:00
Christian Zimmermann
86dc006b6f static cast function for operation classes + some fixes 2018-08-06 12:46:12 +02:00
Christian Zimmermann
eb2bf52273 im com (fix compile error) 2018-08-05 23:11:18 +02:00
Christian Zimmermann
65d907df15 im com 2018-08-05 18:45:20 +02:00
Christian Zimmermann
6d52a6cdd9 fix ipow bug and anonymous meta string bug 2018-07-29 22:48:22 +02:00
Christian Zimmermann
aceffc1af6 override -> final + MetaOperationRoot (which does not work so far) 2018-07-29 19:17:26 +02:00
Christian Zimmermann
15f4f38e48 fix null range instace issue 2018-07-29 14:35:53 +02:00
Christian Zimmermann
1523fa024e char** to const char** in range stream parser + minor changes (utilities) 2018-07-28 20:05:58 +02:00
Christian Zimmermann
11a53de452 range stream parsing works 2018-07-28 17:32:02 +02:00
Christian Zimmermann
a3ac073975 extent operation unit test to be sure 2018-07-22 23:05:25 +02:00
Christian Zimmermann
8dc5dd3317 single index parsing from creation string works 2018-07-22 21:59:31 +02:00
Christian Zimmermann
c361c2337f start implementing string to range parsing 2018-07-22 18:32:43 +02:00
Christian Zimmermann
f14edd17e4 string meta via index 2018-07-22 16:16:24 +02:00
Christian Zimmermann
fc40f83dd8 enable string meta data info by virtual function in RangeBase 2018-07-21 18:05:53 +02:00
Christian Zimmermann
341a70ef06 various fixes 2018-07-20 19:13:42 +02:00
Christian Zimmermann
3c72dc98a0 bug fix in resolve Range type routines + some clean up 2018-07-19 21:27:09 +02:00
Christian Zimmermann
c043008217 function structs corresponding to math.h functions + some code optimizations 2018-07-19 19:29:52 +02:00
Christian Zimmermann
5c4f0c3f1b some operation utilities 2018-07-19 13:00:34 +02:00
Christian Zimmermann
7735a1f9fb minor change 2018-07-17 23:13:57 +02:00
Christian Zimmermann
e2dc8b3fea crucial arithmetics extension: operations involving native c++ scalars should be possible 2018-07-17 22:10:36 +02:00
Christian Zimmermann
4499dfd7fc add null range + static function base class 2018-07-17 20:01:25 +02:00
Christian Zimmermann
a5292ef2ab some utilities (move all to helper_tools.h) 2018-07-17 13:56:59 +02:00
Christian Zimmermann
edab24b63a enable anonymous cast (only implemented for multi array itself; remaining classes non-trivial) 2018-07-16 18:52:02 +02:00
Christian Zimmermann
c6914831af make multi ranges of specific sub range instances unique 2018-07-16 17:40:39 +02:00
Christian Zimmermann
41f2e60d6e anonymous range: save cast test works 2018-07-16 15:55:55 +02:00
Christian Zimmermann
fcb7ce575e first anonymous test works 2018-07-16 14:44:55 +02:00
Christian Zimmermann
764bcac758 anonymous range constructor: promote subrange layer of anonymous range arguments 2018-07-16 12:58:06 +02:00
Christian Zimmermann
b9e5d6a898 first scast version (UNTESTED) 2018-07-16 00:12:05 +02:00
Christian Zimmermann
0d951f892a im com (while extending anonymous range) 2018-07-15 15:22:15 +02:00
Christian Zimmermann
689ad3801f add pspace range + some dev reg anonymous range (scast implementation missing) 2018-07-13 18:23:58 +02:00
Christian Zimmermann
3367ab684a generalize operation types (func args and return types may be diffent now) 2018-05-20 16:45:03 +02:00
Christian Zimmermann
3b2889d38f pack num of operation forwarding 2018-05-20 15:15:05 +02:00
Christian Zimmermann
8f94517aa4 fix typos and formal stuff -> tests work again 2018-05-18 20:23:21 +02:00
Christian Zimmermann
451d58c037 type operations (after debugging operation forwarding should be possible) 2018-05-18 17:45:40 +02:00
Christian Zimmermann
92bb02be21 im com 2018-05-15 21:18:21 +02:00
Christian Zimmermann
66be374688 preliminray fix of the meta data bug in non-containing ranges/indices 2018-05-10 14:34:56 +02:00
Christian Zimmermann
3f20bc1f07 resolve merge conflict 2018-05-09 17:34:44 +02:00
Christian Zimmermann
3e5cc2ee5d vdata for debug 2018-05-09 17:33:43 +02:00
Christian Zimmermann
6e1da5eed3 add Scalar<T> + cast to T 2018-04-29 17:41:28 +02:00
Christian Zimmermann
714eecd663 non-static function call in Operation + utils in anonymous range 2018-04-28 17:33:57 +02:00
Christian Zimmermann
1c7a21a8b8 functional operations work 2018-03-22 22:29:21 +01:00
Christian Zimmermann
dfd153baab fix (wrong test quantity) 2018-03-22 12:22:20 +01:00
Christian Zimmermann
3cae377b9f implement consistent override of () in FunctionalMultiArray; there is still the bug of last commit 2018-03-22 11:13:00 +01:00
Christian Zimmermann
379824064b compiles, but test fails 2018-03-21 20:00:32 +01:00
Christian Zimmermann
8f94c77f4d functional multi array test; there are some remaining issues (maybe conceptional)... 2018-03-21 19:18:57 +01:00
Christian Zimmermann
05fbcbf7a2 operation creation for functional multi_arrays 2018-03-21 16:11:05 +01:00
Christian Zimmermann
7fdaef7b2f meta ref in index + dynamic function 2018-03-19 18:38:53 +01:00
Christian Zimmermann
ea139067dd functional multi array... need general functional ma transform 2018-03-17 20:25:16 +01:00
Christian Zimmermann
cf724f60ed md-slice call works (with the restriction, that multi-indices cant be used) 2018-03-06 14:35:32 +01:00
Christian Zimmermann
fb6c5c47ae slice + blockSize fix -> simple slice calls work so far 2018-03-06 13:58:17 +01:00
Christian Zimmermann
dcb76cc450 im com (slice) 2018-03-05 21:52:12 +01:00
Christian Zimmermann
058d7503d7 im com (slice) 2018-03-05 18:46:29 +01:00
Christian Zimmermann
4df82f263e slice code seems to compile 2018-03-05 00:04:50 +01:00
Christian Zimmermann
10f6f75552 completely remove IndexInfo stuff 2018-03-02 17:45:31 +01:00
Christian Zimmermann
b045b2d7e1 almost remove index_info dependency -> performance lack down to factor 1.15 2018-03-02 16:37:11 +01:00
Christian Zimmermann
219a267995 index prototype in each ma instance + simplify op-index initialization procedure 2018-03-02 13:35:50 +01:00
Christian Zimmermann
516f2ed3a4 ContainerRange = MultiRange (NOT FINISHED); TODO: Cast MultiIndex <-> ContainerIndex + Instanciate Prototype of ContainerIndex within each MultiArray(Base)-Instance 2018-03-01 18:16:12 +01:00
Christian Zimmermann
ca70cd19f7 reorganize multi_array(_base) headers + slice header (NOT FINISHED) 2018-02-16 18:17:22 +01:00
Christian Zimmermann
901fae0735 put ma iterator stuff completely in ContainerRange (<T> dependence) 2018-02-15 20:06:14 +01:00
Christian Zimmermann
d7e5098639 remove VIWB stuff 2018-02-15 16:24:54 +01:00
Christian Zimmermann
31de87229d +ClassicRange, changes in anonymous stuff (still not fixed completely -> AnonymousIndex missing) 2018-02-14 21:37:18 +01:00
Christian Zimmermann
ddc1a518d2 further lib fixes... 2018-02-14 18:15:34 +01:00
Christian Zimmermann
a78fd668bc re-organize cmake / src / build structure (-> linkable) 2018-02-14 16:44:55 +01:00
Christian Zimmermann
ad59b5519d unit tests should all work again 2018-02-14 00:38:44 +01:00
Christian Zimmermann
bcc6b98882 im com (re-enabling oputest) 2018-02-13 21:36:41 +01:00
Christian Zimmermann
c674c541a1 clean up + switch loops -> auto vectorizing seems to work; TODO: re-enable step sizes... 2018-02-13 18:18:17 +01:00
Christian Zimmermann
adc25abcaf loop unrolling seeems to work now 2018-02-13 16:54:13 +01:00
Christian Zimmermann
4d8d4d31f6 im com.. 2018-02-13 15:38:03 +01:00
Christian Zimmermann
87a699a445 im com; TODO: rootSteps, mkOpExpr 2018-02-12 18:26:56 +01:00
Christian Zimmermann
ec844f5b68 Merge remote-tracking branch 'origin/improve-performance-2' into improve-performance 2018-02-12 10:10:51 +01:00
Christian Zimmermann
203db8253a +exttype (xfor_devel) ; remove references ; TODO : rootSteps problem 2018-02-12 00:11:24 +01:00
Christian Zimmermann
ef7760a5b3 arithmetric functions -> accumulation 2018-02-06 13:44:15 +01:00
Christian Zimmermann
5c96e47f69 +ForParam<P> ; does not compile... 2018-01-18 23:14:49 +01:00
Christian Zimmermann
c1e1c85f7a shift arithmetric operations in separate header file 2018-01-15 18:31:47 +01:00
Christian Zimmermann
0cabc9e9ab compiles, basically works correctly (except for 'for' extensions setting, which is not finished) 2018-01-15 14:56:22 +01:00
Christian Zimmermann
8f49ac93f5 compiles now; TODO: 'HiddenFor' (no counting of master position therein) 2018-01-14 22:41:35 +01:00
Christian Zimmermann
96d9b4808e im com while fixing (still NOT FINISHED) 2018-01-14 19:15:05 +01:00
Christian Zimmermann
740004d160 start fixing compile errors... (NOT FINISHED) 2018-01-13 18:07:52 +01:00
Christian Zimmermann
9d7ab24d8c adds to last commit 2018-01-09 22:38:46 +01:00
Christian Zimmermann
529ae3353e some implementations reg FOR-utilities (step-array creation still missing) 2018-01-09 17:24:10 +01:00
Christian Zimmermann
3b36f96bfa im com 2018-01-09 11:37:26 +01:00
Christian Zimmermann
a340bda404 im com 2018-01-08 18:38:13 +01:00
Christian Zimmermann
6460276bc4 assignment expression class 2018-01-07 23:08:16 +01:00
Christian Zimmermann
ba86c2f9fa im com while implementing xfor (compiles without instanciating templates) 2018-01-07 22:33:34 +01:00
Christian Zimmermann
85f221f5e1 some fixes, compiles again 2018-01-07 16:57:01 +01:00
Christian Zimmermann
728f36f538 im com (start xfor) 2018-01-05 13:56:16 +01:00
Christian Zimmermann
0bbbdf7168 static polymorphism in Block* + remove unused code 2018-01-04 11:43:45 +01:00
Christian Zimmermann
2116abc556 remove unused code + BlockArray 2018-01-03 17:39:45 +01:00
Christian Zimmermann
358f327a63 replace VIWB by IndexInfo in blocking routines -> remaining performance lack in get() 2017-12-26 17:40:53 +01:00
Christian Zimmermann
a8c62d0481 some corrections... 2017-12-25 17:06:02 +01:00
Christian Zimmermann
c349ff7bd0 index info compiles... 2017-12-25 01:37:59 +01:00
Christian Zimmermann
9e3e866b06 + IndexInfo 2017-12-24 18:14:07 +01:00
Christian Zimmermann
b503df814b separate performance test 2017-12-23 18:54:10 +01:00
Christian Zimmermann
776509e620 ref in BlockBinaryOp 2017-12-22 14:15:09 +01:00
Christian Zimmermann
d8e62cc539 T* in BlockResult instead of std::vector 2017-12-22 14:01:26 +01:00
Christian Zimmermann
edcbeb87eb move block() into op master instanciation -> more save 2017-12-19 19:05:10 +01:00
Christian Zimmermann
12ce081934 remove time wasting debug remainder from index position calculation -> performance improvement by factor 10-20 2017-12-18 19:02:43 +01:00
Christian Zimmermann
ce48f54e9b int vs size_t 2017-12-18 17:17:43 +01:00
Christian Zimmermann
eae1b48b28 fix errors thrown by clang 2017-12-18 14:19:07 +01:00
Christian Zimmermann
dad295ef37 finish re-sorting code and files 2017-12-18 13:13:13 +01:00
Christian Zimmermann
7a716d662d im com 2017-12-18 11:19:04 +01:00
Christian Zimmermann
5f319cf1d5 im com (sort code) 2017-12-17 19:28:01 +01:00
Christian Zimmermann
346101b994 im com 2017-12-17 14:40:04 +01:00
Christian Zimmermann
a3acfedd9b im com 2017-12-17 14:16:37 +01:00
Christian Zimmermann
f38b675314 im com (cleaning up) 2017-12-16 20:38:57 +01:00
Christian Zimmermann
e46abff94c spin range contraction test + some simplifying tools 2017-12-15 14:47:02 +01:00
Christian Zimmermann
0584a3af38 start implementing some spin contraction test.. extensions of the library seem to be useful 2017-12-14 18:27:42 +01:00
Christian Zimmermann
499d49d89d fix last issue -> non-virtual indices completely work now 2017-12-12 18:54:45 +01:00
Christian Zimmermann
e798de6469 two tests work again, oputest does not... 2017-12-12 16:16:09 +01:00
Christian Zimmermann
f691c9ea66 fixing some of the compile errors 2017-12-12 11:15:39 +01:00
Christian Zimmermann
888c7f6a07 basically finish de-virtualization of indices; TODO: const THIS + 'incomplete type' issue + probably further (NOT COMPILABLE) 2017-12-11 18:49:43 +01:00
Christian Zimmermann
defa568c5b start removing virtualities in Index*; intr VIWB for flexible use instead; Missing reg this: Multi/ContainerIndex, PackNum, OpClasses (NOT COMPILABLE) 2017-12-10 18:41:53 +01:00
Christian Zimmermann
1b251e5867 anonymous range should be complete now (still UNTESTED) 2017-12-07 18:11:24 +01:00
Christian Zimmermann
1347615cb3 im com (a-range not finished) 2017-12-05 17:31:57 +01:00
Christian Zimmermann
c5053b02cb anonymous range + im com while implementing first spec of srange (spin) 2017-12-04 18:29:18 +01:00
Christian Zimmermann
8e297d85d8 ulong 2017-11-20 22:22:57 +01:00
Christian Zimmermann
acca0b4513 remove template-cc's + clean up further... 2017-11-20 21:35:25 +01:00
Christian Zimmermann
9a58808be1 addition to last commit 2017-11-20 21:00:52 +01:00
Christian Zimmermann
4b66edff5b + getIndex Function 2017-11-20 20:53:48 +01:00
Christian Zimmermann
650b41967e correct unit test 2017-11-15 17:40:31 +01:00
Christian Zimmermann
5bc469296b ... 2017-11-15 17:35:44 +01:00
Christian Zimmermann
54dfcdb85d first contraction test works 2017-11-05 18:46:38 +01:00
Christian Zimmermann
8dfa81a99e contraction compiles (untested) 2017-11-04 22:49:55 +01:00
Christian Zimmermann
83b0c427a5 contraction code (no compile test) 2017-11-03 23:03:29 +01:00
Christian Zimmermann
8b23a173da im com 2017-11-02 21:20:31 +01:00
Christian Zimmermann
14bf7d003c start re-implementing Contraction + performance check (AWESOME) + optimization level 3 2017-11-01 21:26:45 +01:00
Christian Zimmermann
3e502b2496 remove virtual stuff in block and operation classes 2017-10-31 19:22:34 +01:00
Christian Zimmermann
b75f2b4cf8 delete old/unused code 2017-10-30 18:00:07 +01:00
Christian Zimmermann
0570a502c0 fix this funny bug, which was (for some strange reason) not detected within the commits a few weeks ago... 2017-10-30 17:52:27 +01:00
Christian Zimmermann
8620c076be xround ... there is some weird bug within the last commit 2017-10-29 19:06:04 +01:00
Christian Zimmermann
87c4a9f162 using blocking routines all unit tests work so far 2017-09-12 18:36:05 +02:00
Christian Zimmermann
bb6f18cf1c OpTest_MDim.ExecOp2 works... OpTest_MDim.ExecOp3 does not but at least compiles... 2017-09-11 13:55:56 +02:00
Christian Zimmermann
7a17aba37d OpTest_MDim.ExecOp1 works... 2017-09-11 12:54:24 +02:00
Christian Zimmermann
e0d00e48a6 im com 2017-09-11 09:58:03 +02:00
Christian Zimmermann
9aac8afcd9 blocking: OpTest_1Dim.ExecOp works 2017-09-09 19:59:09 +02:00
Christian Zimmermann
cfe93b60f8 im com while fixing compile errors... not finished... 2017-08-30 19:41:49 +02:00
Christian Zimmermann
7763bf4f77 im com (finished block draft) 2017-08-30 17:56:38 +02:00
Christian Zimmermann
b985b9c35c im com (block index locking) 2017-08-29 17:52:08 +02:00
Christian Zimmermann
fbcdfd7580 im com (block type scanning routines...) 2017-08-28 18:28:43 +02:00
Christian Zimmermann
aa803b81f2 im com 2017-08-27 17:52:50 +02:00
Christian Zimmermann
0d2a5e22e2 introduce Block classes + prepare operation code for blocking (in future vectorization) 2017-08-26 22:53:02 +02:00
Christian Zimmermann
8a75177b39 add basic operations (+-*/) 2017-08-26 17:18:42 +02:00
Christian Zimmermann
f019b4c2ff mdim test3 works 2017-08-26 16:45:46 +02:00
Christian Zimmermann
c4431a83a9 second mdim op test works 2017-08-25 22:33:05 +02:00
Christian Zimmermann
8a1cc35089 fix copyInst <-> copy -- bug -> first mdim op test works 2017-08-25 22:03:20 +02:00
Christian Zimmermann
f99e55d4fd change ma templ args -> explicit subranges (compiles, unit tests work) 2017-08-25 17:02:23 +02:00
Christian Zimmermann
b50620a451 make first operation test run (index copying not supported at the moment) 2017-08-11 16:45:03 +02:00
Christian Zimmermann
0412be2349 im com 2017-08-11 15:26:40 +02:00
Christian Zimmermann
a9611b40e5 im com 2017-08-11 11:30:27 +02:00
Christian Zimmermann
1ffffa568f start operation rewriting 2017-08-10 15:12:26 +02:00
Christian Zimmermann
3b0f67eb47 im com 2017-08-09 16:58:38 +02:00
Christian Zimmermann
d5bf63ac82 MultiArray.format + corresp unit test 2017-08-09 11:29:41 +02:00
Christian Zimmermann
1652e122ea simple 1dim multi array call works again (without operation stuff) 2017-08-08 18:07:58 +02:00
Christian Zimmermann
16e8e588cb some fixes + container range test -> working 2017-08-07 17:11:03 +02:00
Christian Zimmermann
40864ace00 fix multi_index bugs... 2017-08-07 11:22:42 +02:00
Christian Zimmermann
7a16f22f78 fix leak issue 2017-08-04 16:19:50 +02:00
Christian Zimmermann
d2a1286d17 ... compiles now 2017-08-04 14:57:19 +02:00
Christian Zimmermann
225ecc0abc fixing compile errors... not finished 2017-08-04 11:27:47 +02:00
Christian Zimmermann
e8ad0f1b03 some corrections (still have to fix comile errors) 2017-07-28 14:02:44 +02:00
Christian Zimmermann
230ca490d5 start implementing index unit test 2017-07-28 11:33:31 +02:00
Christian Zimmermann
c31eb76981 container range/index previously finished 2017-07-27 20:34:14 +02:00
Christian Zimmermann
ccd99aed76 container range/index + put NumPack stuff into numpack.h 2017-07-27 14:48:41 +02:00
Christian Zimmermann
8db8a07456 range factory + finishing multi/single range/index changes (except for single range specializations) 2017-07-26 18:38:11 +02:00
Christian Zimmermann
5f71b5055d shift template recursion methods in a single struct 'PackNum<N>' 2017-07-26 16:45:09 +02:00
Christian Zimmermann
c13c51bd51 simplify index/range framework -> no native major index system (planned to implement separate class) 2017-07-25 17:46:59 +02:00
Christian Zimmermann
30d8e5e5b2 ... 2017-06-01 13:51:02 +02:00
Christian Zimmermann
370dc2efee +anonymous range 2017-05-31 16:44:28 +02:00
Christian Zimmermann
2a627a7ab3 init files range_factory.* 2017-05-31 11:30:35 +02:00
Christian Zimmermann
2793b8c774 start writing new unit tests regarding new behaviour... rewriting still not finished 2017-05-30 17:49:18 +02:00
Christian Zimmermann
b63d56e315 ...continuing 2017-05-24 19:01:02 +02:00
Christian Zimmermann
3fde2b9f66 continuing... 2017-05-22 18:21:14 +02:00
Christian Zimmermann
030d26a3bb started refactoring index linking -- intermediate commit 2017-05-22 13:39:37 +02:00
Christian Zimmermann
0a5cdd2339 py projection without sym 2017-04-27 19:03:02 +02:00
Christian Zimmermann
67a95c7394 minor change in py proj 2017-04-03 14:36:48 +02:00
Christian Zimmermann
bd8acc6ef2 some fixes in pyProjFunction 2017-03-31 17:34:43 +02:00
Christian Zimmermann
5a5d8883b4 added (p,x,y,z) -> (yy,py) projection function 2017-03-30 21:42:53 +02:00
Christian Zimmermann
8c2ced598f add static own type function to range classes 2017-03-30 14:41:57 +02:00
Christian Zimmermann
b050ea4466 add some useful functions 2017-03-29 17:05:50 +02:00
Christian Zimmermann
871a9be383 first index mapping application works 2017-03-28 17:55:12 +02:00
Christian Zimmermann
83a712a772 finished first draft of index mapping (TO BE TESTED AND REFACTORED) 2017-03-27 19:29:51 +02:00
Christian Zimmermann
6f6de5be87 further development of functional array and index mapping 2017-03-27 11:33:40 +02:00
Christian Zimmermann
6126188ed0 start implementing map and functional array 2017-03-26 16:55:52 +02:00
Christian Zimmermann
344ae475ae some clean ups 2017-03-26 13:29:28 +02:00
Christian Zimmermann
a77d58d946 added single range specialization 2017-03-24 15:05:02 +01:00
Christian Zimmermann
6439542968 updating sub indices should be faster now 2017-03-24 13:42:40 +01:00
Christian Zimmermann
5318146710 start refactoring plus functions 2017-03-24 11:32:33 +01:00
Christian Zimmermann
b41f2e9f0f correct some merge error 2017-03-23 21:19:12 +01:00
Christian Zimmermann
8c5ae50ac1 resolve merge conflicts 2017-03-23 21:16:18 +01:00
Christian Zimmermann
2a7dd9aa83 change linkage behavior of contract indices... should be save now 2017-03-23 15:10:56 +01:00
Christian Zimmermann
dc436af07d unit tests work again 2017-03-23 09:54:54 +01:00
Christian Zimmermann
e624667fbb im com 2017-03-22 21:51:54 +01:00
Christian Zimmermann
c9cdb1a430 im com 2017-03-22 11:44:33 +01:00
Christian Zimmermann
91417e9aa0 intermediate commit 2017-03-21 23:31:50 +01:00
Christian Zimmermann
3635cf5091 little change 2017-03-21 19:57:00 +01:00
Christian Zimmermann
062f9619d0 some adds to the last commit 2017-03-21 18:12:24 +01:00
Christian Zimmermann
a3183f5ced add contraction class -> tests work 2017-03-21 15:18:34 +01:00
Christian Zimmermann
7f6762f159 introduce iterators; ATTENTION: MA::begin -> MA::beginIndex and same for MA::end 2017-03-20 18:53:30 +01:00
Christian Zimmermann
cd7c5c6c7b change slice creation procedure -> works so far 2017-03-20 13:26:52 +01:00
Christian Zimmermann
7a02d0f6b8 mutable vs const multi array stuff 2017-03-20 11:21:33 +01:00
Christian Zimmermann
2022d743c6 some awkward hacks reg const stuff... should refactor this 2017-03-16 22:42:55 +01:00
Christian Zimmermann
ed53e4b3c7 some fixes, introduce const operation classes for conistency reasons 2017-03-16 19:30:43 +01:00
Christian Zimmermann
0066cfef54 further corrections -> first application compiles 2017-03-15 22:54:48 +01:00
Christian Zimmermann
0eb0f21031 some fixes/corrections... 2017-03-14 23:00:41 +01:00
Christian Zimmermann
1c55afd55f some improvements... certainly further ones are possible 2017-03-13 19:04:24 +01:00
Christian Zimmermann
5492521c76 intermediate commit; start to refactor index linkage routines 2017-03-13 16:24:00 +01:00
Christian Zimmermann
50985caf62 some changes reg index org 2017-03-13 11:06:44 +01:00
Christian Zimmermann
d3dbdbb865 minor changes + some extensions 2017-03-09 19:59:11 +01:00
Christian Zimmermann
63eb7d0505 implement operator+= ... 2017-03-08 22:53:18 +01:00
Christian Zimmermann
a6c860a352 add some range transformation routines 2017-03-08 20:10:11 +01:00
Christian Zimmermann
5f4931757d add manipulator 2017-03-07 23:14:57 +01:00
Christian Zimmermann
6164b58cd0 add meta position access (compiles, untested) 2017-03-03 17:51:42 +01:00
Christian Zimmermann
d5c8ec7c9d some minor extensions + add some first range transform code 2017-03-02 19:27:46 +01:00
Christian Zimmermann
2fa89e75e3 some standard index / range definitions 2017-03-01 18:25:26 +01:00
Christian Zimmermann
51dcbe7b92 clean up some parts of the code 2017-03-01 10:41:29 +01:00
Christian Zimmermann
27ddea16f6 Slice works... fix the 'major bug' 2017-02-28 19:29:52 +01:00
Christian Zimmermann
2c12332abb start correcting compile errors regarding Slice (still linker error existent) 2017-02-28 11:27:23 +01:00
Christian Zimmermann
f489d165ab continue Slice implementations 2017-02-27 17:00:51 +01:00
Christian Zimmermann
685023b09c some minor changes 2017-02-27 11:23:40 +01:00
Christian Zimmermann
d1363c3c3d restructure MultiArray inheritance 2017-02-26 18:14:58 +01:00
Christian Zimmermann
d2d038fd5b bug fixed 2017-02-26 14:00:47 +01:00
Christian Zimmermann
7965ea25fe continuation of last master commit 2017-02-24 20:50:58 +01:00
Christian Zimmermann
8be4df211a issue: cannot perform multiple operation line -> start repairing this 2017-02-24 15:08:42 +01:00
Christian Zimmermann
71f7a1aa4d solved the memory problem, but I dont know how exactly this works... 2017-02-23 20:19:05 +01:00
Christian Zimmermann
6eb53111bb start implementing class Slice 2017-02-23 19:33:46 +01:00
Christian Zimmermann
db4ad28f02 first operation test works -- yaygit add * there are some memory issues (deletion of index ptr) 2017-02-22 19:06:23 +01:00
Christian Zimmermann
b3f7dad655 3d reordering tests work (still not refactored) 2017-02-22 14:10:16 +01:00
Christian Zimmermann
678db24003 reordering test works but refactoring neccessary 2017-02-22 13:34:32 +01:00
Christian Zimmermann
1cc96663a4 some debug attempts 2017-02-22 00:43:38 +01:00
Christian Zimmermann
07febad83a start testing operation routines: some open issues... 2017-02-21 21:47:40 +01:00
Christian Zimmermann
876dc58918 OneDim and TwoDim - Tests work 2017-02-21 17:41:48 +01:00
Christian Zimmermann
68612646fb fix compile errors -> seg fault :) 2017-02-20 19:14:22 +01:00
Christian Zimmermann
00c6cf49d5 intermediate commit; does not compile... 2017-02-20 17:18:53 +01:00
Christian Zimmermann
887547d5e1 some fixes -> first unit test compiles and runs successfully 2017-02-17 18:10:03 +01:00
Christian Zimmermann
5f02dcb177 small fixes + index naming 2017-02-16 16:06:23 +01:00
Christian Zimmermann
c04863f93f reorganize source files 2017-02-16 13:12:20 +01:00
Christian Zimmermann
45bc1686c9 reorganize headers 2017-02-16 11:20:40 +01:00
Christian Zimmermann
0cf90292c3 finished first operation stuff 2017-02-16 10:36:02 +01:00
Christian Zimmermann
f94f758c16 almost finished operation templates 2017-02-15 22:39:36 +01:00
Christian Zimmermann
211c731273 operation classes 2017-02-15 19:40:44 +01:00
Christian Zimmermann
d4f8402f29 index linkage 2017-02-15 11:26:47 +01:00
Christian Zimmermann
3363671d35 further development 2017-02-14 18:03:42 +01:00
Christian Zimmermann
5a369fb08a intermediate commit 2017-02-13 16:42:22 +01:00
Christian Zimmermann
2d5d7770b0 intermediate commit 2017-02-03 14:01:15 +01:00
Christian Zimmermann
d269a28a53 initial commit 2017-02-02 18:58:32 +01:00