On 08/04/2015 08:21 AM, Sumit Kumar wrote:
> Hi Karl
> Based on all your suggestions,
> I came up with this implementation:
>
>// Copy Sparse Eigen matrices to Dense viennacl matrices
>typedef Eigen::Matrix Eigen::RowMajor> RMMatrix;
>viennacl::matrix
> vcl_A(source->rows(),
Hi KarlBased on all your suggestions,I came up with this implementation:
// Copy Sparse Eigen matrices to Dense viennacl matrices typedef
Eigen::Matrix
RMMatrix; viennacl::matrix
vcl_A(source->rows(), source->cols()); viennacl::copy(RMMatrix(*source),
vcl_A); viennacl: