MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / isInf

Function isInf

src/api/cpp/unary.cpp:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77// isinf and isnan are defined by C++.
78// Thus we need a difference nomenclature.
79array isInf(const array &in) {
80 af_array out = 0;
81 AF_THROW(af_isinf(&out, in.get()));
82 return array(out);
83}
84
85array isNaN(const array &in) {
86 af_array out = 0;

Callers 3

TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls 2

arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected