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

Function nroot

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

Source from the content-addressed store, hash-verified

499 }
500
501 LinFloatExpr
502 nroot(const LinFloatExpr& e, int exp) {
503 using namespace MiniModel;
504 ArithNonLinFloatExpr* ae =
505 new ArithNonLinFloatExpr(ArithNonLinFloatExpr::ANLFE_NROOT,1,exp);
506 ae->a[0] = e;
507 return LinFloatExpr(ae);
508 }
509
510#ifdef GECODE_HAS_MPFR
511

Callers 1

postFunction · 0.70

Calls 1

LinFloatExprClass · 0.85

Tested by

no test coverage detected