Returns a dense array from a sparse input. More...

Functions

AFAPI array dense (const array sparse)
 
AFAPI af_err af_sparse_to_dense (af_array *out, const af_array sparse)
 

Detailed Description

Returns a dense array from a sparse input.

Converts the sparse matrix into a dense matrix and returns it


Function Documentation

§ af_sparse_to_dense()

AFAPI af_err af_sparse_to_dense ( af_array out,
const af_array  sparse 
)
Parameters
[out]outdense af_array from sparse
[in]sparseis the source sparse matrix
Returns
AF_SUCCESS if the execution completes properly

§ dense()

AFAPI array af::dense ( const array  sparse)
Parameters
[in]sparseis the source sparse matrix
Returns
dense af::array from sparse