#353 Semantics of FieldVector::operator*
Metadata
| Property | Value |
|---|---|
| Reported by | Martin Weiser (weiser@zib.de) |
| Reported at | Feb 22, 2008 10:45 |
| Type | Bug Report |
| Version | Git (pre2.4) [autotools] |
| Operating System | Unspecified / All |
| Last edited by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
| Last edited at | Nov 15, 2008 18:16 |
| Closed by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
| Closed at | Nov 15, 2008 18:16 |
| Closed in version | Unknown |
| Resolution | Fixed |
| Comment |
Description
The documentation of FieldVector<K,n>::operator*(FieldVector<K,n> const&) const says it computes the scalar product, which, from the mathematical point of view, should be x^H y rather than x^T y as implemented. Of course both variants are useful, but in any case the documentation should leave no doubt which version is actually computed.