diff options
author | 2008-05-22 16:31:00 +0000 | |
---|---|---|
committer | 2008-05-22 16:31:00 +0000 | |
commit | 8f1fc80a77551b26c05669527534aff7b621b86c (patch) | |
tree | 145a82470e1193e7c25492925f10dcbe34221dd6 /Eigen/src/Core/CwiseBinaryOp.h | |
parent | 94e1629a1b64e384281514b3c11e4c74ca31a622 (diff) |
some documentation fixes (Cwise* and Cholesky)
Diffstat (limited to 'Eigen/src/Core/CwiseBinaryOp.h')
-rw-r--r-- | Eigen/src/Core/CwiseBinaryOp.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Eigen/src/Core/CwiseBinaryOp.h b/Eigen/src/Core/CwiseBinaryOp.h index 70b90fbdb..3142a7885 100644 --- a/Eigen/src/Core/CwiseBinaryOp.h +++ b/Eigen/src/Core/CwiseBinaryOp.h @@ -41,10 +41,7 @@ * However, if you want to write a function returning such an expression, you * will need to use this class. * - * Here is an example illustrating this: - * \include class_CwiseBinaryOp.cpp - * - * \sa class ei_scalar_product_op, class ei_scalar_quotient_op + * \sa MatrixBase::cwise(const MatrixBase<OtherDerived> &,const CustomBinaryOp &) const, class CwiseUnaryOp, class CwiseNullaryOp */ template<typename BinaryOp, typename Lhs, typename Rhs> struct ei_traits<CwiseBinaryOp<BinaryOp, Lhs, Rhs> > @@ -220,6 +217,10 @@ MatrixBase<Derived>::cwiseMax(const MatrixBase<OtherDerived> &other) const * The template parameter \a CustomBinaryOp is the type of the functor * of the custom operator (see class CwiseBinaryOp for an example) * + * Here is an example illustrating the use of custom functors: + * \include class_CwiseBinaryOp.cpp + * Output: \verbinclude class_CwiseBinaryOp.out + * * \sa class CwiseBinaryOp, MatrixBase::operator+, MatrixBase::operator-, MatrixBase::cwiseProduct, MatrixBase::cwiseQuotient */ template<typename Derived> |