Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GfP2

Index

Constructors

constructor

Properties

Private x

x: GfP

Private y

y: GfP

Static Private ONE

ONE: GfP2 = new GfP2(0, 1)

Static Private ZERO

ZERO: GfP2 = new GfP2(0, 0)

Methods

add

conjugate

equals

  • equals(o: any): boolean
  • Parameters

    • o: any

    Returns boolean

    true when both are equal, false otherwise

getX

getY

invert

isOne

  • isOne(): boolean

isZero

  • isZero(): boolean

mul

mulScalar

mulXi

negative

square

sub

toString

  • toString(): string

Static one

Static zero

Generated using TypeDoc