Changeset 896 for library/bdm/stat/discrete.cpp
- Timestamp:
- 04/09/10 09:31:37 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/stat/discrete.cpp
r766 r896 41 41 for ( int j = 0; j < dim; j++ ) { 42 42 ind += dim_skips * ( inds ( j ) ); // add shift in linear index caused by this dimension 43 dim_skips *= gridsizes ( j ); // ind eces in the next dimension are repeated with period gridsizes(j) times greater that in this dimesion43 dim_skips *= gridsizes ( j ); // indices in the next dimension are repeated with period gridsizes(j) times greater that in this dimesion 44 44 } 45 45 return ind;