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

Function sparseConvertTo

src/api/cpp/sparse.cpp:44–48  ·  view source on GitHub ↗

NOLINTNEXTLINE(performance-unnecessary-value-param)

Source from the content-addressed store, hash-verified

42
43// NOLINTNEXTLINE(performance-unnecessary-value-param)
44array sparseConvertTo(const array in, const af::storage stype) {
45 af_array out = 0;
46 AF_THROW(af_sparse_convert_to(&out, in.get(), stype));
47 return array(out);
48}
49
50// NOLINTNEXTLINE(performance-unnecessary-value-param)
51array dense(const array sparse) {

Callers 4

sparseConvertTesterFunction · 0.85
sparseArithTesterMulFunction · 0.85
sparseArithTesterDivFunction · 0.85
ARITH_TESTSFunction · 0.85

Calls 3

af_sparse_convert_toFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected