@celo/utils"node_modules/bls12377js/src/g2"G2

Class: G2

Hierarchy

  • G2

Implements

Index

Methods

Methods

add

add(p2: G2): G2

Defined in node_modules/bls12377js/src/g2.ts:26

Parameters:

Name Type
p2 G2

Returns: G2


dbl

dbl(): G2

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g2.ts:33

Returns: G2


equals

equals(p2: G2): boolean

Defined in node_modules/bls12377js/src/g2.ts:56

Parameters:

Name Type
p2 G2

Returns: boolean


negate

negate(): G2

Defined in node_modules/bls12377js/src/g2.ts:48

Returns: G2


scalarMult

scalarMult(s: BigInteger): G2

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g2.ts:40

Parameters:

Name Type
s BigInteger

Returns: G2


toAffine

toAffine(): G2

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g2.ts:60

Returns: G2


toString

toString(base?: undefined | number): string

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g2.ts:78

Parameters:

Name Type
base? undefined | number

Returns: string


x

x(): F2

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g2.ts:66

Returns: F2


y

y(): F2

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g2.ts:70

Returns: F2


z

z(): F2

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g2.ts:74

Returns: F2


Static fromElements

fromElements(x: F2, y: F2): G2

Defined in node_modules/bls12377js/src/g2.ts:20

Parameters:

Name Type
x F2
y F2

Returns: G2