Merge pull request #505 from sloriot/Sqrt_extension-document_one_more_constructor

document explicit constructor
This commit is contained in:
Sebastien Loriot 2015-12-01 22:20:52 +01:00
commit ada65a0531
1 changed files with 7 additions and 0 deletions

View File

@ -133,6 +133,13 @@ Introduces a variable `ext` initialized with \f$ x\f$.
*/
Sqrt_extension (const NT &x);
/*!
Introduces a variable `ext` initialized with \f$ x\f$.
\pre NT must constructible from NTX
*/
template <class NTX>
explicit Sqrt_extension(const NTX& x);
/*!
Constructor from int: `ext`\f$ = a0 +a1 \cdot sqrt(r)\f$. \pre \f$ r \neq0\f$
*/