Represents a monomial in the ring R<t,x,y,z> or any other variables specified

Hierarchy

  • Monomial

Constructors

  • Parameters

    • coef: number | Fraction = 0

      Leader coefficient

    • exp: Float64Array = ...

      Exponent

    • vars: string[] = ...

    Returns Monomial

Properties

coef: Fraction
exp: Float64Array
vars: string[]

Methods

  • Checks if this monomial divides m, this is, its exponent has every component smaller than m

    Parameters

    Returns boolean

  • Checks if this monomial and m have the same coefficient value

    Parameters

    Returns boolean

  • Checks if this monomial and m have the same exponent value

    Parameters

    Returns boolean

  • Coefficient of the monomial

    Returns Fraction

  • Exponent of the monomial

    Returns Float64Array

  • Variables of the ideal to which the monomial belongs

    Returns string[]

  • Insert new variables before the existing ones to the ring and updates the exponent

    Parameters

    • newVars: string[]

      variables to add

    • pos: number = 0

    Returns void

  • Checks if the monomial is equivalent to 1

    Returns boolean

  • Checks if the monomial is equivalent to 0

    Returns boolean

  • Push new variables to the ring and updates the exponent

    Parameters

    • newVars: string[]

      variables to add

    Returns void

  • Remove variables of the ring and updates the exponent

    Parameters

    • oldVars: string[]

      variables to remove

    Returns void

  • Parameters

    • coef: number | Fraction

      New coeficient of the monomial

    Returns void

  • Parameters

    • exp: Float64Array

      New exponent for the monomial

    Returns void

  • String representation of this monomial

    Parameters

    • showProductChar: boolean = false

    Returns string

Generated using TypeDoc