public bool Hungarian(SpeciesFlow differentiationVariable, Style style)
 {
     return(Monomial.Hungarian(differentiationVariable, this.monomials, style));
 }
 public Polynomial(Monomial monomial)
 {
     this.monomials = Monomial.Singleton(monomial);
 }
 public string Format(Style style)
 {
     return(Monomial.Format(this.monomials, style));
 }
 public static Lst <Monomial> Product(Factor factor, Lst <Monomial> monomials, Style style)
 {
     return(Product(Monomial.Singleton(new Monomial(factor)), monomials, style));
 }
 public static Lst <Monomial> Product(Lst <Monomial> monomials, Lst <Factor> factors, Style style)
 {
     return(Product(monomials, Monomial.Singleton(new Monomial(factors)), style));
 }
 public static Lst <Monomial> Product(Factor factor1, Factor factor2, Style style)
 {
     return(Product(factor1, Monomial.Singleton(new Monomial(factor2)), style));
 }
 public static Lst <Monomial> Product(Flow coefficient, Lst <Monomial> monomials, Style style)
 {
     return(Product(Monomial.Singleton(new Monomial(coefficient, style)), monomials, style));
 }
 public bool SameFactors(Monomial monomial)
 {
     return(Factor.SameFactors(factors, monomial.factors));
 }
 public Monomial Product(Monomial other, Style style)
 {
     return(new Monomial(OpFlow.Op(this.coefficient, "*", other.coefficient), Factor.Product(this.factors, other.factors), style));
 }
Exemple #10
0
 public static Lst <Monomial> Singleton(Monomial m)
 {
     return(Cons(m, nil));
 }