ge_p2

ge means group element.

Here the group is the set of pairs (x,y) of field elements (see fe.h) satisfying -x^2 + y^2 = 1 + d x^2y^2 where d = -121665/121666.

Representations: ge_p2 (projective): (X:Y:Z) satisfying x=X/Z, y=Y/Z ge_p3 (extended): (X:Y:Z:T) satisfying x=X/Z, y=Y/Z, XY=ZT ge_p1p1 (completed): ((X:Z),(Y:T)) satisfying x=X/Z, y=Y/T ge_precomp (Duif): (y+x,y-x,2dxy) ge_p2 (projective): (X:Y:Z) satisfying x=X/Z, y=Y/Z

Constructors

this
this(fe x, fe y, fe z)
Undocumented in source.

Members

Functions

dbl
ge_p1p1 dbl()

Properties

toBytes
ubyte[32] toBytes [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

X
fe X;
Undocumented in source.
Y
fe Y;
Undocumented in source.
Z
fe Z;
Undocumented in source.
zero
enum ge_p2 zero;
Undocumented in source.

Meta