mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fixes #2735: Component-wise cbrt
This commit is contained in:
committed by
Charles Schlosser
parent
48b254a4bc
commit
5de0f2f89e
@@ -170,6 +170,19 @@ This also means that, unless specified, if the function \c std::foo is available
|
||||
sqrt(a[i]);</td>
|
||||
<td>SSE2, AVX (f,d)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="code">
|
||||
\anchor cwisetable_cbrt
|
||||
a.\link ArrayBase::cbrt cbrt\endlink(); \n
|
||||
\link Eigen::cbrt cbrt\endlink(a);\n
|
||||
m.\link MatrixBase::cwiseCbrt cwiseCbrt\endlink();
|
||||
</td>
|
||||
<td>computes cube root (\f$ \cbrt a_i \f$)</td>
|
||||
<td class="code">
|
||||
using <a href="http://en.cppreference.com/w/cpp/numeric/math/cbrt">std::cbrt</a>; \n
|
||||
cbrt(a[i]);</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="code">
|
||||
\anchor cwisetable_rsqrt
|
||||
|
||||
Reference in New Issue
Block a user