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

Function GetReal

linalg/umfpackinverse.cpp:22–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include "umfpackinverse.hpp"
21
22template<typename T> double GetReal( const T& x ) { return x.real(); }
23template<> double GetReal( const double& x ) { return x; }
24
25template<typename T> double GetImag( const T& x ) { return x.imag(); }

Callers 2

MultMethod · 0.85
MultTransMethod · 0.85

Calls 1

realMethod · 0.45

Tested by

no test coverage detected