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

Function dense

src/api/cpp/sparse.cpp:51–55  ·  view source on GitHub ↗

NOLINTNEXTLINE(performance-unnecessary-value-param)

Source from the content-addressed store, hash-verified

49
50// NOLINTNEXTLINE(performance-unnecessary-value-param)
51array dense(const array sparse) {
52 af_array out = 0;
53 AF_THROW(af_sparse_to_dense(&out, sparse.get()));
54 return array(out);
55}
56
57void sparseGetInfo(
58 array& values, array& rowIdx, array& colIdx, storage& stype,

Callers 5

convertCSRFunction · 0.85
convertCSCFunction · 0.85
TESTFunction · 0.85
TYPED_TESTFunction · 0.85
ARITH_TESTSFunction · 0.85

Calls 3

af_sparse_to_denseFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected