|
Ublas : |
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2007-03-17 15:12:21
Hugo Duncan schrieb:
> For a column major matrix, I believe the major size is the number of
> columns, so the leading dimension should be the minor size. The debugger
> leads me to confirm these beliefs. But I get thoroughly confused by major
> and minor sizes, so I would not be too categoric in stating this.
>
In any case is the leading dimension the minor size. It is defined as
the number of consecutive elements that form a row (row major) or column
(column major). So I vote for size_m() as leading dimension.
BTW: major size is outer loop, minor size is inner loop
mfg
Gunter