Options
All
  • Public
  • Public/Protected
  • All
Menu

This class contains utility methods for performing mathematical operations over the Galois Fields. Operations use a given primitive polynomial in calculations.

Throughout this package, elements of the GF are represented as an {@code int} for convenience and speed (but at the cost of memory).

author

Sean Owen

author

David Olivier

Hierarchy

Index

Properties

Protected expTable

expTable: Int32Array

Protected logTable

logTable: Int32Array

Methods

Abstract buildMonomial

  • buildMonomial(degree: number, coefficient: number): any

Abstract equals

  • equals(o: Object): boolean

exp

  • exp(a: number): number

Abstract getZero

  • getZero(): any

Abstract inverse

  • inverse(a: number): number

log

  • log(a: number): number

Abstract multiply

  • multiply(a: number, b: number): number

Static addOrSubtract

  • addOrSubtract(a: number, b: number): number

Generated using TypeDoc