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

Function quad

src/backend/cpu/kernel/anisotropic_diffusion.hpp:29–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27int index(int x, int y, int stride1) { return y * stride1 + x; }
28
29float quad(float value) { return 1.0f / (1.0f + value); }
30
31float computeGradientBasedUpdate(const float mct, const float NW, const float N,
32 const float NE, const float W, const float C,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected