Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
\( f(x) =\begin{cases} \mathrm{true\ if}\ |x| > 10^{100}\\ \mathrm{false\ else} \end{cases}\) More...
Public Member Functions | |
bool | operator() (T x) |
\( f(x) =\begin{cases} \mathrm{true\ if}\ |x| > 10^{100}\\ \mathrm{false\ else} \end{cases}\)
Also return true if x
is NaN
or Inf
. The intention is to use this in the reduce function to debug code if you get an error message of Inf or Nan from the dot
function
|
inline |