MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / operator -

Function operator -

fem/code_generation.cpp:311–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309
310 std::vector<string> CCode::expressions;
311 CCode operator -(int val, const CCode &c) { return CCode(1.0*val)-c; }
312 CCode operator *(int val, const CCode &c) { return CCode(1.0*val)*c; }
313 CCode operator -(double val, const CCode &c) { return CCode(val)-c; }
314 CCode operator *(double val, const CCode &c) { return CCode(val)*c; }

Callers

nothing calls this directly

Calls 1

CCodeClass · 0.85

Tested by

no test coverage detected