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

Function norm

src/api/cpp/lapack.cpp:138–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136INSTANTIATE_DET(double, af_cdouble)
137
138double norm(const array &in, const normType type, const double p,
139 const double q) {
140 double out;
141 AF_THROW(af_norm(&out, in.get(), type, p, q));
142 return out;
143}
144
145bool isLAPACKAvailable() {
146 bool out = false;

Callers

nothing calls this directly

Calls 2

af_normFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected