Boost logo

Ublas :

From: Markus Weimer (markus.weimer_at_[hidden])
Date: 2007-06-12 00:06:14


Hi,
I have some legacy code that computes the inner product between two
row-major matrices by treating them as long vectors and applying a vector
inner product to these vectors. I guess getting a vector-view onto a matrix
is not possible in uBLAS. Thus, I want to compute the inner product between
two matrices as follows:

v = tr(A*B)

However, I cannot find the trace operation in the documentation. Does that
mean that there is no trace in uBLAS?

Thanks in advance,

Markus