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

Method InnerProduct

linalg/basevector.cpp:217–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215 }
216
217 void BaseVector :: InnerProduct (const BaseVector & v2, BaseScalar & scal, bool conjugate) const
218 {
219 if (IsComplex() || v2.IsComplex())
220 scal.Set (InnerProductC(v2, conjugate));
221 else
222 scal.Set (InnerProductD(v2));
223 }
224
225
226 /*

Callers

nothing calls this directly

Calls 15

InnerProductCFunction · 0.85
InnerProductDFunction · 0.85
ToStringFunction · 0.85
FVScalFunction · 0.85
FVDoubleFunction · 0.85
FVDoubleMethod · 0.80
IsComplexFunction · 0.70
SizeFunction · 0.70
InnerProductFunction · 0.70
RangeFunction · 0.70
ConjFunction · 0.50
IsComplexMethod · 0.45

Tested by

no test coverage detected