MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / InnerProductC

Method InnerProductC

linalg/multivector.cpp:382–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380 }
381
382 Matrix<Complex> MultiVector ::
383 InnerProductC (const MultiVector & y, bool conjugate) const
384 {
385 static Timer t("MultiVector::InnerProductC");
386 RegionTimer reg(t);
387
388 Matrix<Complex> res(y.Size(), Size());
389 for (int i = 0; i < Size(); i++)
390 for (int j = 0; j < y.Size(); j++)
391 res(j,i) = vecs[i]->InnerProductC(*y[j], conjugate);
392 return res;
393 }
394
395
396 Matrix<> MultiVector ::

Callers

nothing calls this directly

Calls 6

InnerProductCFunction · 0.85
SizeFunction · 0.70
SizeMethod · 0.45
CreateVectorMethod · 0.45
CalcComponentMethod · 0.45
RowMethod · 0.45

Tested by

no test coverage detected