|
Ublas : |
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2007-11-24 10:09:20
Am Donnerstag, 22. November 2007 09:58 schrieb Andreas Zilian:
> A possible way to circumvent works:
>
> ublas::matrix_row<matrix<double>> tmp (my_mat, 0);
> ublas::subrange( tmp, 0, 8 ) += my_vec;
>
> but I was wondering about performance issues on that solution.
This is actually the most convenient way ... Alternatively you can try
to create a
matrix_vector_range
directly. Please refer to doc & matrix_proxy.hpp for more details.
mfg
Gunter