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

Function convolve

src/api/cpp/convolve.cpp:20–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace af {
19
20array convolve(const array &signal, const array &filter, const convMode mode,
21 convDomain domain) {
22 unsigned sN = signal.numdims();
23 unsigned fN = filter.numdims();
24
25 switch (std::min(sN, fN)) {
26 case 1: return convolve1(signal, filter, mode, domain);
27 case 2: return convolve2(signal, filter, mode, domain);
28 default:
29 case 3: return convolve3(signal, filter, mode, domain);
30 }
31}
32
33array convolve(const array &col_filter, const array &row_filter,
34 const array &signal, const convMode mode) {

Callers 1

filterFunction · 0.70

Calls 8

convolve1Function · 0.85
convolve3Function · 0.85
numdimsMethod · 0.80
minFunction · 0.70
convolve2Function · 0.70
af_convolve2_sepFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected