Hi Charles,

this is currently not implemented. I thought about gather/scatter 
routines such that you can extract arbitrary patterns from a matrix, but 
this is (again) not yet available.

Best regards,
Karli


On 08/18/2015 09:13 PM, Charles Determan wrote:
> I have read in the documentation that I can use viennacl::range  or
> viennacl::slice to subset a matrix.  However, is there a way to subset a
> matrix with indices that aren't in a patter?
>
> Lets say I have a matrix with dimensions 10x10 and I want to subset the
> 1,2,5,8, and 9 columns so the resulting matrix would be 10x5.  Is there
> a way to accomplish this with a viennacl::matrix?
>
> Regards,
> Charles
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> ViennaCL-devel mailing list
> ViennaCL-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/viennacl-devel
>


------------------------------------------------------------------------------
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to