MCPcopy Create free account
hub / github.com/Gecode/gecode / sqr

Function sqr

gecode/minimodel/float-arith.cpp:474–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472 }
473
474 LinFloatExpr
475 sqr(const LinFloatExpr& e) {
476 using namespace MiniModel;
477 ArithNonLinFloatExpr* ae =
478 new ArithNonLinFloatExpr(ArithNonLinFloatExpr::ANLFE_SQR,1);
479 ae->a[0] = e;
480 return LinFloatExpr(ae);
481 }
482
483 LinFloatExpr
484 sqrt(const LinFloatExpr& e) {

Callers 1

postFunction · 0.70

Calls 1

LinFloatExprClass · 0.85

Tested by

no test coverage detected