MCPcopy Create free account
hub / github.com/numpy/numpy / comp_name

Function comp_name

numpy/core/src/umath/string_ufuncs.cpp:117–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115};
116
117static char const *
118comp_name(COMP comp) {
119 switch(comp) {
120 case COMP::EQ: return "equal";
121 case COMP::NE: return "not_equal";
122 case COMP::LT: return "less";
123 case COMP::LE: return "less_equal";
124 case COMP::GT: return "greater";
125 case COMP::GE: return "greater_equal";
126 default:
127 assert(0);
128 return nullptr;
129 }
130}
131
132
133template <bool rstrip, COMP comp, typename character>

Callers 1

operator()Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected