# TMatrix left-handside multiplication

**URL:** <https://root-forum.cern.ch/t/tmatrix-left-handside-multiplication/55594>\
**Category:** ROOT\
**Created:** [July 8, 2023, 3:41am UTC](https://root-forum.cern.ch/t/tmatrix-left-handside-multiplication/55594 "2023-07-08T03:41:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![meyerma](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/meyerma/32/29724_2.png) [@meyerma](https://root-forum.cern.ch/u/meyerma)\
**Post date:** [July 8, 2023, 5:41am UTC](https://root-forum.cern.ch/t/tmatrix-left-handside-multiplication/55594/2 "2023-07-08T05:41:05Z")

</div>

This is not what I want to do, because my vectors are differents.  
But for the records… this might be useful for someone else. Naming doesn’t sound obvious.

```auto
TMatrixT<Element>
[...]
Element Similarity (const TVectorT< Element > &v) const
 	Calculate scalar v * (*this) * v^T.
[..]

```

NB: It seems complex algebra might not be supported yet. [Fail to compile TMatrixT\<TComplex\>](https://root-forum.cern.ch/t/fail-to-compile-tmatrixt-tcomplex/48232) @moneta Were there some progress in this regards ?

---

_[View the full topic](https://root-forum.cern.ch/t/tmatrix-left-handside-multiplication/55594)._
