ArrayBase::sign: add unit test and fix doc

This commit is contained in:
Gael Guennebaud
2015-11-27 16:27:53 +01:00
parent da46b1ed54
commit 3f32f5ec22
2 changed files with 9 additions and 2 deletions

View File

@@ -141,8 +141,7 @@ sqrt() const
/** \returns an expression of the coefficient-wise signum of *this.
*
* This function computes the coefficient-wise signum. The function MatrixBase::sign() in the
* unsupported module MatrixFunctions computes the matrix square root.
* This function computes the coefficient-wise signum.
*
* Example: \include Cwise_sign.cpp
* Output: \verbinclude Cwise_sign.out