Added an automatically generated list of selected examples in the documentation.

Added the custom gemetry_module tag, and use it.
This commit is contained in:
Gael Guennebaud
2008-07-19 20:36:41 +00:00
parent 05ad083467
commit 6e2c53e056
19 changed files with 87 additions and 15 deletions

View File

@@ -261,6 +261,8 @@ Derived& MatrixBase<Derived>::setConstant(const Scalar& value)
* it is redundant to pass \a rows and \a cols as arguments, so zero() should be used
* instead.
*
* \addexample Zero \label How to take get a zero matrix
*
* Example: \include MatrixBase_zero_int_int.cpp
* Output: \verbinclude MatrixBase_zero_int_int.out
*
@@ -356,6 +358,8 @@ Derived& MatrixBase<Derived>::setZero()
* it is redundant to pass \a rows and \a cols as arguments, so ones() should be used
* instead.
*
* \addexample One \label How to get a matrix with all coefficients equal one
*
* Example: \include MatrixBase_ones_int_int.cpp
* Output: \verbinclude MatrixBase_ones_int_int.out
*
@@ -446,6 +450,8 @@ Derived& MatrixBase<Derived>::setOnes()
* This variant is meant to be used for dynamic-size matrix types. For fixed-size types,
* it is redundant to pass \a rows and \a cols as arguments, so identity() should be used
* instead.
*
* \addexample Identity \label How to get an identity matrix
*
* Example: \include MatrixBase_identity_int_int.cpp
* Output: \verbinclude MatrixBase_identity_int_int.out