| 163 | |
| 164 | template <typename T = double> |
| 165 | inline Matrix<T> InnerProduct (const MultiVector & v1, const MultiVector & v2, bool conjugate = false) |
| 166 | { |
| 167 | if constexpr (is_same<T,double>::value) |
| 168 | return v1.InnerProductD(v2); |
| 169 | else |
| 170 | return v1.InnerProductC(v2, conjugate); |
| 171 | } |
| 172 | |
| 173 | |
| 174 |
nothing calls this directly
no test coverage detected