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

Function createArrayDataSparseArray

src/backend/common/SparseArray.cpp:153–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151
152template<typename T>
153SparseArray<T> createArrayDataSparseArray(
154 const af::dim4 &_dims, const Array<T> &_values, const Array<int> &_rowIdx,
155 const Array<int> &_colIdx, const af::storage _storage, const bool _copy) {
156 return SparseArray<T>(_dims, _values, _rowIdx, _colIdx, _storage, _copy);
157}
158
159template<typename T>
160SparseArray<T> copySparseArray(const SparseArray<T> &other) {

Callers 3

arithOpFunction · 0.85
arithOpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected