Sure enough, don't know how I overlooked that :)

Thanks,
Charles

On Wed, Aug 12, 2015 at 12:56 PM, <[email protected]> wrote:

> Hi,
>
> you are looking for outer_prod:
>
>
> http://viennacl.sourceforge.net/doc/manual-operations.html#manual-operations-blas2
>
> :-)
>
> Best regards,
> Karli
>
>
>
> Quoting Charles Determan <[email protected]>:
>
> Is there a way to get the outer product of two viennacl::vector objects
>> where the output would be a new viennacl::matrix?  The use of inner_prod
>> is
>> simple enough and naturally I assumed I would use prod.hpp.  But my code
>> errors out with:
>>
>> vcl_C = viennacl::linalg::prod(vcl_A, vcl_B);
>>
>>
>> no match for ‘operator=’ (operand types are ‘viennacl::matrix<double,
>> viennacl::row_major>’ and ‘viennacl::vector_expression<const
>> viennacl::vector<double>, const viennacl::vector_base<double>,
>> viennacl::op_prod>’)
>>
>> Is there another way to accomplish this?
>>
>> Regards,
>> Charles
>>
>
>
>
>
------------------------------------------------------------------------------
_______________________________________________
ViennaCL-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to