// // Created by anapt on 18/1/2018. // // compute kernel matrix // // apply function to non zero elements of a sparse matrix // for (int i=0; i