Hierarchy

  • GF256Poly

Index

Constructors

constructor

Properties

_coefficients

_coefficients: number[]

_field

_field: GF256

Methods

addOrSubtract

divide

evaluateAt

  • evaluateAt(a: number): number
  • Parameters

    • a: number

    Returns number

getCoefficient

  • getCoefficient(degree: number): number
  • Parameters

    • degree: number

    Returns number

getCoefficients

  • getCoefficients(): number[]
  • Returns number[]

getDegree

  • getDegree(): number
  • Returns number

isZero

  • isZero(): boolean
  • Returns boolean

multiply

multiply1

  • Parameters

    • scalar: number

    Returns GF256Poly

multiplyByMonomial

  • multiplyByMonomial(degree: number, coefficient: number): GF256Poly
  • Parameters

    • degree: number
    • coefficient: number

    Returns GF256Poly

Generated using TypeDoc