PureMonicPolynomial

 

__init__(self, terms: dict, prefactor=1, canonicalize=True): 

 

@property
shape(self): 

 

as_dense(self): 

 

shift(self, shift) -> McUtils.Zachary.Polynomials.DensePolynomial: 

 

@classmethod
monomial(cls, idx, value=1): 

 

@classmethod
key_hash(cls, monomial_tuple): 

 

@classmethod
canonical_key(cls, monomial_tuple): 

 

direct_multiproduct(self, other, key_value_generator): 

 

direct_product(self, other, key_func=None, mul=None): 

 

rebuild(self, new_terms, prefactor=None, canonicalize=None): 

 

filter(self, keys, mode='match'): 

 

__mul__(self, other): 

Feedback

Examples

Templates

Documentation