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

Method IsComplex

ngstd/evalfunc.cpp:470–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468
469
470 bool EvalFunction :: IsComplex () const
471 {
472 for (int i = 0; i < program.Size(); i++)
473 {
474 EVAL_TOKEN op = program[i].op;
475 if (op == IMAG) return true;
476 }
477 for (int i = 0; i < arguments.Size(); i++)
478 if (arguments[i].argnum != -1 && arguments[i].iscomplex)
479 return true;
480 return false;
481 }
482
483 /*
484 int EvalFunction :: Dimension() const

Callers

nothing calls this directly

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected