Changes between Initial Version and Version 1 of Ticket #3464, comment 7
- Timestamp:
- 2015-09-18T08:05:33Z (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified Ticket #3464, comment 7
initial v1 13 13 This should read (at least): 14 14 {{{#!C++ 15 static double arr_data[] [] = {{1,2,3,4},{5,6,7,8}};15 static double arr_data[] = {1,2,3,4, 5,6,7,8}; 16 16 StatArrayDim2<double,2,4> arr; 17 17 assignRowMajorData(arr_data, arr); … … 19 19 One can imagine a further improvement with: 20 20 {{{#!C++ 21 static double arr_data[] [] = {{1,5}, {2,6}, {3,7}, {4,8}};21 static double arr_data[] = {1,5, 2,6, 3,7, 4,8}; 22 22 StatArrayDim2<double,2,4, true> arr(arr_data); 23 23 }}}