Boost logo

Glas :

Re: [glas] norms and inner products for vectors of matrices

From: Wolfgang Bangerth (bangerth_at_[hidden])
Date: 2006-01-17 14:51:25


> How should trans(v)*w be interpreted?
> * result is a vector<double> which is the sum: sum_i v[i]*w[i] ?
> * result is a vector<double> with element i being: trans(v)*w[i] ?

I don't think there is a universal interpretation of what that expression
should mean, so simply don't implement it. If someone wants to attach a
particular meaning to it, they can always overload operators in their
application programs.

W.

-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth_at_[hidden]
                                 www: http://www.math.tamu.edu/~bangerth/