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

Method FVComplex

linalg/basevector.cpp:364–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362
363 template<>
364 FlatVector<Complex> S_BaseVector<Complex> :: FVComplex () const
365 {
366 FlatVector<Complex> fv = FVScal();
367 return FlatVector<Complex> (fv.Size() * sizeof(Complex)/sizeof(Complex),
368 reinterpret_cast<Complex*> (fv.Addr(0)));
369 }
370
371
372 template<> double S_BaseVector<double> :: InnerProductD (const BaseVector & v2) const

Callers

nothing calls this directly

Calls 3

FVScalFunction · 0.85
AddrMethod · 0.80
SizeMethod · 0.45

Tested by

no test coverage detected