Hi Charles,
no, there is currently no way of extracting a submatrix from a sparse
matrix.
I agree that it is useful in some circumstances to *extract* a
submatrix, but the type system and boilerplate required to fully deal
with things like
prod(matrix_range(A, rows, cols), matrix_range(B, rows, cols));
is outright scary.
Best regards,
Karli
On 06/12/2018 07:24 PM, Charles Determan wrote:
Greetings,
Is there a way to take proxy (i.e. matrix_range) subsets of
compressed_matrix objects?
Currently, when I try to compile the g++ returns an error:
error: no type named 'cpu_value_type' in 'class
viennacl::compressed_matrix<float>'
typedef matrix_base<typename MatrixType::cpu_value_type> base_type;
I want to make sure if I am making a simple mistake or if this is
currently not possible.
Thanks,
Chaz
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel