Skip to main content

binary_encode

class BinaryModel

BinaryModel(coeff: 'dict[tuple[int, ...], float]', constant: 'float')

normalize (self, factor) -> -


class SubstitutedExpression

SubstitutedExpression(coeff: 'dict[tuple[int, ...], float]', constant: 'float', order: 'int')

add (self, other) -> -

from_serializable (data) -> -

is_constant (self) -> -

mul (self, other) -> -

power (self, exponent) -> -

to_serializable (self) -> -


binary_multiply_reduction (coeff) -> -


subs_ir_to_binary (subs_ir, encoder) -> -