Hi Arijit,

 > I just wonder whether there is a way to sum or mean a matrix row or
> columnwise.
>
> e.g. say I have a matrix A(m,n)
>
> Is there any function like a matlab for summing columnwise such that I
> get a vector of size B(m) e.g. B = sum(A,2);
>
> or A row vector of size n e.g. C(n) such that C = sum(A,1);
>
>
> I read in a discussion that there was a plan to implement that in
> viennacl 1.6.2 but I could not find any clear example.
> It would be great if someone please help me out.

the functionality is partially implemented, but not yet complete. See 
this related ticket:
https://github.com/viennacl/viennacl-dev/issues/127

In the meanwhile you would have to resort to your own kernels for this - 
or wait for the 1.7.0 release in June.

Best regards,
Karli

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
ViennaCL-support mailing list
ViennaCL-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-support

Reply via email to