Add Array relational operator docs and FetchContent CMake guide

libeigen/eigen!2329

Closes #2801 and #2793
This commit is contained in:
Pavel Guzenfeld
2026-03-21 01:50:58 +00:00
committed by Rasmus Munk Larsen
parent 9d1e5f3915
commit daecd28cd5
2 changed files with 140 additions and 0 deletions

View File

@@ -471,6 +471,86 @@ This also means that, unless specified, if the function \c std::foo is available
plus \c using <a href="http://en.cppreference.com/w/cpp/numeric/math/isnan">\c std::isnan </a>; \cpp11</td>
<td></td>
</tr>
<tr>
<td class="code">
\anchor cwisetable_less
a \link ArrayBase::operator< operator< \endlink(b); \n
a \link ArrayBase::operator< operator< \endlink(s);
</td>
<td>coefficient-wise less than comparison (\f$ a_i \lt b_i \f$). \n
\c a and \c b can be either an array or scalar.</td>
<td class="code">
a[i] < b[i];
</td>
<td></td>
</tr>
<tr>
<td class="code">
\anchor cwisetable_less_equal
a \link ArrayBase::operator<= operator<= \endlink(b); \n
a \link ArrayBase::operator<= operator<= \endlink(s);
</td>
<td>coefficient-wise less than or equal comparison (\f$ a_i \le b_i \f$). \n
\c a and \c b can be either an array or scalar.</td>
<td class="code">
a[i] <= b[i];
</td>
<td></td>
</tr>
<tr>
<td class="code">
\anchor cwisetable_greater
a \link ArrayBase::operator> operator> \endlink(b); \n
a \link ArrayBase::operator> operator> \endlink(s);
</td>
<td>coefficient-wise greater than comparison (\f$ a_i \gt b_i \f$). \n
\c a and \c b can be either an array or scalar.</td>
<td class="code">
a[i] > b[i];
</td>
<td></td>
</tr>
<tr>
<td class="code">
\anchor cwisetable_greater_equal
a \link ArrayBase::operator>= operator>= \endlink(b); \n
a \link ArrayBase::operator>= operator>= \endlink(s);
</td>
<td>coefficient-wise greater than or equal comparison (\f$ a_i \ge b_i \f$). \n
\c a and \c b can be either an array or scalar.</td>
<td class="code">
a[i] >= b[i];
</td>
<td></td>
</tr>
<tr>
<td class="code">
\anchor cwisetable_equal
a \link ArrayBase::operator== operator== \endlink(b); \n
a \link ArrayBase::operator== operator== \endlink(s);
</td>
<td>coefficient-wise equality comparison (\f$ a_i = b_i \f$). \n
\c a and \c b can be either an array or scalar. \n
\warning Performs exact comparison; prefer \c isApprox() for floating-point types.</td>
<td class="code">
a[i] == b[i];
</td>
<td></td>
</tr>
<tr>
<td class="code">
\anchor cwisetable_not_equal
a \link ArrayBase::operator!= operator!= \endlink(b); \n
a \link ArrayBase::operator!= operator!= \endlink(s);
</td>
<td>coefficient-wise not-equal comparison (\f$ a_i \ne b_i \f$). \n
\c a and \c b can be either an array or scalar. \n
\warning Performs exact comparison; prefer \c isApprox() for floating-point types.</td>
<td class="code">
a[i] != b[i];
</td>
<td></td>
</tr>
<tr>
<th colspan="4">Error and gamma functions</th>
</tr>