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

Function sq

src/backend/cpu/homography.cpp:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39template<typename T>
40T sq(T a) {
41 return a * a;
42}
43
44#define APTR(Y, X) (A_ptr[(Y)*Adims[0] + (X)])
45

Callers 2

computeHomographyFunction · 0.70
findBestHomographyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected