Combine sparseCast and cast functions into one
Combine sparseCast and cast functions into one

munnybearz/arrayfire,umar456/arrayfire,umar456/arrayfire,shehzan10/arrayfire,9prady9/arrayfire,munnybearz/arrayfire,munnybearz/arrayfire,shehzan10/arrayfire,umar456/arrayfire,arrayfire/arrayfire,9prady9/arrayfire,9prady9/arrayfire,9prady9/arrayfire,arrayfire/arrayfire,umar456/arrayfire,arrayfire/arrayfire,arrayfire/arrayfire,shehzan10/arrayfire,shehzan10/arrayfire