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

Method is_constant

src/analysis/numerical/linear_constraint.rs:36–38  ·  view source on GitHub ↗

Test if the expression only has the constant term

(&self)

Source from the content-addressed store, hash-verified

34impl LinearExpression {
35 /// Test if the expression only has the constant term
36 pub fn is_constant(&self) -> bool {
37 self.cof_map.is_empty()
38 }
39
40 /// Returns the constant term
41 pub fn constant(&self) -> Integer {

Callers 2

is_tautologyMethod · 0.80
is_contradictionMethod · 0.80

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected