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

Function createValueArray

src/backend/cpu/Array.cpp:230–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228
229template<typename T>
230Array<T> createValueArray(const dim4 &dims, const T &value) {
231 return createNodeArray<T>(dims, make_shared<jit::ScalarNode<T>>(value));
232}
233
234template<typename T>
235Array<T> createEmptyArray(const dim4 &dims) {

Callers 12

resizeFunction · 0.70
reshapeFunction · 0.70
floodFillFunction · 0.70
regionsFunction · 0.70
gaussianKernelFunction · 0.50
landweberFunction · 0.50
denominatorFunction · 0.50
invDeconvFunction · 0.50
thresholdFunction · 0.50
convRangeFunction · 0.50
ccHelperFunction · 0.50
morph<char>Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected