Boost logo

Ublas :

Subject: Re: [ublas] When I can not use two prec_prod's?
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2008-10-20 18:29:28


Am Montag, 20. Oktober 2008 23:59 schrieb Peng Yu:
> prec_prod(m, mx_type(prec_prod(m, m)))
>
> Since we always need such temporary, can it be generated without
> writing 'mx_type' explicitly, so that the syntax can be cleaner.
>

you can also use

typedef matrix<double> temp_matrix_type;
...
prec_prod(m, prec_prod<temp_matrix_type>(m, m)))

but this is not much better ...

mfg
Gunter