MCPcopy Create free account
hub / github.com/BinomialLLC/basis_universal / component_max

Method component_max

example_transcoding/utils.h:1355–1361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1353 }
1354
1355 static inline vec component_max(const vec& a, const vec& b)
1356 {
1357 vec ret;
1358 for (uint32_t i = 0; i < N; i++)
1359 ret.m_s[i] = std::max(a.m_s[i], b.m_s[i]);
1360 return ret;
1361 }
1362
1363 static inline vec component_min(const vec& a, const vec& b)
1364 {

Callers

nothing calls this directly

Calls 1

maxFunction · 0.50

Tested by

no test coverage detected