Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coin-or/CppAD
/ BoolFun
Function
BoolFun
example/general/bool_fun.cpp:50–60 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
49
}
50
bool BoolFun(void)
51
{ bool ok = true;
52
53
CppAD::AD<Complex> x = Complex(1., 0.);
54
CppAD::AD<Complex> y = Complex(1., 1.);
55
56
ok &= IsReal(x);
57
ok &= ! AbsGeq(x, y);
58
59
return ok;
60
}
61
62
// END C++
Callers
nothing calls this directly
Calls
2
IsReal
Function · 0.85
AbsGeq
Function · 0.70
Tested by
no test coverage detected