MCPcopy Create free account
hub / github.com/Rust-API/Rust-API-Bypass-Checker / constant

Method constant

src/analysis/numerical/linear_constraint.rs:41–43  ·  view source on GitHub ↗

Returns the constant term

(&self)

Source from the content-addressed store, hash-verified

39
40 /// Returns the constant term
41 pub fn constant(&self) -> Integer {
42 self.cst.clone()
43 }
44
45 /// Get the coefficient of variable `var`, e.g. for linear expression `3a+4b-5c`,
46 /// the coefficient of variable `a` is 3. If `var` is not found in the expression,

Callers 5

expr2intMethod · 0.80
is_tautologyMethod · 0.80
is_contradictionMethod · 0.80
fmtMethod · 0.80
unary_linear_exprFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected