|
Ublas : |
From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2006-09-29 09:32:09
I understand that the idea of 'distance_j(1,num_rows,num_cols)' is to
return the distance in memory between two elements at the same row in
adjacent columns. Is that correct?
I ask because I expected column_major::distance_j to be implemented as
return size_i!=0 ? k * size_i : 0 ;
instead of
return size_i!=0 ? k / size_i : 0 ;
toon