Olivier Parcollet
a730f093d6
arrays: fix fold and update documentation
...
- fold was not correct in e.g. passing an int as init instead of a
double (was leading to narrowing in return).
- better return type deduction.
- there was an error in the doc (order of argument in the lambda !)
- add a more complex example (Frobenius norm of matrices).
2014-04-09 21:24:03 +02:00
Olivier Parcollet
d7cf223994
arrays: clean cache, add traits ...
...
- also add simple c14 helpers ....
2013-11-18 23:41:32 +01:00
Olivier Parcollet
c06e183ae5
arrays : revised version of map & fold
...
- also cleaned a bit reinterpretview example
2013-09-11 18:39:25 +02:00
Olivier Parcollet
3b29e9bf9d
arrays : renaming concept name
...
CuboidArray <-> Array
added make_cuboid_domain
2013-08-29 18:06:04 +02:00
Olivier Parcollet
f78e6baf9e
code cleaning
...
- TRIQS_MODEL_CONCEPT renamed : clearer for doc
- index_value_type : remove, useless...
2013-08-27 13:43:58 +02:00
Olivier Parcollet
072b45ac1c
arrays: Remove dim0, dim1, .shape in various matrix object.
...
Not in the concept, not needed, just an annoyance.
replaced by free functions :
first_dim(A), second_dim(A), get_shape(A) and so on...
2013-08-27 13:43:58 +02:00
Olivier Parcollet
f2c7d449cc
First commit : triqs libs version 1.0 alpha1
...
for earlier commits, see TRIQS0.x repository.
2013-07-17 19:24:07 +02:00