Detailed Description
handler for Gaussian error function expressions
Definition in file expr_erf.h.
#include "scip/scip.h"
Go to the source code of this file.
Functions | |
SCIP_RETCODE | SCIPincludeExprhdlrErf (SCIP *scip) |
Gaussian error function expression | |
This expression handler provides the Gaussian error function, that is \[ x \mapsto \frac{2}{\sqrt{\pi}}\int_0^x \exp(-t^2) dt. \]
| |
SCIP_RETCODE | SCIPcreateExprErf (SCIP *scip, SCIP_EXPR **expr, SCIP_EXPR *child, SCIP_DECL_EXPR_OWNERCREATE((*ownercreate)), void *ownercreatedata) |
SCIP_Bool | SCIPisExprErf (SCIP *scip, SCIP_EXPR *expr) |
Function Documentation
◆ SCIPcreateExprErf()
SCIP_RETCODE SCIPcreateExprErf | ( | SCIP * | scip, |
SCIP_EXPR ** | expr, | ||
SCIP_EXPR * | child, | ||
SCIP_DECL_EXPR_OWNERCREATE((*ownercreate)) | , | ||
void * | ownercreatedata | ||
) |
creates an erf expression
- Attention
- The implementation of
erf
expressions is incomplete. They are not usable for most use cases so far.
- Parameters
-
scip SCIP data structure expr pointer where to store expression child child expression ownercreatedata data to pass to ownercreate
Definition at line 248 of file expr_erf.c.
References EXPRHDLR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPABORT, SCIPcreateExpr(), SCIPerrorMessage, and SCIPfindExprhdlr().
Referenced by readExpression(), and SCIP_DECL_EXPRPARSE().
◆ SCIPisExprErf()
indicates whether expression is of erf-type
- Parameters
-
scip SCIP data structure expr expression
Definition at line 276 of file expr_erf.c.
References EXPRHDLR_NAME, NULL, SCIPexprGetHdlr(), and SCIPexprhdlrGetName().
◆ SCIPincludeExprhdlrErf()
SCIP_RETCODE SCIPincludeExprhdlrErf | ( | SCIP * | scip | ) |
creates the handler for erf expressions and includes it into SCIP
- Attention
- The implementation of this expression handler is incomplete. It is not usable for most use cases so far.
- Parameters
-
scip SCIP data structure
Definition at line 291 of file expr_erf.c.
References EXPRHDLR_DESC, EXPRHDLR_NAME, EXPRHDLR_PRECEDENCE, NULL, SCIP_CALL, SCIP_OKAY, SCIPexprhdlrSetCopyFreeHdlr(), SCIPexprhdlrSetCurvature(), SCIPexprhdlrSetDiff(), SCIPexprhdlrSetHash(), SCIPexprhdlrSetIntegrality(), SCIPexprhdlrSetIntEval(), SCIPexprhdlrSetMonotonicity(), SCIPexprhdlrSetParse(), SCIPexprhdlrSetSimplify(), and SCIPincludeExprhdlr().
Referenced by SCIP_DECL_EXPRCOPYHDLR().