add default parameters for InnerStride/OuterStride to be

able to simply write OuterStride<> instead of OuterStride<Dynamic>
This commit is contained in:
Gael Guennebaud
2010-06-25 14:48:16 +02:00
parent 4056db01e7
commit ec07c4109d
3 changed files with 11 additions and 8 deletions

View File

@@ -57,7 +57,9 @@
*
* Here's an example of mapping an array while specifying an outer stride. Here, since we're mapping
* as a column-major matrix, 'outer stride' means the pointer increment between two consecutive columns.
* Here, we're specifying the outer stride as a runtime parameter.
* Here, we're specifying the outer stride as a runtime parameter. Note that here \c OuterStride<> is
* a short version of \c OuterStride<Dynamic> because the default template parameter of OuterStride
* is \c Dynamic
* \include Map_outer_stride.cpp
* Output: \verbinclude Map_outer_stride.out
*