Quantcast
Channel: Intel® Software - Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 3005

mkl_sparse_?_syprd implementation in python

$
0
0

Hallo,

I would like to use mkl_sparse_z_syprd in python
https://software.intel.com/en-us/mkl-developer-reference-c-mkl-sparse-syprd

In comparison with the older functions which require indices and data of a sparse matrix, this one requires "Handle containing a sparse matrix in the internal data structure". The Handle could be created with mkl_sparse_?_create_csr
https://software.intel.com/en-us/mkl-developer-reference-c-mkl-sparse-cr...

but it by itself has an empty Holder sparse_matrix_t *A as a parameter. 

Are there any examples of how to implement this operation in python? Particularly how to create an empty sparse matrix holder. A good example of how to use mkl in python is given here
https://software.intel.com/en-us/articles/using-intel-mkl-in-your-python...

Thanks

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 3005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>