Helper functions

Requires ArrayFire Pro. More...

Create dense matrix from sparse matrix

Parameters
[in]sparseSparse matrix generated by ArrayFire
Returns
dense matrix
AFAPI array dense (array sparse)
 

Parameters
[in]spThe sparse matrix
[in]formatThe required output format
[out]IThe row indices
[out]JThe column indices
[out]ValThe non zero values
AFAPI afError where (array &I, array &J, array &Val, array sp, af_sparse_t format=af_coo)
 

Detailed Description

Requires ArrayFire Pro.

Function Documentation

AFAPI array af::dense ( array  sparse)
AFAPI afError af::where ( array &  I,
array &  J,
array &  Val,
array  sp,
af_sparse_t  format = af_coo 
)